|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Datatable display help helpNormally when I code I only have to display certain sections of a datatable, like an item or something. So I just store it in a label. So now my problem is. I need to display the entire datatable which could contain the amount of records from 0 - 100. What are people suggestions with displaying all the contents of a datatable. Do I use a table,, a listbox? im not sure what the best methods are. Could someone also give me the code to fill it, for examples sake Dim dt as Datatable Thanx in advance I've decided to use a gridview,,, can anyone tell me how to fill it
with the datatable? Bonzol,
First off you really need to stop double posting your questions. It makes it difficult to follow your progress and to build on other peoples suggestions. But now onto filling you're DataGridView. The easiest way is to just do this: DataGridView1.DataSource = dt Note, the object browser (shortcut is F2) is a great way to browse all the methods, properties and events that an object contains. Almost all contain a summary that says what they do. Thanks, Seth Rowe Bonzol wrote: Show quoteHide quote > I've decided to use a gridview,,, can anyone tell me how to fill it > with the datatable?
API Declarations...just curious.
Creating an array of datarows CDec("") Optimisation for shareware packages SNMP Setting the "Restore Down" Size How to get a KEY from a sorted list (not a VALUE) ?? Suggestions using a datatable? disable restore contorl for mdi child forms Handling file/folder of too long path |
|||||||||||||||||||||||