while updating the data we are getting error as
Bulk insert: The provided columns in the DataTable do not match the column data types in the database.
while updating the data we are getting error as
Bulk insert: The provided columns in the DataTable do not match the column data types in the database.
Can you check the datatype of columns of your DataTable and the ones in DataBase.
Looks like there’s a mismatch of datatype amongst them.
To resolve this issue, you can try the following steps:
Thank you so much for the effort reply sure will do cross check
Ensure that the data types of the columns in your DataTable match the data types of the corresponding columns in the database table. For example, if a column in the database table is of type “varchar(50)”, the corresponding column in the DataTable should also be of type “String” with a maximum length of 50 characters.
Thanks!!