small changes

This commit is contained in:
EggMan20339 2024-04-03 19:32:20 -04:00
parent 47d13f3841
commit 0dae0c7f45
11 changed files with 26 additions and 14 deletions

View File

@ -155,7 +155,7 @@
<virtualDirectoryDefaults allowSubDirConfig="true" /> <virtualDirectoryDefaults allowSubDirConfig="true" />
<site name="FWA_MAIN" id="1"> <site name="FWA_MAIN" id="1">
<application path="/" applicationPool="Clr4IntegratedAppPool"> <application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\IVAN\RiderProjects\FWA_MAIN\FWA_MAIN" /> <virtualDirectory path="/" physicalPath="C:\Users\eggman\Nextcloud\TSCT\2nd Year\SEM 4\RiderProjects\FWA_MAIN\FWA_MAIN" />
</application> </application>
<bindings> <bindings>
<binding protocol="http" bindingInformation="*:5000:localhost" /> <binding protocol="http" bindingInformation="*:5000:localhost" />

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
5b828ddd595982ac7c99d94544530dbfda605a4e26706582ffd171296255f6b4 35e3f318d70032ecddcf1f126a0f5fadbfc716462983ce624410e76af3e3df7d

Binary file not shown.

Binary file not shown.

View File

@ -28,18 +28,18 @@ namespace FWA_MAIN
var ds = new DataSet(); var ds = new DataSet();
ds = PharmacyDataTier.PhysicianInfoSearch(physID); ds = PharmacyDataTier.PhysicianInfoSearch(physID);
txtPhysID.Text = ds.Tables[0].Rows[0]["Physician_id"].ToString(); txtPhysID.Text = ds.Tables[0].Rows[0]["Physician_id"].ToString().Trim();
txtFNAME.Text = ds.Tables[0].Rows[0]["FirstName"].ToString(); txtFNAME.Text = ds.Tables[0].Rows[0]["FirstName"].ToString().Trim();
txtLNAME.Text = ds.Tables[0].Rows[0]["LastName"].ToString(); txtLNAME.Text = ds.Tables[0].Rows[0]["LastName"].ToString().Trim();
txtMidInit.Text = ds.Tables[0].Rows[0]["MiddleIntials"].ToString(); txtMidInit.Text = ds.Tables[0].Rows[0]["MiddleIntials"].ToString().Trim();
txtZip.Text = ds.Tables[0].Rows[0]["Zip"].ToString(); txtZip.Text = ds.Tables[0].Rows[0]["Zip"].ToString().Trim();
txtCity.Text = ds.Tables[0].Rows[0]["City"].ToString(); txtCity.Text = ds.Tables[0].Rows[0]["City"].ToString().Trim();
txtState.Text = ds.Tables[0].Rows[0]["UsState"].ToString(); txtState.Text = ds.Tables[0].Rows[0]["UsState"].ToString().Trim();
DateTime date = DateTime.Parse(ds.Tables[0].Rows[0]["DOB"].ToString()); DateTime date = DateTime.Parse(ds.Tables[0].Rows[0]["DOB"].ToString().Trim());
txtDOB.Text = date.ToString("d"); txtDOB.Text = date.ToString("d").Trim();
txtPhone.Text = ds.Tables[0].Rows[0]["PhoneNumber"].ToString(); txtPhone.Text = ds.Tables[0].Rows[0]["PhoneNumber"].ToString().Trim();
txtGender.Text = ds.Tables[0].Rows[0]["Gender"].ToString(); txtGender.Text = ds.Tables[0].Rows[0]["Gender"].ToString().Trim();
txtSpecialty.Text = ds.Tables[0].Rows[0]["Specialty"].ToString(); txtSpecialty.Text = ds.Tables[0].Rows[0]["Specialty"].ToString().Trim();
} }

View File

@ -2,6 +2,18 @@
<asp:Content runat="server" ContentPlaceHolderID="cph1"> <asp:Content runat="server" ContentPlaceHolderID="cph1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(document).keypress(function(e) {
if (e.which === 13) { // Enter key = keycode 13
e.preventDefault(); // Prevent the default Enter action
$("#<%= btnPhySearch.ClientID %>").click(); // Trigger the search button click
}
});
});
</script>
<link type="text/css" href="main.css"/> <link type="text/css" href="main.css"/>
<h1 style="text-align: center; font-size: 44px"> <h1 style="text-align: center; font-size: 44px">
Physicians Physicians