Пример #1
0
 /// <summary>
 /// 单击节点事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void tvw_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
 {
     NewFolder1.Goods goods = new NewFolder1.Goods();
     foreach (DataRow item in goods.ItemLoad(e.Node.Text).Rows)
     {
         this.F_proID.Text     = item["F_proID"].ToString();
         this.GoodsID.Text     = item["GoodsID"].ToString();
         this.GoodsName.Text   = item["GoodsName"].ToString();
         this.SumOld.Text      = item["SumOld"].ToString();
         this.ClassID.Text     = item["CalssName"].ToString();
         this.OldInfo.Text     = item["OldInfo"].ToString();
         this.Type.Text        = item["Type"].ToString();
         this.MakeName.Text    = item["MakeName"].ToString();
         this.OldMonth.Text    = item["OldMonth"].ToString();
         this.IntoDate.Text    = item["IntoDate"].ToString();
         this.RepID.Text       = item["RepName"].ToString();
         this.Sub_Month.Text   = item["Sub_Month"].ToString();
         this.DepID.Text       = item["DepName"].ToString();
         this.State.Text       = item["State"].ToString();
         this.Month_Money.Text = item["Month_Money"].ToString();
         this.AddType.Text     = item["AddType"].ToString();
         this.Quantity.Text    = item["Quantity"].ToString();
         this.JingCanZhi.Text  = item["JingCanZhi"].ToString();
         this.OrderUnit.Text   = item["OrderUnit"].ToString();
         this.Price.Text       = item["Price"].ToString();
         this.Detail.Text      = item["Detail"].ToString();
         this.Money.Text       = item["Money"].ToString();
         this.Pro_value.Text   = item["Pro_value"].ToString();
     }
 }