Q : Procedure or function '' expects parameter '', which was not supplied.
A:
Below proc throwing the exception if you pass null from ado.net to the stored procedure parameters
alter PROCEDURE [dbo].SP_UpdateHomePageContentDetails
@VideoLink varchar(65) ,
@VideoLinkDescription varchar(65) ,
@P_ReturnValue varchar(50) output
AS
BEGIN
Solution for the above problem is passing null to the parameters as a default value
alter PROCEDURE [dbo].SP_UpdateHomePageContentDetails
@VideoLink varchar(65) = null,
@VideoLinkDescription varchar(65) = null,
@P_ReturnValue varchar(50) output
AS
BEGIN
Solution for the QlikView, Biztalk, DotNet and MSBI real time development problems
Search This Blog
Thursday, July 28, 2011
Procedure or function '' expects parameter '', which was not supplied. exception in sql server while passing parameters from asp.net
Labels:
Sql Server
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Use below code to get the IP of your website users: <%@ Page Language="C#" %> <html xmlns="http://www.w3.org/199...
-
Use below code to raise messages from javascript and code behind. .ASPX <%@ Page Language="C#" AutoEventWireup="true...
-
.Net Integration with Bill Desk Payment Gateway Introduction: Now-a-days online shopping websites has become very popular, and to h...
-
. Following code is useful to delete duplicate records. The table must have identity column, which will be used to identify the duplicate re...
-
QlikView Interview Questions (QlikView FAQ'S) - Part 1 76. What is the difference between ODBC, OLE DB & JDBC? o ODBC...
No comments:
Post a Comment