Search

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

Matching Posts

  • Re: DAL project and connection string issue

    One thing I do for such is to pass the connection string as a variable when instantiating the DAL object. That way you can keep control of the connection string separate from the DAL and then can reuse it as needed. So: MyObjectDAL _objectDAL = new MyObjectDAL(myConnectionString); Then you don't ref it in the app.config, but in the web.config and have the caller pass it... Hope the helps, m
    Posted to Configuration and Deployment (Forum) by papabear on 10/13/2009
  • Re: How to loop through a collection of GridViews with same name

    How about putting them into an UpdatePanel and the using Ajax to hide/display that? Alternately you can use the Accordion control from the AjaxControlToolkit. :)
    Posted to Web Forms (Forum) by papabear on 10/13/2009
  • Re: Passport Authentication

    Basically you can use Passport authentication to allow multiple sites to use the same account. The idea is that then users don't have to remember multiple username/passwords, the Passport service acts as a clearinghouse. :)
    Posted to Security (Forum) by papabear on 10/13/2009
  • Re: SQL Server Injection

    Not as such. The need to protect is up to the programmer. The way to protect is to parameterize your queries. This prevents people from 'injecting' sql into what should just be data fields. Let me know if you need pointers on parameterization. Note that dynamic sql is NOT parameterization (even if you use parameters). Parameterization means that you parameterize the data not the sql. One thing that .net 3.5 DOES have is Linq. If you use Linq to Sql you will get parameterized queries as Linq
  • Re: problem with cookie after response.redirect

    Yeah, someone just last week had the same question -> http://forums.asp.net/t/1474997.aspx and what he found out. Hope that helps, m
    Posted to State Management (Forum) by papabear on 10/13/2009
  • Re: Error

    It looks like a basic perms issue. when you copied up the files it lost the necc perms for the acct that your IIS app pool for the website is running under. Usually this is Network Service. This is a very useful article re perms for the Network Service acct: http://msdn.microsoft.com/en-us/library/ms998320.aspx I would take a look at the acct the app pool for that website is using just to verify what it is. I would then look at the NTFS perms for the folder that you just copied up. You may have keep
    Posted to Getting Started (Forum) by papabear on 10/9/2009
  • Re: SQLDatasource binding only after the page loads?

    It is during Page_Load that the controls get all there data from ViewState, and their control state. The event handling happens after the Page is fully loaded (so the Page.LoadComplete event is not going to work). You might try Page_PreRender. I like event for a number of reasons. Let me know how it goes. thanks, m
  • Re: Migrating to new version of AjaxControlToolkit

    The first question is what version of .net are you working on. 2.0 had Ajax as an addon and as a result you need a different version if you are not running 3.5 (which has it built in). If you go to the project release notes for Sept 09 there is this note part way down: Note: The current version of the AJAX Control Toolkit is not compatible with ASP.NET 2.0. The latest version that is compatible with ASP.NET 2.0 can be found here: 20229 which takes you to the Feb 08 version here -> http://ajaxcontroltoolkit
    Posted to ASP.NET AJAX Control Toolkit (Forum) by papabear on 10/9/2009
  • Re: web.config file inheriting parent configuration

    Web.Config automatically inherits. If there are particular things that you do not want to inherit your best bet is to simply put dummy placeholders to keep it from inheriting. Is there a particular section that is causing problems?
    Posted to Configuration and Deployment (Forum) by papabear on 10/9/2009
  • Re: SQLDatasource binding only after the page loads?

    When are you trying to update the chklists? Not that the SqlDataSource is a CONTROL, which means that it can has to be loaded in a particular older. Take a look here -> http://msdn.microsoft.com/en-us/library/ms178472.aspx or here http://john-sheehan.com/blog/net-cheat-sheet-aspnet-page-life-cycle-common-events/ for more info. If you want to handle the sql call BEFORE the sqlDataSource control is loaded, you will need to handle it in the code behind by accessing the sql directly. You can use a
Page 1 of 85 (850 items) 1 2 3 4 5 Next > ... Last »