vb Code:
  1. //Surely this code will work, try this code
  2.             SqlConnection con = new SqlConnection("type your connection string");
  3.             con.Open();
  4.             string qry="insert into tablename(name,age,mobile) values('ravi',25,1234454)";
  5.             SqlCommand cmd = new SqlCommand(qry, con);
  6.             cmd.ExecuteNonQuery();
Please rate if this code is work