摘要: 其实很简单,只是在窗体加载的时间需要两句代码就ok了小数点设为两位,增幅为0.25即numericUpDown1.DecimalPlaces = 2;numericUpDown1.Increment = 0.25M; 阅读全文
posted @ 2011-05-31 14:44 笨笨的菜鸟 阅读(14686) 评论(0) 推荐(0) 编辑
摘要: View Code 1 public partial class City : System.Web.UI.Page 2 { 3 protected void Page_Load(object sender, EventArgs e) 4 { 5 if(!IsPostBack) 6 { 7 BindProv(); 8 BindCity(); 9 }10 }11 12 //绑定市13 private void BindCity()14 {15 ddlcity.Items.Clear();16 DataTable citydt = new CitySer().GetAllCityByProvId( 阅读全文
posted @ 2011-05-31 11:13 笨笨的菜鸟 阅读(507) 评论(1) 推荐(0) 编辑
点击右上角即可分享
微信分享提示