error in sentence mysql
#5

string Query = "DELETE FROM " + DataBase.Text + ".t_quest WHERE a_index = " + QuestID.Text + ";";

 

that should mostly work

 

 

 

 

And for the variables i would load them in a public static string when the first form i loaded. Then u can acces them by Form1."variable" so u dont need 4 textboxes in every Form who are invisible to load the db settings



Messages In This Thread
[No subject] - by ucaff - 05-14-2015, 03:47 AM
[No subject] - by Wizatek - 05-14-2015, 10:31 AM
[No subject] - by ucaff - 05-14-2015, 03:37 PM
[No subject] - by Wizatek - 05-14-2015, 04:08 PM
[No subject] - by ZaTii - 05-14-2015, 04:10 PM
[No subject] - by ucaff - 05-14-2015, 04:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)