× Dikkat! System.Data.SqlClient.SqlException (0x80131904): The parameterized query '(@categoryCode nvarchar(4000))SELECT p.productID, p. productCode' expects the parameter '@categoryCode', which was not supplied. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader() at DatabaseLibrary.executeCommand(String query, Boolean isproc) in D:\Osman\superdeniz\SuperDeniz\CoreLibrary\DatabaseLibrary.cs:line 66 at ProductLibrary.getProductsByCategoryID(String _categoryCode) in D:\Osman\superdeniz\SuperDeniz\Library\ProductLibrary.cs:line 148 at SuperDeniz.Projektorler.populateProducts() in D:\Osman\superdeniz\SuperDeniz\Projektorler.aspx.cs:line 87 at SuperDeniz.Projektorler.Page_Load(Object sender, EventArgs e) in D:\Osman\superdeniz\SuperDeniz\Projektorler.aspx.cs:line 24 ClientConnectionId:2668be1a-1e09-420b-912c-5322ac6f01b7 Error Number:8178,State:1,Class:16
× Tebrikler!