W
William Newsom
for the life of my my dataset cannot save to the text column of the sql
server i keep getting this error
"String or binary data would be truncated."
The sql column is datatype of "text" to capture a multined textbox that is
in HTML
I ha sql code like this
Me.SqlUpdateCommand1.CommandText = "[LenderFinancialUpdateCommand]"
Me.SqlUpdateCommand1.CommandType = System.Data.CommandType.StoredProcedure
Me.SqlUpdateCommand1.Connection = Me.SqlConnection1
Me.SqlUpdateCommand1.Parameters.Add(New
System.Data.SqlClient.SqlParameter("@Fees", System.Data.SqlDbType.Int, 4,
"Fees"))
Me.SqlUpdateCommand1.Parameters.Add(New
System.Data.SqlClient.SqlParameter("@Interest",
System.Data.SqlDbType.VarChar, 10, "Interest"))
Me.SqlUpdateCommand1.Parameters.Add(New
System.Data.SqlClient.SqlParameter("@Stips", System.Data.SqlDbType.VarChar,
2147483647, "Stips"))
Me.SqlUpdateCommand1.Parameters.Add(New
System.Data.SqlClient.SqlParameter("@Amount", System.Data.SqlDbType.VarChar,
10, "Amount"))
Me.SqlUpdateCommand1.Parameters.Add(New
System.Data.SqlClient.SqlParameter("@FK_LID", System.Data.SqlDbType.Int, 4,
"FK_LID"))
'SqlDeleteCommand1
i have tried dropping the datatype reference from the parameters.add to no
avail
William
server i keep getting this error
"String or binary data would be truncated."
The sql column is datatype of "text" to capture a multined textbox that is
in HTML
I ha sql code like this
Me.SqlUpdateCommand1.CommandText = "[LenderFinancialUpdateCommand]"
Me.SqlUpdateCommand1.CommandType = System.Data.CommandType.StoredProcedure
Me.SqlUpdateCommand1.Connection = Me.SqlConnection1
Me.SqlUpdateCommand1.Parameters.Add(New
System.Data.SqlClient.SqlParameter("@Fees", System.Data.SqlDbType.Int, 4,
"Fees"))
Me.SqlUpdateCommand1.Parameters.Add(New
System.Data.SqlClient.SqlParameter("@Interest",
System.Data.SqlDbType.VarChar, 10, "Interest"))
Me.SqlUpdateCommand1.Parameters.Add(New
System.Data.SqlClient.SqlParameter("@Stips", System.Data.SqlDbType.VarChar,
2147483647, "Stips"))
Me.SqlUpdateCommand1.Parameters.Add(New
System.Data.SqlClient.SqlParameter("@Amount", System.Data.SqlDbType.VarChar,
10, "Amount"))
Me.SqlUpdateCommand1.Parameters.Add(New
System.Data.SqlClient.SqlParameter("@FK_LID", System.Data.SqlDbType.Int, 4,
"FK_LID"))
'SqlDeleteCommand1
i have tried dropping the datatype reference from the parameters.add to no
avail
William