ASP NET - GridView edit data in grid HELP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnlim20088
    New Member
    • Jan 2007
    • 74

    ASP NET - GridView edit data in grid HELP

    hi,

    Hi, Currently I have a grid view to display data, in the gridview, i have a templatecolumn (textbox1).

    Initially I set the textbox1 readonly=true.

    when user click edit, my gridview switch to edit mode, how can use CODE BEHIND to programmaticall y set this control to readonly=false?

    how can we find gridview control in code behind? i does have a id, my textbox id is textbox1.

    and another, how can i retrieve row cell value in onRowDataBound?

    let say my data have 3 row

    1 youandme address1
    2 you andhe address2
    3 jenny address3


    how can i get the column 2 value in onRowDataBound?
  • johnlim20088
    New Member
    • Jan 2007
    • 74

    #2
    ASP NET - GridView edit data in grid HELP

    Hi,

    Hi, can someone help me on this?

    I have a grid view with following data

    1 jenny address1 address2
    2 ben address1 address2


    the column address1 is template fieled, with multiline textbox,


    on edit mode, i cant get value with e.NewValues[index...

    can help?

    Comment

    Working...