When i click on save Button, Value Disappears from textbox which is calendarextended.
So when execution Reaches CommandStatement, I Find value is Not Present in Textbox..
I Have Only fewLines of Code.
if (db.Insert("insert into JOBCARD values(0,'"+TextBox1.Text+"','"+TextBox2.Text+"','"+TextBox3.Text+"',"+Session["UserID"].ToString()+",(select firmid from FIRM_MASTER where NAME='"+DropDownList4.SelectedItem+"'),'--','false','--',0,0,(select srno from db_users where username='"+DropDownList1.SelectedItem+"'),(select srno from db_users where username='"+DropDownList2.SelectedItem+"'),(select srno from PURPOSE_MASTER where certpurpose='"+DropDownList5.SelectedItem+"'),(select id from CATEGORYMASTER where CATEGORYNAME='"+DropDownList3.SelectedItem+"'),'"+TextBox9.Text+"')"))
{
Label10.Visible = false;
db.filldatasource("SELECT jobid,jobno,jobtitle,jobdate FROM JOBCARD where iscomplete='false'", ref gridview1);
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox9.Text = "";
TextBox1.Focus();
}