AccessDataSource (in 2.0)

Reply

Join Date: Mar 2006
Posts: 2
Reputation: pdzine is an unknown quantity at this point 
Solved Threads: 0
pdzine pdzine is offline Offline
Newbie Poster

AccessDataSource (in 2.0)

 
0
  #1
Mar 5th, 2006
I'm having trouble with a very simple issue of binding to the AccessDataSource, or using an AccessDataSource as the datasource of a DataView, DataTable or anything (anything other than a user control, that is. I can bind to a datagrid, dropdownlist, etc. I'm just trying to make it more OO). I must be goofed on something obvious, bcause the closest I get is this, which still returns zero row count:

AccessDataSource ds = new AccessDataSource("~/App_Data/my.mdb", cmd);

DataView dv = new DataView(ds.ToString());

even with that, dv.Rows.Count is always 0.

Any help would be much appreciated. THanks.

pdzine
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 4586 | Replies: 0
Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC