private void resetFormToolStripMenuItem_Click(object sender, EventArgs e) { StudentId.Clear(); StudentName.Clear(); Std.Clear(); Div.Clear(); RollNo.Clear(); Gender.Clear(); Category.Clear(); dob.Clear(); StudentId.Focus(); }
private void StudentList_Load(object sender, EventArgs e) { StudentId.Focus(); LoadDataIntoDataGridView(); }