Dumb question...

Results 1 to 2 of 2

Thread: Dumb question...

  1. #1
    Join Date
    Dec 1969

    Default Dumb question...

    is this valid in ASP.NET<BR><BR>oParameters.Add("DefTransID", CInt(Request.QueryString("DefTransID")))<BR><BR>or should I leave it like this...<BR><BR>oParameters.Add("DefTransID", Request.QueryString("DefTransID"))<BR><BR>I am asking for clarification really. I was taught always make sure your values are what you expect, but the programmer I am working with says that it is a waste of time...mostly because he doesnt want to go through his code and check..lol...just want some opinions, thats all. Thanks<BR><BR>HC

  2. #2
    Join Date
    Dec 1969

    Default RE: Dumb question...

    I would say its not a bad idea to explicitly convert it to Integer but then the secod statement would also work perfectly fine. lol<BR><BR>HTH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts