To know how many times the button is clicked and value is displayed in tetxbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swapnamandava
    New Member
    • Jul 2012
    • 1

    #1

    To know how many times the button is clicked and value is displayed in tetxbox

    Hi i had two gridviews. In one gridview details of products is present and button to each row. when user clicks on button he should display the row details to other gridview and i placed textbox in 2nd grisview to know how many times he clicked the button of same row .details are going to another gridview but my problem is want to know how many times the user clicks the button and the value is displayed in textbox.plz help me
  • Mudassir
    New Member
    • May 2012
    • 85

    #2
    well you can take a global variable say int count=0; and on the click event of button , you can increment the count by 1 and display the value of the count in the textbox...
    Regards:
    Mudassir

    Comment

    Working...