Datagrid view
how i view my updated data of table in datagrid view?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Jon Woff3 reputationPosted Feb 10, 2010, 7:08 PM EST
Because if it is in a Dataset then the Datagrid will update itself as you add or delete items from the dataset.
To link a dataset to a dategrid you would use this command.
DataGrid1.DataSource() = Dataset1.Tables("Table1")
Any changes to Table1 will be shown in the datagrid.
sanjay donda5 reputationPosted Apr 29, 2010, 6:19 AM EDT
can u tell me how can i use datagrid as a data entry source.....
i mean i want to enter the data by using the data grid....
can it b possible??
Michael Sheley4 reputationPosted May 17, 2010, 4:41 AM EDT
If you use the properties of the form and the datagrid you can set it up for read/write, adding and deleting records.
Right click on the grid and select edit columns.
Mike