C#-SQL: Procedure or function SPROC_GET_DBTEXQuality_SearchBatchCardDetails has too many arguments specified.
It occurs when System.Data.SqlClient SqlCommand command.Parameters have more parameter rather than declared in the Stored procedure
Parse String to Date Time: Worked For ME:
string CreatedDateStr = "2018-12-13 11:05:45.313";
DateTime CreateDate = DateTime.Parse( CreatedDateStr );
It occurs when System.Data.SqlClient SqlCommand command.Parameters have more parameter rather than declared in the Stored procedure
Parse String to Date Time: Worked For ME:
string CreatedDateStr = "2018-12-13 11:05:45.313";
DateTime CreateDate = DateTime.Parse( CreatedDateStr );
No comments:
Post a Comment