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...
General Discussion
- Caffeine Lounge
- Corner Cubicle
- Student Campus
- Software Development
- Industry News
- Introduce Yourself
- Nightmare.In.Code
Programming Help
- C and C++
- VB.NET
- Java
- C#
- Python
- PHP
- Mobile Development
- ASP.NET
- .NET Framework
- Ruby
- Game Development
- Assembly
- Databases
- ColdFusion
- VB6
- Other Languages
- 52 Weeks Of Code
Web Development
- Web Development
- HTML & CSS
- JavaScript
- Graphic Design
- Flash & ActionScript
- Blogging
- SEO & Advertising
- Web Servers & Hosting
- Site Check
Follow & Share




C# Tutorials
- Intro to Particle Swarm Optimization
- The Observer pattern and Coroutines.
- Simple tutorial: Exploring interfaces.
- Stored Procedure (Input, Output, Return Value)
- 10 Common Programming Mistakes
- Singly-Linked List, A Basic Example
- C# Methods
- Drawing Shapes and Strings
- Quick look at StreamWriting and Uploading using FTP
- Obtaining Database Schema Information
- 262 More C# Tutorials...
Reference Sheets

Code Snippets
- C Snippets
- C++ Snippets
- Java Snippets
- Visual Basic Snippets
- C# Snippets
- VB.NET Snippets
- ASP.NET Snippets
- PHP Snippets
- Python Snippets
- Ruby Snippets
- ColdFusion Snippets
- SQL Snippets
- Assembly Snippets
- Functional Programming Snippets
- Perl Snippets
- HTML/CSS Snippets
- Javascript Snippets
- Flash/ActionScript Snippets
- ASP Snippets
- Linux, Unix, and Bash Snippets
- Other Languages Snippets
- Regex
DIC Chatroom
Bye Bye Ads
