如何使用C#在asp.net中的gridview中检索会话变量 [英] how to retrieve a session variable in gridview in asp.net using C#
问题描述
我已经在我的项目的某些字段中应用了一些会话。例如,在Gmail的情况下,我们可以看到,每次我们登录登录的人的收件箱总是显示出来。我也希望每次从数据库中检索数据(在记录
之后),只显示与指定人员相关的详细信息。用于检索我正在使用gridview的数据
请尽快回复
nalin taneja
我相信这篇文章可能值得一读应该对你有帮助!
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowediting.aspx
i have applied some sessions to some fields in my project.For example as in case of Gmail we can see that that every time we log in the inbox of the person logged in always shows up.i also want that every time data is being retrieved(after being logged in) from a database the details related to the specified person only shows up.For retrieving the data i am using a gridview
Please reply ASAP
nalin taneja
I believe this article may be worth a read and should be helpful to you!
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowediting.aspx
这篇关于如何使用C#在asp.net中的gridview中检索会话变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!