diff --git a/.idea/config/applicationhost.config b/.idea/config/applicationhost.config index 976a66d..15916dc 100644 --- a/.idea/config/applicationhost.config +++ b/.idea/config/applicationhost.config @@ -155,7 +155,7 @@ - + diff --git a/FWA_MAIN/bin/FWA_MAIN.dll b/FWA_MAIN/bin/FWA_MAIN.dll index 1eab801..4c3b979 100644 Binary files a/FWA_MAIN/bin/FWA_MAIN.dll and b/FWA_MAIN/bin/FWA_MAIN.dll differ diff --git a/FWA_MAIN/bin/FWA_MAIN.pdb b/FWA_MAIN/bin/FWA_MAIN.pdb index 71347d1..5925123 100644 Binary files a/FWA_MAIN/bin/FWA_MAIN.pdb and b/FWA_MAIN/bin/FWA_MAIN.pdb differ diff --git a/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.AssemblyReference.cache b/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.AssemblyReference.cache index 0b111af..406c024 100644 Binary files a/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.AssemblyReference.cache and b/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.AssemblyReference.cache differ diff --git a/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.CoreCompileInputs.cache b/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.CoreCompileInputs.cache index 7bf158f..fb81b31 100644 --- a/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.CoreCompileInputs.cache +++ b/FWA_MAIN/obj/Debug/FWA_MAIN.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -548208a3bcb0eba33fd1a778a97babd693b86e02fd9b8f09bf8b4cf3b1fd0e4a +70b4448723339e99ed60f3c81dc6a5d1da61b1ddf61a97f8541739006170aed6 diff --git a/FWA_MAIN/obj/Debug/FWA_MAIN.dll b/FWA_MAIN/obj/Debug/FWA_MAIN.dll index 1eab801..4c3b979 100644 Binary files a/FWA_MAIN/obj/Debug/FWA_MAIN.dll and b/FWA_MAIN/obj/Debug/FWA_MAIN.dll differ diff --git a/FWA_MAIN/obj/Debug/FWA_MAIN.pdb b/FWA_MAIN/obj/Debug/FWA_MAIN.pdb index 71347d1..5925123 100644 Binary files a/FWA_MAIN/obj/Debug/FWA_MAIN.pdb and b/FWA_MAIN/obj/Debug/FWA_MAIN.pdb differ diff --git a/FWA_MAIN/patEdit.aspx.cs b/FWA_MAIN/patEdit.aspx.cs index 93a4b9b..9a6c397 100644 --- a/FWA_MAIN/patEdit.aspx.cs +++ b/FWA_MAIN/patEdit.aspx.cs @@ -30,20 +30,20 @@ namespace FWA_MAIN var ds = new DataSet(); ds = PharmacyDataTier.PatientInfoSearch(patID); - txtPatID.Text = ds.Tables[0].Rows[0]["Patient_id"].ToString(); - txtFNAME.Text = ds.Tables[0].Rows[0]["FirstName"].ToString(); - txtLNAME.Text = ds.Tables[0].Rows[0]["LastName"].ToString(); - txtMidInit.Text = ds.Tables[0].Rows[0]["MiddleIntials"].ToString(); - txtWeight.Text = ds.Tables[0].Rows[0]["lbs"].ToString(); - txtHeightFt.Text = ds.Tables[0].Rows[0]["Height_feet"].ToString(); - txtHeightIn.Text = ds.Tables[0].Rows[0]["Height_inches"].ToString(); - DateTime date = DateTime.Parse(ds.Tables[0].Rows[0]["DOB"].ToString()); + txtPatID.Text = ds.Tables[0].Rows[0]["Patient_id"].ToString().Trim(); + txtFNAME.Text = ds.Tables[0].Rows[0]["FirstName"].ToString().Trim(); + txtLNAME.Text = ds.Tables[0].Rows[0]["LastName"].ToString().Trim(); + txtMidInit.Text = ds.Tables[0].Rows[0]["MiddleIntials"].ToString().Trim(); + txtWeight.Text = ds.Tables[0].Rows[0]["lbs"].ToString().Trim(); + txtHeightFt.Text = ds.Tables[0].Rows[0]["Height_feet"].ToString().Trim(); + txtHeightIn.Text = ds.Tables[0].Rows[0]["Height_inches"].ToString().Trim(); + DateTime date = DateTime.Parse(ds.Tables[0].Rows[0]["DOB"].ToString().Trim()); txtDOB.Text = date.ToString("d"); - txtGender.Text = ds.Tables[0].Rows[0]["Gender"].ToString(); - txtCity.Text = ds.Tables[0].Rows[0]["City"].ToString(); - txtZip.Text = ds.Tables[0].Rows[0]["Zip"].ToString(); - txtState.Text = ds.Tables[0].Rows[0]["UsState"].ToString(); - txtPhoneNum.Text = ds.Tables[0].Rows[0]["PhoneNumber"].ToString(); + txtGender.Text = ds.Tables[0].Rows[0]["Gender"].ToString().Trim(); + txtCity.Text = ds.Tables[0].Rows[0]["City"].ToString().Trim(); + txtZip.Text = ds.Tables[0].Rows[0]["Zip"].ToString().Trim(); + txtState.Text = ds.Tables[0].Rows[0]["UsState"].ToString().Trim(); + txtPhoneNum.Text = ds.Tables[0].Rows[0]["PhoneNumber"].ToString().Trim(); }