SqlDataAdapter

  • Thread starter Thread starter Dragon
  • Start date Start date
D

Dragon

If I drag and drop Table from Server Explorer into the WebForm, it will
create an DataAdapter
including all the Insert,Update, Delete, Select Statement
but After the Insert and Update Statement, there is a Select statment.
What is the purpose of that Select statement ?
What happen if I remove that ?
 
The select statement is used to refresh the dataset and tell the data
adapter what rows to fetch from the underlying table. If you delete it,
there will be no rows returned.

Regards
Scott Blood
C# Developer
 

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