SqlDataAdapter

  • Thread starter Thread starter Analizer1
  • Start date Start date
A

Analizer1

hello

if i have a Existing SqlDataAdapter
how do you Clear it and re-use
or do i just set it to null and create a new
SqlDataAdapter

TIA
analizer1
 
Analizer1 said:
if i have a Existing SqlDataAdapter
how do you Clear it and re-use
or do i just set it to null and create a new
SqlDataAdapter

Basically, the contents of the SqlDataAdapter are four SqlCommands named
SelectCommand, InsertCommand, UpdateCommand and DeleteCommand. If you assign
new SqlCommands to these properties of the SqlDataAdapter, you have
reconfigured it and it can be reused for whatever it is that the new
SqlCommands are configured.
 
thank you much
analizer1

Alberto Poblacion said:
Basically, the contents of the SqlDataAdapter are four SqlCommands named
SelectCommand, InsertCommand, UpdateCommand and DeleteCommand. If you
assign new SqlCommands to these properties of the SqlDataAdapter, you have
reconfigured it and it can be reused for whatever it is that the new
SqlCommands are configured.
 

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

Back
Top