protected void BtnAdd_Click(object sender, EventArgs e) { i = obj.AddCurriculmn(txtdate.Text, txttopic.Text, txtdesc.Text, "Admin", 1, DateTime.Now.ToString()); if (i > 0) { lblmsg.Text = "Data Inserted"; BindData(); ClearFields(); } }