JarHead Posted September 26, 2004 Posted September 26, 2004 Ok, very frustrating problem...I am adding a new row to a database, using SQLCommandBuilder to construct the SQL statement for me, but as it does so, its ignoring one of the fields! please help... here the code... objNewRow("Username") = UN objNewRow("Password") = PWD ' <----- IGNORING THIS FIELD objNewRow("FName") = FName objNewRow("LName") = LName objDataTable.Rows.Add(objNewRow) Dim objInsertCommand As New SqlClient.SqlCommandBuilder(objAdapter) objAdapter.InsertCommand = objInsertCommand.GetInsertCommand objAdapter.Update(objDataSet) I have read objAdapter.InsertCommand.CommandText, and there is no password field. Anyone know a way to help? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.