What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 1376 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > use dataset on application level ...
Ermahesh2009

use dataset on application level

Replies: 1 | Posted by: Ermahesh2009 on 6/29/2012 | Category: ASP.NET Forums | Views: 246 | Status: [Member] | Points: 10  


I have a requirement where I need to handle a set of tables with some smaller number of rows. And the chance of these rows getting updated is very low, So I don't want to visit the database now and then. Basically these tables are used to fill drop-downs on every pages.

I am thinking the way where put records in an application level dataset on application load event and use it across the application

Is this is right way to do this or there is some other way/technology where we may fulfill our requirement ?


Reply | Reply with attachment | Alert Moderator

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

 Replies

Jeffie
Jeffie  
Posted on: 6/29/2012 2:47:42 AM
Level: Starter | Status: [Member] | Points: 25

Instead having it in the Application Load Event.
You can implement in the Global.cs with a static method and store that dataset in a session variable which you can access through out the application
for further if you need to modifications you can update that session'

Thanks
http://www.alacraft.com.au/

Ermahesh2009, 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. | 5/21/2013 6:58:37 PM