GridView Edit Mode in ASP.NET 2.0

Discussion in 'ASP .Net' started by Sridhar.Ammula@gmail.com, Oct 16, 2006.

  1. Guest

    Hi

    I am new to this post, I am working on this project where i need to
    bind the data to the Grid View, which by default shows all the columns
    with textboxes (using item templates). Now when the user changes the
    values in those text boxes, how do i raise the Grid View Row Editing or
    infact Object DataSource Updating events. The Grid View is bound to the
    object datasource.

    Thanks in advance

    Cheers
    Sri
     
    , Oct 16, 2006
    #1
    1. Advertising

  2. in the row commmand fire event u will write ur code but first when the user
    chsnge in text box i think there is lik button or watever to cilk so u willl
    give this button command name
    and chcek in the code when if(e.commendname=="edit")
    --write ur code
    hope this help :)

    "" wrote:

    > Hi
    >
    > I am new to this post, I am working on this project where i need to
    > bind the data to the Grid View, which by default shows all the columns
    > with textboxes (using item templates). Now when the user changes the
    > values in those text boxes, how do i raise the Grid View Row Editing or
    > infact Object DataSource Updating events. The Grid View is bound to the
    > object datasource.
    >
    > Thanks in advance
    >
    > Cheers
    > Sri
    >
    >
     
    =?Utf-8?B?c2FyYQ==?=, Oct 16, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UGxheW1ha2Vy?=
    Replies:
    2
    Views:
    3,389
    =?Utf-8?B?UGxheW1ha2Vy?=
    Aug 8, 2005
  2. tfsmag
    Replies:
    6
    Views:
    6,237
    tfsmag
    Jan 9, 2006
  3. misiek
    Replies:
    3
    Views:
    47,234
    misiek
    Mar 23, 2006
  4. Frank Kurka
    Replies:
    8
    Views:
    330
  5. Jaime Stuardo

    GridView control enters edit mode when I click Edit link twice

    Jaime Stuardo, Apr 7, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    434
    Jaime Stuardo
    Apr 7, 2006
Loading...

Share This Page