You must Sign In to post a response.
  • Category: ASP.NET

    How to copy gridview row(label,textbox) value using linkbutton(Click) in C#

    hi Developers ,

    i have bind values in gridview from the database.
    i want to copy gridview row textbox,label value by clicking Linkbutton in
    if i click copy link the clicked row textbox and label value will be copy.
    then if i paste my notepad my copied values must be paste on notepad.

    i have no idea to how to done this requirement. So anyone know please help me to i am done this task.

    thanks with
  • #767477

    When you click copy button in your gridview use OnRowCommand event and copy the content into one datatable,

    and when you click on Paste option export datatable to text file.

    Refer below link this might be helpful to export datatable to text file ""

    Give respect to your work, Instead of trying to impress your boss.

    Blog :

  • Sign In to post your comments