Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String of hyperlink in grid
Message
De
15/10/2003 14:27:45
Mindy Shingara
Central Susquehanna Intermediate Unit
Lewisburg, Pennsylvanie, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
WebForms
Titre:
String of hyperlink in grid
Divers
Thread ID:
00838994
Message ID:
00838994
Vues:
47
I have an (string)account code field in a grid column and it's a hyperlink olumn. If I click that account hyperlink, the redirect works great, but I can't get the acct string into a variable to carry with me. Below is my code:
'grdAcct' = my grid, Dim l_cindex As Integer, Dim l_cacct As String
****
grdAcct.SelectedIndex = e.Item.ItemIndex
l_cindex = grdAcct.SelectedIndex
l_cacct = Me.grdAcct.Items(l_cindex).Cells(0).Text.ToString
****
The hyperlink is in the first column of the grid (0) and l_cindex = 0 when I click the first row of the grid. But, l_cacct ALWAYS equals '' '' (they are actually double quotes). What am i doing wrong?
Répondre
Fil
Voir

Click here to load this message in the networking platform