Dataset error
Solved/Closed
ashok
-
Mar 3, 2010 at 05:12 AM
Ambucias Posts 47310 Registration date Monday February 1, 2010 Status Moderator Last seen February 15, 2023 - Sep 28, 2010 at 04:22 PM
Ambucias Posts 47310 Registration date Monday February 1, 2010 Status Moderator Last seen February 15, 2023 - Sep 28, 2010 at 04:22 PM
Related:
- Dataset error
- Network error occurred - Guide
- Cmos checksum error - Guide
- Bios rom checksum error - Guide
- Error code: 230000 ✓ - Internet & Social Networks Forum
- Nvlddmkm.sys error windows 11 - Guide
3 responses
SqlConnection con = new SqlConnection(@"Server=ASHOK\MYSQLSERVER;Database=sample;Trusted_Connectopn=True");
SqlCommand cmd = new SqlCommand("insert into emp values("+this.TextBox1 .Text+",'"+this.TextBox2.Text+"',"+this.TextBox3 .Text +")",con);
con.Open();
DataSet ds = new DataSet();
SqlDataAdapter da = new SqlDataAdapter(cmd);
da.Fill(ds);
con.Close();
SqlCommand cmd = new SqlCommand("insert into emp values("+this.TextBox1 .Text+",'"+this.TextBox2.Text+"',"+this.TextBox3 .Text +")",con);
con.Open();
DataSet ds = new DataSet();
SqlDataAdapter da = new SqlDataAdapter(cmd);
da.Fill(ds);
con.Close();
SqlConnection con = new SqlConnection(@"Server=ASHOK\MYSQLSERVER;Database=sample;Trusted_Connectopn=True");
SqlCommand cmd = new SqlCommand("insert into emp values("+this.TextBox1 .Text+",'"+this.TextBox2.Text+"',"+this.TextBox3 .Text +")",con);
con.Open();
DataSet ds = new DataSet(); //check it out
SqlDataAdapter da = new SqlDataAdapter(cmd); // check it out too
da.Fill(ds);
con.Close();
SqlCommand cmd = new SqlCommand("insert into emp values("+this.TextBox1 .Text+",'"+this.TextBox2.Text+"',"+this.TextBox3 .Text +")",con);
con.Open();
DataSet ds = new DataSet(); //check it out
SqlDataAdapter da = new SqlDataAdapter(cmd); // check it out too
da.Fill(ds);
con.Close();
Ambucias
Posts
47310
Registration date
Monday February 1, 2010
Status
Moderator
Last seen
February 15, 2023
11,162
Sep 28, 2010 at 04:22 PM
Sep 28, 2010 at 04:22 PM
Hello Abdul,
You have posted your solution twice. I guess that you were waining for a reply from the person who posted the question.
Have you noticed that the initial question was posted on March 3, 2010? That is the reason why you did not receive a thank you note.
However, I will thank you for your contribution. I will also have the thread marked as solved. It will remain on the forum for years to come.
If there further questions or gratitude marks, you will receive them here and through your e-mail.
Thank you again for helping
My very best regards
You have posted your solution twice. I guess that you were waining for a reply from the person who posted the question.
Have you noticed that the initial question was posted on March 3, 2010? That is the reason why you did not receive a thank you note.
However, I will thank you for your contribution. I will also have the thread marked as solved. It will remain on the forum for years to come.
If there further questions or gratitude marks, you will receive them here and through your e-mail.
Thank you again for helping
My very best regards