Question databinding question - standards

madgoose

Member
Joined
Aug 20, 2009
Messages
5
Programming Experience
10+
I've read this thread which led to some confusion.
http://www.vbdotnetforums.com/database-general-discussion/35888-textbox-databinding-better.html

I have a series of text boxes, and a datagridview. The user will click on the item they choose to view which will populate the text boxes. datagridview is populated from mssql.

should I bind the textboxes to facilitate editing and new records? There could be no records, or many depending on the need for each table.

The goal is to apply the proper solution and learn. I know I can write the sql statements out to handle edit, or new (insert into...). I'm not clear on the proper standard.
 
Yes, you should bind

Follw the DW3 link in my signature, reading the Creating a Simple Data Application one. After you do, this will make sense:
Expand the data sources window, drag a grid to the form. Change the type to details and drag to the form again. Run the project (that's it! you're done coding!)
 
Back
Top