private void BindGridStd() { DataTable StdDT = ExamMst.GetAllActiveData(); GvStd.DataSource = StdDT; GvStd.DataBind(); }
private void BindExam() { DataTable Mstdt = ExamMst.GetAllActiveData(); drpExam.DataSource = Mstdt; drpExam.DataTextField = "Name"; drpExam.DataValueField = "ExamId"; drpExam.DataBind(); drpExam.Items.Insert(0, "SELECT"); }