Click here to Skip to main content
15,885,939 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everybody,

I am going to write program with VB.net and use data base (type SQL Server Compact Edition) with connectionless mode by using Data Set , but I have a problem in how to save data (new) from data set into database SDF file (old data). I heard that there is an instruction or method in data set can make that.... i need help.

I used this code to insert data into data set
mydataset.mytableadapter.insert(P1,P2,P3)
mytableadapter.update(mydataset)
Posted
Updated 3-Jan-11 7:49am
v3
Comments
Toniyo Jackson 3-Jan-11 7:34am    
Use pre tag for code.

See the various version of DataAdapter update methods HERE[^].
 
Share this answer
 
Comments
Dalek Dave 3-Jan-11 17:49pm    
Good Link
i see that you're programming using sdf files.
do you know about .sdf files? its use for databases. i am going to make a sdf viewer but i dont know where to start. can you help me?
i need to make a sdf viewer application using vb.net (window-based)
 
Share this answer
 
Comments
[no name] 23-Apr-13 7:06am    
How exactly is this an answer to this question?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900