Dataset as datasource in Gridview

E

Eric Effer

Hi

I am a vb.net 2005 newbie. I am using a gridview to update and insert data.
The datasource is a dataset. Question: If i update data in the grid is the
dataset updated as well?

thanks

E
 
M

Masudur

If ( you are using DataSet.xsd)
{

yap.... updated data update the dataset....
if(you configured table adapter)
{
in tableadapter you have not unckecked the [generate insert ,
update , delete ] option...
//which is checked by default...
Suppose to update in actual database...
}
else
{
Inserted data remain in dataset....
//unless you manually update data
}

}

Thanks
Masudur
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top