Dishant
Dishant

Reputation: 41

Coping the text of gridview cell in asp.net

I want to copy the text of 3rd cell of 4th row of a gridview, in asp.net.

And I am not able to do that...

Can someone help in solving it, with a code...

Upvotes: 1

Views: 350

Answers (1)

Akram Shahda
Akram Shahda

Reputation: 14781

Use the following:

String text = this.gridView.Rows[3].Cells[2].Text;

Upvotes: 1

Related Questions