[C#] Restart Problem
#20

A simple question :

 

I make atm a Feature to Bann Player with C# and MySql but i got one Problem.

I need to Read out with the player name the a_index.

 

Also : From a_name to know the a_index.

 

With this is not Working :

 

UPDATE `newproject_db`.`t_characters` SET `a_enable` = 0 WHERE `t_characters`.`a_Name` =Tast; // Thats for Bann with Name

 

And i started with this :

string PlayerId = maskedTextBox1.Text;
string Index = "SELECT * FROM `t_characters` a_index WHERE `a_name` = Niko "; // And how can i Include the string PlayerID ?

But it Always say Unkown Column -.-

I dont know what more i should do tryied so much things .

 

2

 

Only wanna to bann the Player with the Name not with Index..^^ GN8 hope tommorow i got some answers^^



Messages In This Thread
[No subject] - by Nikolee - 04-27-2012, 09:50 PM
[No subject] - by Nikolee - 04-27-2012, 10:20 PM
[No subject] - by HateMe - 04-28-2012, 12:03 PM
[No subject] - by Nikolee - 04-28-2012, 01:07 PM
[No subject] - by HateMe - 04-28-2012, 01:28 PM
[No subject] - by Nikolee - 04-28-2012, 04:36 PM
[No subject] - by Nikolee - 04-28-2012, 07:55 PM
[No subject] - by HateMe - 04-28-2012, 10:38 PM
[No subject] - by Nikolee - 05-01-2012, 10:09 PM
[No subject] - by HateMe - 05-01-2012, 11:06 PM
[No subject] - by Nikolee - 05-02-2012, 10:54 AM
[No subject] - by Nikolee - 05-03-2012, 01:24 PM
[No subject] - by someone - 05-03-2012, 11:35 PM
[No subject] - by HateMe - 05-04-2012, 12:00 AM
[No subject] - by Nikolee - 05-05-2012, 11:47 AM
[No subject] - by someone - 05-05-2012, 12:26 PM
[No subject] - by HateMe - 05-05-2012, 12:30 PM
[No subject] - by Nikolee - 05-05-2012, 12:37 PM
[No subject] - by HateMe - 05-05-2012, 01:11 PM
[No subject] - by Nikolee - 05-05-2012, 10:57 PM
[No subject] - by someone - 05-05-2012, 11:37 PM
[No subject] - by Nikolee - 05-06-2012, 04:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)