Exemplo n.º 1
0
 protected void GetMatterDetailsClose()
 {
     dt = MV.CloseMatterDetails(lblCloseMatterNo.Text);
     if (dt.Rows.Count > 0)
     {
         lblcclientdata.Text      = dt.Rows[0]["Company_Name"].ToString();
         lblCresonsiabledata.Text = dt.Rows[0]["REP"].ToString();
         lblCAssignneddata.Text   = dt.Rows[0]["Assigned"].ToString();
         lblCMattertypedata.Text  = dt.Rows[0]["Matter_Type_Desc"].ToString();
         lblCdateopendata.Text    = Convert.ToDateTime(dt.Rows[0]["Open_date"]).ToString("dd-MMM-yyyy");
         lblCofficedata.Text      = dt.Rows[0]["Office_Desc_En"].ToString();
     }
     else
     {
         MyMessageBoxInfo.Show(MyMessageBox.MessageType.Success, commessage.NoRecordFound, 125, 300);
     }
 }
Exemplo n.º 2
0
 protected void GetMatterDetailsClose(object sender, EventArgs e)
 {
     dt = MV.CloseMatterDetails(ddlCloseMatter.SelectedItem.ToString());
     if (dt.Rows.Count > 0)
     {
         lblcclientdata.Text      = dt.Rows[0]["Company_Name"].ToString();
         lblCresonsiabledata.Text = dt.Rows[0]["REP"].ToString();
         lblCAssignneddata.Text   = dt.Rows[0]["Assigned"].ToString();
         lblCMattertypedata.Text  = dt.Rows[0]["Matter_Type_Desc"].ToString();
         lblCdateopendata.Text    = Convert.ToDateTime(dt.Rows[0]["Open_date"]).ToString("dd-MMM-yyyy");
         lblCofficedata.Text      = dt.Rows[0]["Office_Desc_En"].ToString();
     }
     else
     {
         lblcleintdata.Text             = "";
         lblResponsibalelawyerdata.Text = "";
         lblAssignedLawyerdata.Text     = "";
         lblmattertypedata.Text         = "";
         txtOpenDate.Text = "";
         MyMessageBoxInfo.Show(MyMessageBox.MessageType.Success, commessage.NoRecordFound, 125, 300);
     }
 }