Search

You searched for the word(s): userid:358423

Matching Posts

  • Re: C# Inheritance and interfaces

    Thanks. Nice article. So if you define a variable of the interface type, the advantage is you can assign that variable to any class that implement that interface. For example in your article: IRandomNumberGen Generator; Generator = new RandomNumberCoinFlip(); Response.Write(Generator.GetNextNumber() + "<br />"); Generator = new RandomNumberOuija(); Response.Write(Generator.GetNextNumber() + "<br />"); But if a one of the classes defines a new method, to acess that
    Posted to C# (Forum) by n_m on 10/13/2009
  • Re: C# Inheritance and interfaces

    Thanks!
    Posted to C# (Forum) by n_m on 10/13/2009
  • C# Inheritance and interfaces

    I have a question regarding inheritance and interfaces. I was reviewing some sample code for a data access layer, there is a interface called IDBManager, there is another class called DBManger that implements this interface. When using the DAL, the sample code would define a variable based on the interface type. What is the advantages for declaring a variable of type interface IDBManager versus just DBManager. I dont quite understand why you would do this, if you define any new methods or fields
    Posted to C# (Forum) by n_m on 10/12/2009
    Filed under: <C#>
  • Re: best html to pdf converter tools?

    I would recomment taking a look at asppdf. http://www.asppdf.com/ I recently got if for a generating reports in pdf form and it has worked great for me. I have not done a html to pdf conversion, but according to the website it is a supported function. I use other component software from the company and im very pleased with it. I really like how they have great documentation and sample codes, which really helped speed up development.
    Posted to Component Discussions (Forum) by n_m on 10/10/2008
  • Re: Login Control. Remember Me Not working

    Thanks everyone. I just wanted to followup. After some more research, i found the solution. I noticed that the cookie's were being created, but for some reason the login page would just not redirect. Then i found the following example on some forum, i added to the page_load and now the rememberme checkbox works. If User.Identity.IsAuthenticated = True Then Response.Redirect(Login1.DestinationPageUrl) End If
    Posted to Security (Forum) by n_m on 10/9/2008
  • Re: Login Control. Remember Me Not working

    Thanks.Ill try this. Another question. If the user closes the browser is the login cookie still be preserved? I would like to have it so users can still close the browser and still be able to be auto logged in within a certain amount of time. Thanks
    Posted to Security (Forum) by n_m on 9/26/2008
  • Login Control. Remember Me Not working

    Hi, I created a login page using the login control. I am also using a cusomter membershipprovider, with a new validateuser function that i wrote. However the rememberme checkbox does not seem to work. Do i need to write code to handle if the rememberme checkbox was checked and redirect to the destinationpageurl? I was under the impression that this would work automatically. Any help would be appreciated. Thanks! N
    Posted to Security (Forum) by n_m on 9/25/2008
  • Re: Custom MembershipUser Sample in VB.net

    Any help would be appreciated. Thanks
    Posted to Security (Forum) by n_m on 2/14/2006
  • Custom MembershipUser Sample in VB.net

    Hi, I have been working on a custom membershipuser class. I have my customer membershipProvider setup, but wanted to expand the membershipuser class. Does anyone know of a sample code to get the membershipuser class going. I got some new properties added, but not sure how to get the base construction for membershipuser called and get those properties populated. thanks in advance
    Posted to Security (Forum) by n_m on 2/8/2006
  • VS.net 2005 sln file and web project locations

    Hi, Im working with visual studio.net 2005, and i was wondering why by default the .sln files and web project code are kept in seperate locations. Is there a particular reason and advantage for this? Thanks NM
    Posted to Getting Started (Forum) by n_m on 1/13/2006
Page 1 of 2 (13 items) 1 2 Next >
Microsoft Communities