I am attempting to use an SQL 2005 stored procedure that accepts a number of
parameters. I want the parameters to be those that I have defined in the
Dataform webpart. Everytime I specify a parameter, however, the webpart is
unable to render the returned data. I have verified the operation of my
stored procedure and know it to work. The only time I can get the webpart to
work with the stored procedure is if I statically assign the parameters as in
below:
SelectCommand=dbo.sp_LOGONSTATDETAIL '-1','100','*','=','*','=','=',''
SelectCommandType=Text
Changing to
SelectCommand=dbo.sp_LOGONSTATDETAIL
@Param1,@Param2,@Param3,@Param4,@Param5,@Param6,@Param7,@Param8
SelectCommandType=Text
Fails. Changing SelectCommandType to StoredProcedure also fails
How the heck to you get StoredProcedures to work with the DataForm Webpart
in WSS 3.0?