Exemplo n.º 1
0
 private void BindGridView(string index)
 {
     _pm.PackageId = Convert.ToInt16(index);
     _dt           = _sobj.Select_PackageByID(_pm);
     foreach (DataRow row in _dt.Rows)
     {
         hfPackId.Value          = row["PackageId"].ToString();
         txtPackageName.Text     = row["PackageName"].ToString();
         txtPackageDesc.Text     = row["PackageDesc"].ToString();
         txtPackageDuration.Text = row["PackageDuration"].ToString();
         txtNoOfInvoice.Text     = row["NoOfInvoice"].ToString();
         txtNoOfItem.Text        = row["NoOfItem"].ToString();
         txtPrice.Text           = row["Price"].ToString();
         txtTerm.Text            = row["Term"].ToString();
     }
 }