Results 1 to 2 of 2

Thread: Grid View does not retain the data!!

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2006
    Location
    Bangalore
    Posts
    172

    Grid View does not retain the data!!

    Hello,



    I have a Grid View with Edit Button in each row, to edit checkbox and text box columns. After updating the row, when I click the edit button in next row the previous updates (in previous rows) will be lost. I want to retain these values in the updated rows. These 2 columns are not bound to Database as per the requirement but need these 2 column values in other table which is getting stored but not visible in grid view once I click the next edit button in other row.



    I am using ASP.Net 2.0 .

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Grid View does not retain the data!!

    Mmm, are you rebinding the gridview on each page load event? Are you doing the IsPostBack check?

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