Im using Linq to SQL ti bind texboxes data context. If i alter the text in the text boxes and push a button "store" i need the data to be updated in the database as well. How can i do that?
So far I know this works - i create a new variable like:
Persons new_person = new Persons();
new_person.name = txtbox_name.text;
new_person.age = txtbox_name.text;
and so on...
I delete the the person being alterd and then i submit the new person
db.insertonsubmit(new_person);
It should be much easier with two way binding but i do not know the syntax, help me out guys...
text boxes two way binding using linq to sql
Page 1 of 1|
|

New Topic/Question
Reply




MultiQuote


|