Click here to Skip to main content
16,018,264 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Frds...My name is Bhaumik Panchal...

Can any body help me to write update query in ADO DOT NET(C#)...

i am using this kind of Query...But it gives Error..

string query = "update pub_i set pub_name =/"TextBox2.Text/", pub_city =/"TextBox3.Text/", pubcountry=/"TextBox4.Text/" where pub_no =" + TextBox1.Text;


Can you suggest me what should i do?
Posted

1 solution

go through this link



Simple ADO.NET Database Read, Insert, Update and Delete using C#.[^]





Do vote if answer is helpful :rose::rose: :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900