TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sathish kumar
NA
117
165.3k
how to insert radi button value in c#.net??
Jul 4 2012 2:17 AM
Hi friends
I m beginner in c#.net. I have two radio buttons namely male and female. I want to insert that field to my table. i dont know how to insert. and also if i select grid row field of column name gender if it is male maleRadioButton should be enabled if it is female FemaleRadiobutton should be enabled. Any idea.....
<td>
<asp:RadioButton ID="rbMale" runat="server" GroupName="b" Text="Male" />
<asp:RadioButton ID="rbFemale" runat="server" GroupName="b" Text="Female" />
</td>
<asp:GridView ID="gvNewRegistration" runat="server" AllowPaging="True"
AutoGenerateColumns="False" CellPadding="4" DataSourceID="SqlNewRegistration"
EmptyDataText="No Records found !!" ForeColor="#333333" GridLines="None"
Height="289px" ondatabound="gvNewRegistration_DataBound"
onprerender="gvNewRegistration_PreRender"
onrowcommand="gvNewRegistration_RowCommand"
onselectedindexchanged="gvNewRegistration_SelectedIndexChanged"
ShowFooter="True" Width="414px">
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<Columns>
<asp:CommandField ShowSelectButton="true" />
<asp:BoundField DataField="Sex" HeaderText="Sex" SortExpression="Sex" />
this is my .aspx page...
Thanks in advance.........
Reply
Answers (
1
)
Read only & Read/Write option in single datagridview control
binding tree view to datagrid view in windows application