i have a problem for the INSERT part.
i only know how to add data into database...like:
but, i dont know how to use the TextBox insert data to database. What is the codes for the VALUES part? Who know can help me???


i only know how to add data into database...like:
Code:
SqlCommand myCommand = new SqlCommand("Insert into employee(id, name, pass) values(1,John,aaa)", sqlConnection1);
but, i dont know how to use the TextBox insert data to database. What is the codes for the VALUES part? Who know can help me???