Results 1 to 2 of 2

Thread: data grid help

  1. #1

    Thread Starter
    Addicted Member Hammad's Avatar
    Join Date
    Mar 2003
    Location
    Pakistan
    Posts
    145

    Question data grid help

    hi to all
    i have a problem in working with datagrid.
    i got all values in grid from database now i want to add a new rcord in grid and also editing and updating a previous record but i got no way how can i do this
    tell me if there is any way to do this.
    thanks
    Hammad Umar
    Hammad Umar

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    In a simple senario, you bind the datagrid to a dataset table that is filled from a dataadapter. Any change you make in the datagrid will be reflected to the datasource. All you have to do is use the update method of the datadapter to be updated by the dataset table.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

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