i set the datakeynames to include two fields,
iID and iType. I can get iID with gridview1.SelectedDataKey.Value, but how
can i get the second key in the list? I'm sure this is a simple one for
someone out there?
Thanks!
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes"WebBuilder451" <WebBuilder451@.discussions.microsoft.com> wrote in message
news:3B6648BD-D9AD-44C1-B9F4-0981C6D0F8C0@.microsoft.com...
> i set the datakeynames to include two fields, iID and iType. I can get
> iID with gridview1.SelectedDataKey.Value, but how
> can i get the second key in the list?
http://msdn2.microsoft.com/en-us/li.../>
ynames.aspx
> I'm sure this is a simple one for someone out there?
All I did was search the MSDN Library - you could have done the same...
Or Google...
ok figered this one out:
Me.gv.SelectedDataKey.Item(1), is this the best or the only way?
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
"WebBuilder451" wrote:
> i set the datakeynames to include two fields,
> iID and iType. I can get iID with gridview1.SelectedDataKey.Value, but how
> can i get the second key in the list? I'm sure this is a simple one for
> someone out there?
> Thanks!
> --
> thanks (as always)
> some day i''m gona pay this forum back for all the help i''m getting
> kes
thank's for responding.
Is the way i described the way you would do it? Aside from not finding
things on occation, i also look for the best solution from the others here.
Is the way i described the best way or is there a better one?
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
"Mark Rae" wrote:
> "WebBuilder451" <WebBuilder451@.discussions.microsoft.com> wrote in message
> news:3B6648BD-D9AD-44C1-B9F4-0981C6D0F8C0@.microsoft.com...
>
> http://msdn2.microsoft.com/en-us/li...
keynames.aspx
>
> All I did was search the MSDN Library - you could have done the same...
> Or Google...
>
>
0 comments:
Post a Comment