M
Mark
Hi,
I have a little problem with trying to put information
from textBox into SQL database table.
Problem say that employeeId does not exsit but it is a
column in the table
code is
sqlDataAdapter2.InsertCommand.CommandText = "INSERT INTO
employee(" + employeeId
+ " ','"+eFName+"','"+eLName+"','"+ePosition+"','"+ePasswo
rd+") VALUES ('" + int.Parse(userIdTextBox.Text)
+ "', '" + firstNameTextBox.Text + "', '" +
lastNameTextBox.Text + "', '" + positionTextBox.Text
+ "', '" + passwordTextBox.Text + "')";
Can anybody help?
Mark
I have a little problem with trying to put information
from textBox into SQL database table.
Problem say that employeeId does not exsit but it is a
column in the table
code is
sqlDataAdapter2.InsertCommand.CommandText = "INSERT INTO
employee(" + employeeId
+ " ','"+eFName+"','"+eLName+"','"+ePosition+"','"+ePasswo
rd+") VALUES ('" + int.Parse(userIdTextBox.Text)
+ "', '" + firstNameTextBox.Text + "', '" +
lastNameTextBox.Text + "', '" + positionTextBox.Text
+ "', '" + passwordTextBox.Text + "')";
Can anybody help?
Mark