471,337 Members | 887 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

ado.net apllication

hi i m mohsin............
i made a application in ado.net using c# at front end and sql server
2005 at back end..........
i apply 4 text boxes in the apllication and bind it to the service
_maintenance table in sql derver........
there are 4buttons also naming add, save,delete and
update..............
first three buttons are joing properly but now i want that if i change
any value in the text boxes
and click on update the value wil get save in sql server 2005.....
can u plz provide me the code for doing so............
Aug 24 '08 #1
1 1134
On Sun, 24 Aug 2008 01:29:09 -0700, mo/-/sin wrote:
and click on update the value wil get save in sql server 2005.....
can u plz provide me the code for doing so............
var BindingSourcesQuery =
from Component bindingSources in this.components.Components
where bindingSources is BindingSource
select bindingSources;

foreach (BindingSource bindingSource in BindingSourcesQuery)
{
bindingSource.EndEdit();
}
tableAdapterManager.UpdateAll(myDataset);
Aug 24 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by David | last post: by
1 post views Thread by samrat | last post: by
reply views Thread by Sateesh Kumar E C | last post: by
8 posts views Thread by Glenn Thimmes | last post: by
7 posts views Thread by Bill | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.