Wednesday, October 22, 2014

how to write insert query in c# .net

Posted by Gnani Palepu  |  No comments

 if you want more related search please click here  
 please help to other  
 http://scriptquery.blogspot.in/  
 SqlConnection mycon = new SqlConnection(strcon);  
 mycon.Open();  
 string strquery = "INSERT INT0 studentDetails values('" + txtName.Text.ToString() + "','" + txtQual.Text.ToString() + "','" + txtAge.Text.ToString() + "','" + txtMobile.Text + "')";  
 SqlCommand cmd = new SqlCommand(strquery, mycon);  
 cmd.ExecuteNonQuery();  
 if you want more related search please click here  
 please help to other  
 http://scriptquery.blogspot.in/  

3:36 AM Share:

0 comments:

Get updates in your email box
Complete the form below, and we'll send you the best coupons.

Deliver via FeedBurner
Proudly Powered by Blogger.
back to top