Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: ASP
Posted by: Mario Lopes
Added: Sep 19, 2018 3:37 PM
Views: 18
gridview com mais que uma datakey
  1. lblDestinatario.Text = GridView1.DataKeys[GridView1.SelectedIndex].Values[0].ToString();
  2.         lblEmail.Text= GridView1.DataKeys[GridView1.SelectedIndex].Values[1].ToString();