In this blog we will know how to insert RadioButtonList values into database.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Radio_button_values._Default" %>
<!DOCTYPE html
PUBLIC "-//W3C//DTD
XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form
id="form1"
runat="server">
<div>
<table
align="center">
<tr>
<td colspan="2">
<h3>
Registraion</h3>
</td>
</tr>
<tr>
<td>
Name:</td>
<td>
<asp:TextBox ID="txtName"
runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
Email</td>
<td>
<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
Gender</td>
<td>
<asp:RadioButtonList ID="rbtGender" runat="server" RepeatDirection="Horizontal">

Masego ScotchPosted Sep 20, 2015, 8:16 AM
bv0\8888888888888
Masego ScotchPosted Sep 20, 2015, 8:16 AM
Hi I get an error that says that