Results 1 to 2 of 2

Thread: Updating Oracle table from a GridView

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Posts
    150

    Updating Oracle table from a GridView

    Guys , I have connected to Oracle successfully using (Oracle.DataAccess)

    I dropped SqlDataSource to my applicaiton , I choosed to datasource , selected the table and , and I finally draged and dropped a gridview, bind the gridview to the SqlDataSource.


    I'm able to Insert , but when I try to update , I get nothing , I checked the update statement , and I modified the WHERE clause , and I got the following error message :


    ORA-01036: illegal variable name/number

    My update statement is :

    Code:
    UpdateCommand='UPDATE "DUTIE" SET "STATUS" =1' 
    
    ConflictDetection="OverwriteChanges">
    As you can see , I'm not even using parameters , I don't know why I am getting this error message!!


    HELP
    Last edited by bomayed; Dec 3rd, 2007 at 04:30 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width