我有两个System.Web.UI.WebControls radioButton - > "是"和"不"。
需要BACK END LOGIC像这样:
private void radioButton1_CheckedChanged(object sender, EventArgs e)
{
isChecked = radioButton1.Checked;
}
先谢谢你了!
答案 0 :(得分:1)
为什么要使用2个不同的单选按钮.. ??你可以使用<?php
$dbh = new PDO('mysql:host=localhost;dbname=db', 'user', 'pass');
$pstmt = "call GetResult()";
$sth = $dbh->prepare($pstmt);
$sth->execute();
/* Fetch all of the remaining rows in the result set */
print("Fetch all of the remaining rows in the result set:\n");
$result = $sth->fetchAll();
print_r($result);
?>
Here 是链接