yueyue, I have fallen in love with you for

2011-02-09, 01:18:25 PM

2011年8月31日

摘要: for (int i = 0; i < dtB.Rows.Count; i++) { ListItem LI = new ListItem(); LI.Text = dtB.Rows[i]["Property_Name"].ToString(); LI.Value = dtB.Rows[i]["Property_Num"].ToString(); drokzjb.Items.Add(LI); }分析存入以上的值其中:text为显示在DropDownList中的值,value为 在dropdownlist的text取值的时候取出来的值。string 阅读全文

posted @ 2011-08-31 15:19 张超的博客 阅读(169) 评论(0) 推荐(0)

摘要: Union运算符,可以将多个select查询结果集并成为一个结果集合。案例赏析: Sqltxt = " Select Property_Num,isnull(Replace(Property_Num,' ',''),'')+'-'+isnull(Replace(Property_Name,' ',''),'') as Property_Name from T_Cod_Property where Property_Type='ControlLevel' &q 阅读全文

posted @ 2011-08-31 15:15 张超的博客 阅读(374) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3