Stored Procedure result in Aspx page
-
Hi, How can i get my Stored procedure result in Aspx page.I have one strode procedure to insert records,if record is existed in the data base with same ID,then i need to show a message like 'Record all ready existed'.
Vasvai
-
Hi, How can i get my Stored procedure result in Aspx page.I have one strode procedure to insert records,if record is existed in the data base with same ID,then i need to show a message like 'Record all ready existed'.
Vasvai
You need to add an output parameter and decide upon what value you will return in case if record exists. So you may return some int value to represent that record exists for example - 1000 otherwise, if record does not exists you may return 500. Something like that.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
-
You need to add an output parameter and decide upon what value you will return in case if record exists. So you may return some int value to represent that record exists for example - 1000 otherwise, if record does not exists you may return 500. Something like that.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder