get data from textbox(templatefield) from a grid view

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dingjie
    New Member
    • Jul 2007
    • 7

    get data from textbox(templatefield) from a grid view

    how do i do the above?

    i have a text box inside the gridview, i enter data, i want that data, but as postback the data is lost.. so can some1 give me some simple advice? i read a lot of dynamic textbox etc i really very very confused.. thanks
  • dip_developer
    Recognized Expert Contributor
    • Aug 2006
    • 648

    #2
    Originally posted by dingjie
    how do i do the above?

    i have a text box inside the gridview, i enter data, i want that data, but as postback the data is lost.. so can some1 give me some simple advice? i read a lot of dynamic textbox etc i really very very confused.. thanks
    where do u want the textbox data...to another web page..???

    Comment

    • dingjie
      New Member
      • Jul 2007
      • 7

      #3
      Originally posted by dip_developer
      where do u want the textbox data...to another web page..???
      nope on the same page, u see this is a dynamic text box, means it doesnt exist its created to view, once u click the save button, data is posted back. a new text box(empty textbox) replaces my textbox with data. i need to get the data before postback happens.

      Comment

      Working...