| | |
AccessDataSource (in 2.0)
Please support our ASP.NET advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2006
Posts: 2
Reputation:
Solved Threads: 0
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
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
![]() |
Similar Threads
- Help me in username and password validation through accessing the database (ASP.NET)
- access date query (ASP.NET)
- How to display a simple Access DB (ASP.NET)
- ASP.NET and Javascript (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: ASP.NET how can i display the logod user Status
- Next Thread: debugger is not running
Views: 4586 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 3.5 activexcontrol advice ajax application asp asp.net bc30451 bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn checkbox child class click compatible confirmationcodegeneration content contenttype countryselector courier css database datagrid datagridview datagridviewcheckbox datalist deadlock development dgv dropdown dropdownmenu edit feedback flash flv folder form forms google grid gridview homeedition hosting identity iframe iis index javascript jquery list maps menu mono mssql multistepregistration nameisnotdeclared object objects order problem profile ratings refer rotatepage save search security serializesmo.table session silverlight smartcard software sql suse textbox tracking typeof unauthorized update validation vb vb.net video view virtualdirectory vista visual-studio visualstudio vs2008 web webarchitecture webdevelopemnt wizard xml





