Search

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

Matching Posts

  • Re: How to code?

    Hi Dedin, Using third party controls can be a good or a bad thing (particularly for beginners). I own and use all of the Telerik controls as well. I've been programming for over 9 years, and I've been teaching .NET programming for much of that time. I love the Telerik controls because they offer a very professional look and feel as well as provide you with advanced functionality without having to write much code. However, when they don't do exactly what you want it can start to get a
    Posted to Getting Started (Forum) by gdzierzon on 9/10/2009
    Filed under: telerik, grid view
  • Re: Access Queries or Build New SQL ones?

    Hi Robert, Unfortunately the Queries that you defined in Access cannot be directly used by ASP.NET. Unlike stored procedures in a database engine like SQL Server, queries in Access are not callable outside of Access. You will have to either use the query builder tool in Visual Studio or move your Access Database to SQL Server and build Stroed Procedures that you can use. For a quick and simple solution, I would just use the query builder.
    Posted to Getting Started (Forum) by gdzierzon on 9/10/2009
    Filed under: Access
  • Re: Access Queries or Build New SQL ones?

    My bad... fimine is right. You can use MS Access queries directly. I was playing around with paramaterized queries earlier and they didn't seem to work (at first). Based on your post I assume you are using an AccessDataSource. If this is the case there are a couple of things you can do to make this work. if your queries have no parameters they will show up tables and you can do a select statement against them (similar to a view) if you query has parameters they will not show up as a table or
    Posted to Getting Started (Forum) by gdzierzon on 9/10/2009
    Filed under: MS Access query
  • Re: ASP.NET pages on the fly.

    You will want to look into URL rewriting. This allows the user to request a specific page and then you can decide where the request is actually processed. For example you may receive a request for page http://www.mysite.com/1469152.html (which of course does not exist) but you can redirect it to the following page ... http://www.mysite.com/PostDetails.aspx?PostID=1469152. The browser and user are never made aware that the redirect has happened but your server processes the page correctly. ASP.NET
    Posted to Web Forms (Forum) by gdzierzon on 9/10/2009
    Filed under: url rewiting
  • Re: What will happen if exception is happening in finally black ??

    [quote user="azymd777"] finally { //i am closing connection object here . con.close() ; //but connection is not opened means this will throw the exception . What will happen for this Exception } [/quote] con.close() will not throw an exception. In Classic ASP this would have thrown an exception but this is not the case in .NET. con.Open() however works slightly differently - i.e. if a connection is already open and you call con.Open() and exception will be thrown. The finally block is a
    Posted to Getting Started (Forum) by gdzierzon on 9/10/2009
  • Re: "Cannot use a leading .. to exit above the top directory."

    I was able to still use Server.Transfer with the following... My master page had a hyperlink which had a NavigateUrl set as follows... "~/default.aspx". The browser is requesting a non-existent directory so the path it tries to create is something like "../../../default.aspx". I changed my master from having the link define the NavigateUrl inline to doing it as part of the page load as follows... logo.NavigateUrl = ResolveUrl("~/default.aspx"); Since this page gets executed
    Posted to Free For All (Forum) by gdzierzon on 11/12/2008
  • Re: Export to Excel "screws up" browser history

    Ok, what's happening is when you are removing the linkbuttons and checkboxes etc. you are completely removing them from memory. Adding controls dynamically is a little more tricky when you need to persist their state in subsequent postbacks. Since you have removed the other controls from memory, they can no longer respond to click events. The ASP.NET engine is not aware of the controls. In other workds, when you hit the back button on your browser, it still remembers that there were links there
    Posted to State Management (Forum) by gdzierzon on 12/24/2007
    Filed under: postback, dynamic controls, viewstate asp.net
  • Re: Export to Excel "screws up" browser history

    can you post some sample code of what you are doing in the export button click event?
    Posted to State Management (Forum) by gdzierzon on 12/20/2007
  • Re: Display of "Default.aspx"

    That's right, the form will automatically do a post back and the server will be hit an additional time. As far as storing things in session variables, yes, you will want to store any information that you will need in the next page that you redirect to. It sounds like you are just interested in error messages. Another way to avoid additional post backs is to move to a classic asp model. This would require you to remove the runat="server" from the form. This does mean though that you
    Posted to Web Forms (Forum) by gdzierzon on 12/16/2007
  • Re: Where can I put code to not let user exit page

    jimmy g has a good point, I guess I responded a bit hastily this would depend on your audience and what they are currently in the process of doing on the website. In any case there is a good thread that discusses this topic in a javascript development forum http://forums.devarticles.com/javascript-development-22/how-to-stop-browser-from-closing-using-javascript-8458.html
    Posted to Web Forms (Forum) by gdzierzon on 12/16/2007
Page 1 of 2 (18 items) 1 2 Next >