Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. datagrid edit, update button UPDATION PROBLEM

datagrid edit, update button UPDATION PROBLEM

Scheduled Pinned Locked Moved ASP.NET
databasehelpcsharpasp-netcom
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pravin H
    wrote on last edited by
    #1

    Hi, I have made a datagrid in asp.net with edit, update button, But when I press the update button after editing it say the error is the file is readonly. I am able to excess the file and also sort it but am not able to update it. I am using Visual Foxpro as my database. I have done the same in sql it runs fine. Any one who have any idea why this error please. I am using OLE DB FOR CONNECTION TO FOXPRO. Kindly go through the codes for details Thanks in advance error!!!!! Cannot update the cursor ITEMHARD, since it is read-only. =============== [OleDbException (0x80004005): Cannot update the cursor ITEMHARD, since it is read-only.] THE CODES ARE AS UNDER : ===== ============(declarations Dim constr As String = "Provider=VFPOLEDB.1; Data Source=c:\Inetpub\wwwroot\lastproject" Thanks for your time -- modified at 11:11 Monday 20th March, 2006

    P 1 Reply Last reply
    0
    • P Pravin H

      Hi, I have made a datagrid in asp.net with edit, update button, But when I press the update button after editing it say the error is the file is readonly. I am able to excess the file and also sort it but am not able to update it. I am using Visual Foxpro as my database. I have done the same in sql it runs fine. Any one who have any idea why this error please. I am using OLE DB FOR CONNECTION TO FOXPRO. Kindly go through the codes for details Thanks in advance error!!!!! Cannot update the cursor ITEMHARD, since it is read-only. =============== [OleDbException (0x80004005): Cannot update the cursor ITEMHARD, since it is read-only.] THE CODES ARE AS UNDER : ===== ============(declarations Dim constr As String = "Provider=VFPOLEDB.1; Data Source=c:\Inetpub\wwwroot\lastproject" Thanks for your time -- modified at 11:11 Monday 20th March, 2006

      P Offline
      P Offline
      Pravin H
      wrote on last edited by
      #2

      I found it, I should have not saved my database is IIS FOLDER ie. inetpub directory, rather kept my database in the other folder with a sharing permission. Thanks again Hope my mistake might help others

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups