PC Review


Reply
Thread Tools Rate Thread

ASP.net & dbf files : please help me

 
 
Isabelle
Guest
Posts: n/a
 
      26th Aug 2003
Hello,

Please excuse my so bad english.

Actually I dont know what to do anymore, after having searched for a long
time on the internet. about my problem. I wrote some ASP.net pages, last
year, which were accessing to an access datafile (.mdb). I used this code (I
think the OleDBDataAdapter is very convenient), which is cleaned up below :

<%dim dr as datarow

Dim mAdapRapide As New OleDBDataAdapter("SELECT * FROM clients;",
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\ftproot\bases\base.mdb")
Dim mDs As New DataSet()
mAdapRapide.Fill(mDs, "clients")

for each dr in mDs.Tables("clients").rows%>

...... (my html code)
...... with stuff like <%=dr("clientname").tostring%>

<% next
mDs.Dispose():mAdapRapide.Dispose()%>

Now, I really need to do the exact same thing, but with a dbase file
("base2.dbf") instead of my access file ("base.mdb").
I tried several times, that doesn't work. Probably because of my connexion
string "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=d:\ftproot\bases\base.mdb", but I really dont know how to modify it
in order to make my pages work correctly.

If somebody can help me, that would be very kind...

Thanks,

Isabelle



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how stupid can all this anti-virus software possibly be? Doesn't even search .exe files first, sits there and goes through my mp3 files and mpg files, that is so stupid i cannot believe it. Fact Attack Windows XP General 3 31st Aug 2006 12:56 AM
problem with media files, office files and all image files najam87 Windows XP Help 0 21st Oct 2005 06:05 AM
RE: Windows Media Player crashes opening mpg files from websites, but not from local files =?Utf-8?B?bXBnX2ZydXN0cmF0ZWQ=?= Windows XP General 1 8th Mar 2004 05:28 PM
Index.dat Suite - View & Delete Index.dat Files, Temp Internet Files (TIF), Cookies, History, Temp Files BillR Freeware 39 1st Nov 2003 09:40 PM
CD files being copied as Jukebox Files, Not Windows Media Files rHONDA Windows XP Music 1 10th Oct 2003 07:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:25 AM.