Hi,
i am a beginner :(
i created a dataset using the DataSet designer in VS2005 and connected to my tables.
using this data set i can call methods to add row... it does not provide any exception but i do not see added row in my database. what could be wrong. i am presuming that the dataSet created using the Designer automatically connects to the database.. or i am wrong.
here is exactly what i did:
UserDataSet
ds = new UserDataSet();ds.User.AddUserRow("xxx", "yyy", "zzz", "rrr");
is there anything more that is hould do
best regards,
rnv

DataSet and DataSet Designer
Kitek
The DataSet is disconnected from a database. In fact, you don't have to use the DataSet with a database at all.
The DataAdapter is what serves as a bridge between a DataSet and a database for retrieving and saving data.
I recommend reading the following article on MSDN about SqlDataAdapter:
http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfSystemDataSqlClientSqlDataAdapterClassTopic.asp
It talks about using commands like
adapter.Fill(ds)
and
adapter.Update(ds)
for loading and updating a database with information in a DataSet.
Regards,
Dave