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?