二级分行<wijmo:C1ComboBox ID="C1ComboBox1" runat="server" AutoPostBack="True"
onselectedindexchanged="C1ComboBox1_SelectedIndexChanged1">
</wijmo:C1ComboBox>日不良率时点、月增减及年增减表
string sql_date = "SELECT distinct([日期]) FROM [produce1].[dbo].[nong_erfen_jin] order by [日期] desc";
DataTable dt_date = db.GetDataSet(sql_date, "ok");
C1ComboBox1.DataTextField = "日期";
C1ComboBox1.DataSource = dt_date;
C1ComboBox1.DataBind();
protected void C1ComboBox1_SelectedIndexChanged1(object sender, C1.Web.Wijmo.Controls.C1ComboBox.C1ComboBoxEventArgs args)
{
string fd = C1ComboBox1.SelectedValue.ToString();
string f1 = C1ComboBox1.SelectedItem.ToString();
string f2=C1ComboBox1.SelectedItem.Value.ToString();
}
怎么取才正确呢 |
|