Results 1 to 3 of 3

Thread: null datarow, better way?

Threaded View

  1. #1

    Thread Starter
    Member SeaCapnJ's Avatar
    Join Date
    Jun 2003
    Location
    Wilmington, NC
    Posts
    41

    null datarow, better way?

    Currently when I am querying a table, I assign a datarow the values I requested. If the search turns up null, I resolve it -a- la - ghetto. There has to be a better way

    VB Code:
    1. dim rowInput as datarow
    2. dim tblIptval as new datatable
    3.  
    4. Try
    5.    rowInput = tblIptVal.Select("CID = " & CID )(0)
    6. Catch
    7.     'no records
    8. End Try
    Last edited by SeaCapnJ; Apr 30th, 2004 at 04:05 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width