Page_Load Execute stored procedure parameters

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
dcxaspmaker
User
Posts: 35

Page_Load Execute stored procedure parameters

Post by dcxaspmaker »

Hello,
before calling a chart, I need to manipulate some data with a stored procedure.
Works fine, but what do the parameters "new" and "{}" (sp_myprocedure needs no parameter).
Thanks for support.

// Page Load event
public void Page_Load() {
int result = Execute("sp_myprocedure",new {}, commandType: CommandType.StoredProcedure);


MichaelG
User
Posts: 1095

Post by MichaelG »


Post Reply