mrinal kumar

mrinal kumar

  • NA
  • 19
  • 5.3k

how to insert date of birth from asp.net page to sql server 2008

Jul 19 2012 3:49 PM

how to insert date of birth from asp.net page to sql server 2008


i m using


 str="insert into date values('"+TextBox1.Tex)+ "')";
ad=new SqlDataAdapter (str,CT.connect());
dt = new DataTable();
ad.Fill(dt);
 
query in .cs page but it gives error msg..

Answers (1)