hi!
i want to populate a datagrid with a database table.i have set the properties of data grid at design time i.e. data source and data member...datagrid also shows the preview of the table of how data will be displayed, But when i run the project, datagrid is not populated,no exception and no errors are shown....its a desktop application in C# with Visual Stusio 2008.
im using Dataset Dataset gets populated, as in the if condition ihave tried to show a label and that is shown...so im nt getting, what type of error it might be or what else to do?
Populating datagrid with a database table in Visual Studio2008
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Mar 15, 2010, 5:04 PM EDT
It is likely that something that you are assuming is not what you assume, so if so, verify assumptions. Be methodical in doing that.
Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 15, 2010, 9:03 PM EDT
Paste your code of for databinding to datagrid. I can help you....
Hirendra SisodiyaRank #258 · 9.8K reputationPosted Mar 16, 2010, 4:35 AM EDT
Please check also this :
'AllowsUseraddRows' property of DatagridView should be true.
thank you