Congratulations to all monthly winners of May 2013 !!! They have won INR 2900 cash and INR 27497 worth prize.
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 49622 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET 4.0 > how to create session object in gridview rowdatabound? ...
Chandru_ra

how to create session object in gridview rowdatabound?

Replies: 1 | Posted by: Chandru_ra on 7/28/2011 | Category: ASP.NET 4.0 Forums | Views: 1463 | Status: [Member] | Points: 10  


Dear all,

am using in gridview rowdatabound how create session object?


Advance Thanks

chandru


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Vuyiswamb
Vuyiswamb  
Posted on: 7/28/2011 2:48:04 PM
Level: NotApplicable | Status: [Member] [MVP] [Administrator] | Points: 25

Creating a Session will always be the same it will not change

Create
Session["MySession"] = "23";




Accees it

int MySessionVal = Convert.Toint32(Session["MySession"] );


Hope this Helps


Thank you for posting at Dotnetfunda
[Administrator]

Chandru_ra, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 6/20/2013 7:58:59 AM