Deleting, Iserting, Selecting

obicauka

New member
Joined
Jul 23, 2008
Messages
3
Programming Experience
Beginner
Hi guy,
can any one help me with what to do here. i don`t want to use the navgation control. but buttons. i want the buttons to be able to delete, insert, select, using codes or stored procedures.

waiting for your response as usual.......
 
Create a DataAdapter and call its Fill and Update methods as usual. Instead of each Command having a SQL statement in its CommandText, you assign the name of a sproc and set the CommandType property to StoredProcedure.
VB.NET:
Dim adapter As New SqlDataAdapter("GetRecords", connection)

adapter.SelectCommand.CommandType = CommandType.StoredProcedure
Etc.
 
Your question is too wide to provide an effective answer in a reasonable time. Please be more specific
 

Latest posts

Back
Top