Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm working with foxpro tables to write an asp.net page (same as vb.net for the most part). I am having trouble writing to the foxpro dbf file. I am using the foxpro driver from microsoft and reading works fine. However when I try to "update" information (whether adding a record or updating or deleting) I errors back at me about the cursor.

 

da.update(ds,"time") is the code i'm using

da.fill(ds, "time") works fine in the asp and I can pull data out

 

after adding a new row I call the update command and it spits back the cursor error

 

"OleDbException (0x80004005): Cannot update the cursor TIME, since it is read-only"

 

I am using the ole objects to connect and I don't know if that's the problem or what. If someone has any info, please let me know

 

-Thanks

David

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...