StringBuilder s = new StringBuilder();
this.ddlGoodsClassName.SelectedValue = "3";
s=s .Append("0");
s=s.Append(this.ddlGoodsClassName.SelectedValue.ToString().Trim());
s=s.Append("000001");
goods.GoodsId =Convert.ToString(s);
执行后显示的依然是3,而我要的效果是03000001,如何解决?
临摹微笑