Changing column name in Mysql using c# asp.net
I want to give the provision of changing the column name and table name in mysql database using c# asp.net. please help.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Javeed M ShaikhRank #839 · 2.7K reputationPosted Jul 12, 2013, 7:50 AM EDT
Vignesh KumarRank #1,579 · 1K reputationPosted Jul 15, 2013, 1:39 AM EDT
Try this
string query = " update orderform set enrolmentexpected = " +
textBox2.Text + ", stockonhand=" + textBox3.Text + ", numberrequired = "
+ textBox4.Text + " where name = '" + textBox1.Text + "';"
or
http://www.ianatkinson.net/computing/mysqlcsharp.htm
Anurag SarkarRank #1,049 · 1.8K reputationPosted Aug 10, 2013, 4:10 AM EDT