|
-
Jan 19th, 2003, 09:29 PM
#1
Thread Starter
Hyperactive Member
Save
I have tried this code to save records in C#.NET.
//Save
DataRow row = dataSet11.Student.NewStudentRow;
row.ItemArray(0) = textBox1.Text;
row.ItemArray(1) = textBox2.Text;
row.ItemArray(2) = textBox3.Text;
row.ItemArray(3) = textBox4.Text;
dataSet11.Student.AddStudentRow;
dataSet11.AcceptChanges;
But it doesn't work.
Any solution to this problem?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|