Search

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

Matching Posts

  • Re: Operator is not defined for type 'DBNull' and string "".

    I get this all the time. You're trying to return a null value from a database and stick it into a string variable. when you get a dbnull.value, set the variable to nothing or empty string.
    Posted to Getting Started (Forum) by zotje on 7/3/2008
  • Re: Approval problem

    My first thought was to use web services, but you'd have to expose it to the internet and I am assuming you don't want to do that. My second thought is to make the approval buttons in the email to external approvers mailto: links. You can send an email back to an email box and have your application watch your email box. You can then parse the email for your data and write it to your database. I'd probably create the webservice which sits in the dmz or even a small webapp with one webpage
    Posted to Getting Started (Forum) by zotje on 8/1/2007
  • Re: Dynamically created LinkButton and EventHandler .net 2.0

    Not sure what exactly your error message means. However, having added dynamic linkbuttons and eventhandlers before, I didn't realize that I needed to recreate the dynamic buttons on postback. Since they are dynamic, clicking on the linkbutton, the click event didn't have the dynamic button in the viewstate. I needed to recreate it for the click event to be able to reference the button.
    Posted to Getting Started (Forum) by zotje on 7/31/2007
  • Re: launching default aspx page on domain

    I've had this error message before when I didn't have my custom errors set to off or didn't have a custom error message set. It's basically saying it doesn't know how to handle the error. You definitely have an error in your C# code on the back, but your server is not able to show it to you because it doesn't know how to route the error. Set your custom errors to Off (it is case sensitive!)
    Posted to Getting Started (Forum) by zotje on 4/29/2007
  • Re: Beginner not progressing in asp.net, what am i doing wrong?

    I wouldn't start with asp.net. I'd start with a basic programming language that is a windows app or console. You don't want to start having to mess with a stateless environment with web forms. Much easier to understand variable scope, loops when you're working in a windows app. You might also be able to download some sample apps on the web...sometimes it is easier to learn when you have a working example in front of you that you can run through.
    Posted to Getting Started (Forum) by zotje on 4/29/2007
  • Re: updating session variable with onClick

    could it be because you're resetting the session "firstdayofmonth" to today's date on every page load? You don't want to reset it on every postback, do you?
    Posted to State Management (Forum) by zotje on 4/29/2007
  • Re: writing a code that runs automatically - Help Req

    I wouldn't put it in the global.asax since that doesn't get executed unless someone accesses a page. You don't want the user to have to wait until you've executed your code....unless you're going to start a thread. I've never written any code that accesses a database from the global.asax except for error handling. In that case, I just create an instance of the class that handles the error code and submits it to the database. I'm sure you cannot do this on startup since the application doesn't exist
    Posted to State Management (Forum) by zotje on 4/29/2007
  • Re: Pop -Up Control opens very slowly

    This might be a shot in the dark, but this is something odd that happened to our popups. We had a problem with popups taking a very long time to pop up and it was a proxy issue. We have a choice to go through the proxy or not. Our IP addresses are setup to bypass it, however curiously we would get these issues when we were testing our popups and were not going through the proxy. For some reason new popups would just hang for a minute and then work. We've never figured out why, but everyone else in
    Posted to Client Side Web Development (Forum) by zotje on 2/27/2007
  • Re: SIMPLE query string problem

    If you want to display all records, I wouldn't send any PID value in the querystring and let your database query handle it.
    Posted to Web Forms (Forum) by zotje on 2/25/2007
  • Re: AutoNumbers problems with inserting!

    Are you trying to insert into the field that is an autonumber field? You don't have to insert anything into that field, that's the beauty of the autonumber functionality.
    Posted to Getting Started (Forum) by zotje on 2/13/2007
Page 1 of 3 (26 items) 1 2 3 Next >