Storing return value of a Stored Proc in a Session
Hi all
I am having stored Procedure which is very well returning value..Now I have to store that value
in session...I saw some examples in msdn lib
string Name=string.Empty;
Session["Raghav"]=Name.ToString();
But in my case return value is ID ...and it has not been declared in C#
code as Name is declared in Above exapmle...bec i am not inserting that ID from front end....
So what will be the C# code to store value returned from SP in a
session?, Looking for further responses...
--Raghav
|