开发者

how to store value of session into a variable

Thanks a lot to all for helping me ...

Plz some one tell me .. How to assign value of session into a variable . I have a session which calculates no of rows in gridview . As below

session["cont"] = GridView1.Rows.Count ; Then i开发者_如何学Cn another function ,

I want to store this in Variable K ;


Have you tried:-

int K = (int)Session["cont"];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜