1
Answer

WPF application for insert, update and delete rows to a database - binding

sony peter

sony peter

14y
12.7k
1

I have a WPF application for insert, update and delete rows to a database. I am using LinQ to SQL C# as the code behind. I have applied binding to the textboxes and the datagrid.
Is there a way that I can avoid statements like
cust.FirstName = Textbox1.text;
cust.LastName = Textbox2.text;
by using binding. When I avoid these statements, null values are inserted into the database
 
please help
 
 
Answers (1)