T
Trevor
Hey,
I am trying to do this tutorial on the microsoft site :
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dndotnet/html/usingadonet.asp
I can get everything to work up to the DataAdd part
(Section heading is Adding Rows to a DataSet)
I dont really know what to do after i have added all the
code for the DataAdd() procedure. Other than the DataAdd
() for the button that i want it to use.
I dont know where to put that INSERT SQL Statement or add
the new row to the datatable in the dataset.
Also in that main code of the DataAdd() procedure there
is a line like this:
oBuild = New SqlClient.SqlDataAdapter(oAdapter)
Does anyone know why i get : Value of
type 'System.Data.SqlClient.SqlDataAdapter' cannot be
converted to 'System.Data.SqlClient.SqlCommand'.
???
Any help on this would be much appreciated.
Thank you.
I am trying to do this tutorial on the microsoft site :
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dndotnet/html/usingadonet.asp
I can get everything to work up to the DataAdd part
(Section heading is Adding Rows to a DataSet)
I dont really know what to do after i have added all the
code for the DataAdd() procedure. Other than the DataAdd
() for the button that i want it to use.
I dont know where to put that INSERT SQL Statement or add
the new row to the datatable in the dataset.
Also in that main code of the DataAdd() procedure there
is a line like this:
oBuild = New SqlClient.SqlDataAdapter(oAdapter)
Does anyone know why i get : Value of
type 'System.Data.SqlClient.SqlDataAdapter' cannot be
converted to 'System.Data.SqlClient.SqlCommand'.
???
Any help on this would be much appreciated.
Thank you.