by Mark
19. February 2009 12:41
There seems to be an issue with using stored procedures in SubSonic that do not have any parameters. As a work around to that bug (or feature)... try this:
SubSonic.StoredProcedure sp = SPs.UspNoParamProc();
//Stored Procedure command Is Null... ensure command is created
string dummy = sp.Command.CommandSql;
rptList.DataSource = sp.GetReader();
rptList.DataBind();
2f156ed6-ef26-4a02-b17e-a1622189b8b3|1|5.0
Category:
Tags: