Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / DataGrid / January 2007

Tip: Looking for answers? Try searching our database.

Load a DataGrid from code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bruce A. Julseth - 19 Jan 2007 22:10 GMT
I need to load a table with 3 to 9 columns and 1 to 10 rows. I assume the
DataGrid is the best solutions. If not can someone suggest something else.

Assuming it is the right solution, does someone have an example on how to do
it. My "idea" is that I'll have to build a recordset (which I don't know how
to do) and load the datagrid from the recordset..

Thanks for the help..
Michael Tkachev - 20 Jan 2007 05:22 GMT
Use a DataTable for load the datagrid. It's more simple.
OR create the XML file and load it into the DataSet.

Sincerely yours,
Michael B. Tkachev.
m_tkachev@hotmail.com

>I need to load a table with 3 to 9 columns and 1 to 10 rows. I assume the
>DataGrid is the best solutions. If not can someone suggest something else.
[quoted text clipped - 4 lines]
>
> Thanks for the help..
Eliyahu Goldin - 20 Jan 2007 22:48 GMT
What is the source of the data?

Signature

Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin

> I need to load a table with 3 to 9 columns and 1 to 10 rows. I assume the
> DataGrid is the best solutions. If not can someone suggest something else.
[quoted text clipped - 4 lines]
>
> Thanks for the help..
Bruce A. Julseth - 25 Jan 2007 01:15 GMT
>I need to load a table with 3 to 9 columns and 1 to 10 rows. I assume the
>DataGrid is the best solutions. If not can someone suggest something else.
[quoted text clipped - 4 lines]
>
> Thanks for the help..

I changed from a DataGrid to a ListView and, for the most part, I works
great...

Thanks to those who responded.

Bruce

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.