made DOB format short in patients
This commit is contained in:
parent
748c6e08fb
commit
64edeb203b
@ -76,7 +76,8 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
txtWeight.Text = ds.Tables[0].Rows[0]["lbs"].ToString();
|
txtWeight.Text = ds.Tables[0].Rows[0]["lbs"].ToString();
|
||||||
txtHeightFt.Text = ds.Tables[0].Rows[0]["Height_feet"].ToString();
|
txtHeightFt.Text = ds.Tables[0].Rows[0]["Height_feet"].ToString();
|
||||||
txtHeightIn.Text = ds.Tables[0].Rows[0]["Height_inches"].ToString();
|
txtHeightIn.Text = ds.Tables[0].Rows[0]["Height_inches"].ToString();
|
||||||
txtDOB.Text = ds.Tables[0].Rows[0]["DOB"].ToString();
|
DateTime date = DateTime.Parse(ds.Tables[0].Rows[0]["DOB"].ToString());
|
||||||
|
txtDOB.Text = date.ToString("d");
|
||||||
cboGender.Text = ds.Tables[0].Rows[0]["Gender"].ToString();
|
cboGender.Text = ds.Tables[0].Rows[0]["Gender"].ToString();
|
||||||
txtCity.Text = ds.Tables[0].Rows[0]["City"].ToString();
|
txtCity.Text = ds.Tables[0].Rows[0]["City"].ToString();
|
||||||
txtZip.Text = ds.Tables[0].Rows[0]["Zip"].ToString();
|
txtZip.Text = ds.Tables[0].Rows[0]["Zip"].ToString();
|
||||||
|
Loading…
Reference in New Issue
Block a user