private void LoadDesignCourseQuizez() { string semester = Semester.Text.ToString(); string coursename = Course_Name.Text.ToString(); DataTable dt = new DataTable(); dt = IITBAL.FacultyCourses.GetDesignCourseQuizez(SessionId,coursename,semester); int quizez = Convert.ToInt32(dt.Rows[0]["Quizez"].ToString()); for (int i = 1; i <= quizez; i++) { TemplateField tf = new TemplateField(); tf.HeaderText = "Q" + i; GridView1.DataSource = tf; GridView1.DataBind(); } }
gvReportingStockComp.Columns[0].HeaderText = "New Header for First Column";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)