sqldatasource refill data again

Last post 11-18-2009 4:42 AM by Jian Kang - MSFT. 3 replies.

Sort Posts:

  • sqldatasource refill data again

    11-14-2009, 3:34 PM
    • Member
      4 point Member
    • z3irr
    • Member since 11-13-2009, 10:59 PM
    • Posts 22

    hello..

    i have sqldatsource that is binded to a gridview, what i need is to refresh the gridview automatically when a button is clicked ,

    i need something like AutoPostBack for a button ...

     

    thank you for helping me

  • Re: sqldatasource refill data again

    11-14-2009, 4:21 PM
    • Member
      9 point Member
    • JavedBoqo
    • Member since 05-28-2009, 12:34 PM
    • Pakistan
    • Posts 41

    do you have bind the data to gridview at design time or at run time.


  • Re: sqldatasource refill data again

    11-15-2009, 6:05 AM
    • Member
      4 point Member
    • z3irr
    • Member since 11-13-2009, 10:59 PM
    • Posts 22

     i have a gridview that is binded to sqldatasource both are invisible and there is another gridview that is visible, using a modalpopup asp.net ajax conrol extender,using this extender when clicking a button the invisble gridview appears with number of rows,what i need is that when i select any row of the invisible gridview it must appear in the visible gridview but at same time removed from the invisible one ...

     

    i did every thing but i cannot remove the selected row at run time, it wil be removed if i run the program again..

    i will be greally glad if you can help, if there is some function related to the sqldatasource that can can refresh the gridview in runtime

  • Re: sqldatasource refill data again

    11-18-2009, 4:42 AM
    Answer

    Hi z3irr,

    Could you please elaborate a bit and post your code? 

    From your description, it seems that you would like to remove a row from GridView without re-populate the GridView, right?

    If so, please refer to the following threads:

    http://forums.asp.net/t/1228914.aspx

    http://forums.asp.net/t/1300101.aspx

    Jian Kang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (4 items)