HELP with dataviews

Results 1 to 2 of 2

Thread: HELP with dataviews

  1. #1
    Wayne H. Guest

    Default HELP with dataviews

    Can anyone help me?<BR><BR>I have a .vb file which queries a database and successfully returns some data in a dataset; it binds to a datagrid just fine using the defaultview; and when I check the rowcount of the defaultview like so: <BR><BR> response.write(dsAirports("airports").defaultview. Rows.Count.tostring())<BR><BR>it is OK...<BR><BR>Everything works fine until I try to create a new dataview out of this table like so:<BR><BR> dim mydataview as dataview<BR> mydataview = new dataview(dsAirports("airports"))<BR><BR>now I get basically an empty recordset; when I bind it to a datagrid I get nothing, and when I check the count property like so: <BR><BR> response.write (mydataview.count.tostring())<BR><BR>I get zero.<BR><BR>What am I doing wrong??<BR><BR>Any help would be greatly appreciated,<BR><BR>Wayne<BR>

  2. #2
    Wayne H. Guest

    Default RE: HELP with dataviews

    All:<BR><BR>Nevermind, I figured it out...just a spelling error!<BR>

Posting Permissions

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