
Hi friends ,
When i try to load data from sql database into datagridview , the system give me the error dialog above , Can any one help me for this . Thanks .



Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VikramPosted Jun 28, 2010, 7:21 AM
It seems to me as Data Type of the columns you defined in DataGridView at the design time are not matching with the DataColumn in the DataSource which you are populating from database in Dataset or DataTable.
Make sure the DataType of the Columns in DatGridView and DataSource Should be same.
Hope this will help you.
Regards,
VIkram