You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi, I have a RadioButtonlist control with two listitem. I want Check the listitem based on the database value. eg. there are two listItem ASP and asp.net. if database value is asp, then asp list item should be checked and if db value is asp.net, then asp.net listitem should be checked.
How can i do this.
Help me..
Thanks in Advance.
with Reagards, Prakash.
Johan Normén NSQUARED2
unread,
Sep 29, 2003, 9:42:17 AM9/29/03
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
You can use the SeledtedIndex if you want to.
JN
>. >
David Wier
unread,
Sep 29, 2003, 10:58:20 AM9/29/03
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
A lot of this answer has to do with what form your received db value takes, but it's something like: If (dbValue)="ASP" then rb1.SelectedIndex = rb1.Items.IndexOf(rb1.Items.FindByText("ASP")) else rb1.SelectedIndex = rb1.Items.IndexOf(rb1.Items.FindByText("ASP.Net")) End If --