Ejemplo n.º 1
0
 protected void gridBackToBack_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     if (e.CommandName == "View")
     {
         // Retrieve the row index stored in the
         // CommandArgument property.
         string id  = Convert.ToString(e.CommandArgument);
         var    row = aMasterLCBLL.Get_EstimateDetailsList(id);
         if (row.Count > 0)
         {
             var result = row.First();
             txtPO.Text               = result.LC_PO_No;
             txtBuyerName.Text        = result.Buyer_Name;
             txtstyle.Text            = result.Lc_Style;
             txtFinishGoods_Name.Text = result.FinishGoods_Name;
         }
         else
         {
         }
         // txtEstimateNo.Text = id;
     }
 }