Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

swapnil7090

@swapnil7090
About
Posts
3
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to reset application state or recall Application_Start
    S swapnil7090

    Hii.. I Am working on Client Tracking Application(asp.net 4.0 and c sharp),In Which we kept Function FnFillDropDown() In Global.asax file and called this function on Application_start event inside Global.asax. FnFillDropdown: this fn basically use to fill dropdown of country, city, common paramter , states names etc. As this function is kept in global.asax file,when we add new country or state we have to manually reset the iis using iisreset command. Our site is hosted on local network But we are going to host our site on web very soon . for that reason we need a quick solution to reset applicatoin state or tell us how do we call FnFillDrowpDown() Method from Code Behind My Code is

    public class Global : System.Web.HttpApplication
    {
    private void FnFillDrowpDown()
    {
    Application.Clear();

      BODropDown objBODropDown = new BODropDown();
      DADropDown objDADropDown = new DADropDown();
      DataTable dtList = new DataTable();
      
      objBODropDown.EntityKey = DDLEntityKey.REG\_COUNTRY;
      dtList = objDADropDown.GetValueList(objBODropDown);
      this.Application.Add(DDLEntityKey.REG\_COUNTRY,dtList); 
      
      }
    
      public void Application\_Start(object sender, EventArgs e)
      {
       FnFillDrowpDown();
      }     
    

    }

    I have also Tried to call this method using object of class Global but its throws Object Reference not Set.. Error as Application State coming out null.. Please suggest me any solution for this problem as i am new for asp.net Thanks...

    ASP.NET csharp help asp-net sysadmin windows-admin

  • What is the best way to store product specification in database
    S swapnil7090

    hello i am working on Project called Inventory Management System for Hardware shop and i play developer role. Now The database has category table which is consist of many categories such as Motherboard , Ram , Processor and so on. Now the question is what is best way to store specification in database because every category has its own specification , I Have Two Way :- either by creating different table for each specification of Category or create single table for all specification of Every Category. i am confuse between this two.which one is best and faster. Thanks in advance.. :)

    Design and Architecture question database hardware

  • How do i create an object of partial class in user control
    S swapnil7090

    i am creating an asp.net application in which i have UploadImage.aspx page and user control how would i create an object of Partial class UploadImage.cs in usercontrol.cs Thanks for any help you might be able to provide with this problem, :)

    C# help csharp asp-net question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups