Datagrid problem

D

DSR

hi, i tried binding the datagrid to the sqldataadapter
object at design time. I included just one line to
populate the grid sqldataadapter1.fill(dataset1). This is
in the click event of a form. The dataset1 object created
using the generate dataset from the Data menu. There is a
runtime error occuring at the code. an unhandled
exception in system.data.dll. Can anyone tell me what
the problem is?
 
P

Prateek

Its difficult to point out the problem here. Can you post the code which you
are using and point out the line which throws the exception?

-Prateek

hi, i tried binding the datagrid to the sqldataadapter
object at design time. I included just one line to
populate the grid sqldataadapter1.fill(dataset1). This is
in the click event of a form. The dataset1 object created
using the generate dataset from the Data menu. There is a
runtime error occuring at the code. an unhandled
exception in system.data.dll. Can anyone tell me what
the problem is?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top