Removed manual database connection.

This commit is contained in:
Adam McCane 2024-02-12 11:26:33 -05:00
parent c38e6832ac
commit c58ce040c8
11 changed files with 34 additions and 7438 deletions

View File

@ -3,12 +3,6 @@
<configSections> <configSections>
</configSections> </configSections>
<connectionStrings> <connectionStrings>
<add name="Louis__Pharmacy_CNSA212_FP.Properties.Settings.FPCASConnectionString"
connectionString="Data Source=100.102.137.92;Initial Catalog=FPCAS;User ID=admin;Password=password;Encrypt=False"
providerName="System.Data.SqlClient" />
<add name="Louis__Pharmacy_CNSA212_FP.Properties.Settings.FinalProjectOfficialPharmacyConnectionString"
connectionString="Data Source=100.102.137.92;Initial Catalog=FinalProjectOfficialPharmacy;User ID=admin;Password=password;Encrypt=False"
providerName="System.Data.SqlClient" />
</connectionStrings> </connectionStrings>
<startup> <startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />

File diff suppressed because it is too large Load Diff

View File

@ -1,663 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="FinalProjectOfficialPharmacyDataSet" targetNamespace="http://tempuri.org/FinalProjectOfficialPharmacyDataSet.xsd" xmlns:mstns="http://tempuri.org/FinalProjectOfficialPharmacyDataSet.xsd" xmlns="http://tempuri.org/FinalProjectOfficialPharmacyDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="FinalProjectOfficialPharmacyConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="FinalProjectOfficialPharmacyConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Louis__Pharmacy_CNSA212_FP.Properties.Settings.GlobalReference.Default.FinalProjectOfficialPharmacyConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MEDICATIONSTableAdapter" GeneratorDataComponentClassName="MEDICATIONSTableAdapter" Name="MEDICATIONS" UserDataComponentName="MEDICATIONSTableAdapter">
<MainSource>
<DbSource ConnectionRef="FinalProjectOfficialPharmacyConnectionString (Settings)" DbObjectName="FinalProjectOfficialPharmacy.dbo.MEDICATIONS" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[MEDICATIONS] WHERE (([Medication_id] = @Original_Medication_id) AND ((@IsNull_MedicationName = 1 AND [MedicationName] IS NULL) OR ([MedicationName] = @Original_MedicationName)) AND ((@IsNull_IntakeMethod = 1 AND [IntakeMethod] IS NULL) OR ([IntakeMethod] = @Original_IntakeMethod)) AND ((@IsNull_Frequency = 1 AND [Frequency] IS NULL) OR ([Frequency] = @Original_Frequency)) AND ((@IsNull_Dosage = 1 AND [Dosage] IS NULL) OR ([Dosage] = @Original_Dosage)) AND ((@IsNull_Purpose = 1 AND [Purpose] IS NULL) OR ([Purpose] = @Original_Purpose)) AND ((@IsNull_RxNum = 1 AND [RxNum] IS NULL) OR ([RxNum] = @Original_RxNum)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Medication_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Medication_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MedicationName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MedicationName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IntakeMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_IntakeMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Frequency" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Frequency" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dosage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Dosage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Purpose" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Purpose" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RxNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RxNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[MEDICATIONS] ([Medication_id], [MedicationName], [IntakeMethod], [Frequency], [Dosage], [Purpose], [RxNum]) VALUES (@Medication_id, @MedicationName, @IntakeMethod, @Frequency, @Dosage, @Purpose, @RxNum);
SELECT Medication_id, MedicationName, IntakeMethod, Frequency, Dosage, Purpose, RxNum FROM MEDICATIONS WHERE (Medication_id = @Medication_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Medication_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Medication_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MedicationName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IntakeMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Frequency" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Dosage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Purpose" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RxNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Medication_id, MedicationName, IntakeMethod, Frequency, Dosage, Purpose, RxNum FROM dbo.MEDICATIONS</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[MEDICATIONS] SET [Medication_id] = @Medication_id, [MedicationName] = @MedicationName, [IntakeMethod] = @IntakeMethod, [Frequency] = @Frequency, [Dosage] = @Dosage, [Purpose] = @Purpose, [RxNum] = @RxNum WHERE (([Medication_id] = @Original_Medication_id) AND ((@IsNull_MedicationName = 1 AND [MedicationName] IS NULL) OR ([MedicationName] = @Original_MedicationName)) AND ((@IsNull_IntakeMethod = 1 AND [IntakeMethod] IS NULL) OR ([IntakeMethod] = @Original_IntakeMethod)) AND ((@IsNull_Frequency = 1 AND [Frequency] IS NULL) OR ([Frequency] = @Original_Frequency)) AND ((@IsNull_Dosage = 1 AND [Dosage] IS NULL) OR ([Dosage] = @Original_Dosage)) AND ((@IsNull_Purpose = 1 AND [Purpose] IS NULL) OR ([Purpose] = @Original_Purpose)) AND ((@IsNull_RxNum = 1 AND [RxNum] IS NULL) OR ([RxNum] = @Original_RxNum)));
SELECT Medication_id, MedicationName, IntakeMethod, Frequency, Dosage, Purpose, RxNum FROM MEDICATIONS WHERE (Medication_id = @Medication_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Medication_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Medication_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MedicationName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IntakeMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Frequency" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Dosage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Purpose" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RxNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Medication_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Medication_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MedicationName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MedicationName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IntakeMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_IntakeMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Frequency" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Frequency" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dosage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Dosage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Purpose" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Purpose" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RxNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RxNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Medication_id" DataSetColumn="Medication_id" />
<Mapping SourceColumn="MedicationName" DataSetColumn="MedicationName" />
<Mapping SourceColumn="IntakeMethod" DataSetColumn="IntakeMethod" />
<Mapping SourceColumn="Frequency" DataSetColumn="Frequency" />
<Mapping SourceColumn="Dosage" DataSetColumn="Dosage" />
<Mapping SourceColumn="Purpose" DataSetColumn="Purpose" />
<Mapping SourceColumn="RxNum" DataSetColumn="RxNum" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PATIENTTableAdapter" GeneratorDataComponentClassName="PATIENTTableAdapter" Name="PATIENT" UserDataComponentName="PATIENTTableAdapter">
<MainSource>
<DbSource ConnectionRef="FinalProjectOfficialPharmacyConnectionString (Settings)" DbObjectName="FinalProjectOfficialPharmacy.dbo.PATIENT" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[PATIENT] WHERE (([Patient_id] = @Original_Patient_id) AND ((@IsNull_FirstName = 1 AND [FirstName] IS NULL) OR ([FirstName] = @Original_FirstName)) AND ((@IsNull_LastName = 1 AND [LastName] IS NULL) OR ([LastName] = @Original_LastName)) AND ((@IsNull_MiddleIntials = 1 AND [MiddleIntials] IS NULL) OR ([MiddleIntials] = @Original_MiddleIntials)) AND ((@IsNull_Zip = 1 AND [Zip] IS NULL) OR ([Zip] = @Original_Zip)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_UsState = 1 AND [UsState] IS NULL) OR ([UsState] = @Original_UsState)) AND ((@IsNull_lbs = 1 AND [lbs] IS NULL) OR ([lbs] = @Original_lbs)) AND ((@IsNull_Height_feet = 1 AND [Height_feet] IS NULL) OR ([Height_feet] = @Original_Height_feet)) AND ((@IsNull_Height_inches = 1 AND [Height_inches] IS NULL) OR ([Height_inches] = @Original_Height_inches)) AND ((@IsNull_Ailment = 1 AND [Ailment] IS NULL) OR ([Ailment] = @Original_Ailment)) AND ((@IsNull_DOB = 1 AND [DOB] IS NULL) OR ([DOB] = @Original_DOB)) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Patient_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Patient_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MiddleIntials" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Zip" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UsState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ailment" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Ailment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DOB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[PATIENT] ([Patient_id], [FirstName], [LastName], [MiddleIntials], [Zip], [City], [UsState], [lbs], [Height_feet], [Height_inches], [Ailment], [DOB], [PhoneNumber], [Gender]) VALUES (@Patient_id, @FirstName, @LastName, @MiddleIntials, @Zip, @City, @UsState, @lbs, @Height_feet, @Height_inches, @Ailment, @DOB, @PhoneNumber, @Gender);
SELECT Patient_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, lbs, Height_feet, Height_inches, Ailment, DOB, PhoneNumber, Gender FROM PATIENT WHERE (Patient_id = @Patient_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Patient_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Patient_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Ailment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Patient_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, lbs, Height_feet, Height_inches, Ailment, DOB, PhoneNumber, Gender FROM dbo.PATIENT</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[PATIENT] SET [Patient_id] = @Patient_id, [FirstName] = @FirstName, [LastName] = @LastName, [MiddleIntials] = @MiddleIntials, [Zip] = @Zip, [City] = @City, [UsState] = @UsState, [lbs] = @lbs, [Height_feet] = @Height_feet, [Height_inches] = @Height_inches, [Ailment] = @Ailment, [DOB] = @DOB, [PhoneNumber] = @PhoneNumber, [Gender] = @Gender WHERE (([Patient_id] = @Original_Patient_id) AND ((@IsNull_FirstName = 1 AND [FirstName] IS NULL) OR ([FirstName] = @Original_FirstName)) AND ((@IsNull_LastName = 1 AND [LastName] IS NULL) OR ([LastName] = @Original_LastName)) AND ((@IsNull_MiddleIntials = 1 AND [MiddleIntials] IS NULL) OR ([MiddleIntials] = @Original_MiddleIntials)) AND ((@IsNull_Zip = 1 AND [Zip] IS NULL) OR ([Zip] = @Original_Zip)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_UsState = 1 AND [UsState] IS NULL) OR ([UsState] = @Original_UsState)) AND ((@IsNull_lbs = 1 AND [lbs] IS NULL) OR ([lbs] = @Original_lbs)) AND ((@IsNull_Height_feet = 1 AND [Height_feet] IS NULL) OR ([Height_feet] = @Original_Height_feet)) AND ((@IsNull_Height_inches = 1 AND [Height_inches] IS NULL) OR ([Height_inches] = @Original_Height_inches)) AND ((@IsNull_Ailment = 1 AND [Ailment] IS NULL) OR ([Ailment] = @Original_Ailment)) AND ((@IsNull_DOB = 1 AND [DOB] IS NULL) OR ([DOB] = @Original_DOB)) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)));
SELECT Patient_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, lbs, Height_feet, Height_inches, Ailment, DOB, PhoneNumber, Gender FROM PATIENT WHERE (Patient_id = @Patient_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Patient_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Patient_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Ailment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Patient_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Patient_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MiddleIntials" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Zip" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UsState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ailment" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Ailment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DOB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Patient_id" DataSetColumn="Patient_id" />
<Mapping SourceColumn="FirstName" DataSetColumn="FirstName" />
<Mapping SourceColumn="LastName" DataSetColumn="LastName" />
<Mapping SourceColumn="MiddleIntials" DataSetColumn="MiddleIntials" />
<Mapping SourceColumn="Zip" DataSetColumn="Zip" />
<Mapping SourceColumn="City" DataSetColumn="City" />
<Mapping SourceColumn="UsState" DataSetColumn="UsState" />
<Mapping SourceColumn="lbs" DataSetColumn="lbs" />
<Mapping SourceColumn="Height_feet" DataSetColumn="Height_feet" />
<Mapping SourceColumn="Height_inches" DataSetColumn="Height_inches" />
<Mapping SourceColumn="Ailment" DataSetColumn="Ailment" />
<Mapping SourceColumn="DOB" DataSetColumn="DOB" />
<Mapping SourceColumn="PhoneNumber" DataSetColumn="PhoneNumber" />
<Mapping SourceColumn="Gender" DataSetColumn="Gender" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PHYSICIANTableAdapter" GeneratorDataComponentClassName="PHYSICIANTableAdapter" Name="PHYSICIAN" UserDataComponentName="PHYSICIANTableAdapter">
<MainSource>
<DbSource ConnectionRef="FinalProjectOfficialPharmacyConnectionString (Settings)" DbObjectName="FinalProjectOfficialPharmacy.dbo.PHYSICIAN" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[PHYSICIAN] WHERE (([Physician_id] = @Original_Physician_id) AND ((@IsNull_FirstName = 1 AND [FirstName] IS NULL) OR ([FirstName] = @Original_FirstName)) AND ((@IsNull_LastName = 1 AND [LastName] IS NULL) OR ([LastName] = @Original_LastName)) AND ((@IsNull_MiddleIntials = 1 AND [MiddleIntials] IS NULL) OR ([MiddleIntials] = @Original_MiddleIntials)) AND ((@IsNull_Zip = 1 AND [Zip] IS NULL) OR ([Zip] = @Original_Zip)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_UsState = 1 AND [UsState] IS NULL) OR ([UsState] = @Original_UsState)) AND ((@IsNull_DOB = 1 AND [DOB] IS NULL) OR ([DOB] = @Original_DOB)) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)) AND ((@IsNull_Specialty = 1 AND [Specialty] IS NULL) OR ([Specialty] = @Original_Specialty)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Physician_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Physician_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MiddleIntials" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Zip" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UsState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DOB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Specialty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Specialty" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[PHYSICIAN] ([Physician_id], [FirstName], [LastName], [MiddleIntials], [Zip], [City], [UsState], [DOB], [PhoneNumber], [Gender], [Specialty]) VALUES (@Physician_id, @FirstName, @LastName, @MiddleIntials, @Zip, @City, @UsState, @DOB, @PhoneNumber, @Gender, @Specialty);
SELECT Physician_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, DOB, PhoneNumber, Gender, Specialty FROM PHYSICIAN WHERE (Physician_id = @Physician_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Physician_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Physician_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Specialty" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Physician_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, DOB, PhoneNumber, Gender, Specialty FROM dbo.PHYSICIAN</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[PHYSICIAN] SET [Physician_id] = @Physician_id, [FirstName] = @FirstName, [LastName] = @LastName, [MiddleIntials] = @MiddleIntials, [Zip] = @Zip, [City] = @City, [UsState] = @UsState, [DOB] = @DOB, [PhoneNumber] = @PhoneNumber, [Gender] = @Gender, [Specialty] = @Specialty WHERE (([Physician_id] = @Original_Physician_id) AND ((@IsNull_FirstName = 1 AND [FirstName] IS NULL) OR ([FirstName] = @Original_FirstName)) AND ((@IsNull_LastName = 1 AND [LastName] IS NULL) OR ([LastName] = @Original_LastName)) AND ((@IsNull_MiddleIntials = 1 AND [MiddleIntials] IS NULL) OR ([MiddleIntials] = @Original_MiddleIntials)) AND ((@IsNull_Zip = 1 AND [Zip] IS NULL) OR ([Zip] = @Original_Zip)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_UsState = 1 AND [UsState] IS NULL) OR ([UsState] = @Original_UsState)) AND ((@IsNull_DOB = 1 AND [DOB] IS NULL) OR ([DOB] = @Original_DOB)) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)) AND ((@IsNull_Specialty = 1 AND [Specialty] IS NULL) OR ([Specialty] = @Original_Specialty)));
SELECT Physician_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, DOB, PhoneNumber, Gender, Specialty FROM PHYSICIAN WHERE (Physician_id = @Physician_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Physician_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Physician_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Specialty" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Physician_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Physician_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MiddleIntials" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Zip" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UsState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DOB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Specialty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Specialty" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Physician_id" DataSetColumn="Physician_id" />
<Mapping SourceColumn="FirstName" DataSetColumn="FirstName" />
<Mapping SourceColumn="LastName" DataSetColumn="LastName" />
<Mapping SourceColumn="MiddleIntials" DataSetColumn="MiddleIntials" />
<Mapping SourceColumn="Zip" DataSetColumn="Zip" />
<Mapping SourceColumn="City" DataSetColumn="City" />
<Mapping SourceColumn="UsState" DataSetColumn="UsState" />
<Mapping SourceColumn="DOB" DataSetColumn="DOB" />
<Mapping SourceColumn="PhoneNumber" DataSetColumn="PhoneNumber" />
<Mapping SourceColumn="Gender" DataSetColumn="Gender" />
<Mapping SourceColumn="Specialty" DataSetColumn="Specialty" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="REFILLSTableAdapter" GeneratorDataComponentClassName="REFILLSTableAdapter" Name="REFILLS" UserDataComponentName="REFILLSTableAdapter">
<MainSource>
<DbSource ConnectionRef="FinalProjectOfficialPharmacyConnectionString (Settings)" DbObjectName="FinalProjectOfficialPharmacy.dbo.REFILLS" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[REFILLS] WHERE (([Refill_id] = @Original_Refill_id) AND ((@IsNull_Numrefill = 1 AND [Numrefill] IS NULL) OR ([Numrefill] = @Original_Numrefill)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)) AND ((@IsNull_NotesAndComments = 1 AND [NotesAndComments] IS NULL) OR ([NotesAndComments] = @Original_NotesAndComments)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Refill_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Refill_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NotesAndComments" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_NotesAndComments" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[REFILLS] ([Refill_id], [Numrefill], [StartDate], [EndDate], [NotesAndComments]) VALUES (@Refill_id, @Numrefill, @StartDate, @EndDate, @NotesAndComments);
SELECT Refill_id, Numrefill, StartDate, EndDate, NotesAndComments FROM REFILLS WHERE (Refill_id = @Refill_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Refill_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Refill_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@NotesAndComments" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Refill_id, Numrefill, StartDate, EndDate, NotesAndComments FROM dbo.REFILLS</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[REFILLS] SET [Refill_id] = @Refill_id, [Numrefill] = @Numrefill, [StartDate] = @StartDate, [EndDate] = @EndDate, [NotesAndComments] = @NotesAndComments WHERE (([Refill_id] = @Original_Refill_id) AND ((@IsNull_Numrefill = 1 AND [Numrefill] IS NULL) OR ([Numrefill] = @Original_Numrefill)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)) AND ((@IsNull_NotesAndComments = 1 AND [NotesAndComments] IS NULL) OR ([NotesAndComments] = @Original_NotesAndComments)));
SELECT Refill_id, Numrefill, StartDate, EndDate, NotesAndComments FROM REFILLS WHERE (Refill_id = @Refill_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Refill_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Refill_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@NotesAndComments" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Refill_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Refill_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NotesAndComments" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_NotesAndComments" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Refill_id" DataSetColumn="Refill_id" />
<Mapping SourceColumn="Numrefill" DataSetColumn="Numrefill" />
<Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
<Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
<Mapping SourceColumn="NotesAndComments" DataSetColumn="NotesAndComments" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="FinalProjectOfficialPharmacyDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_UserDSName="FinalProjectOfficialPharmacyDataSet" msprop:Generator_DataSetName="FinalProjectOfficialPharmacyDataSet">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="MEDICATIONS" msprop:Generator_RowEvHandlerName="MEDICATIONSRowChangeEventHandler" msprop:Generator_RowDeletedName="MEDICATIONSRowDeleted" msprop:Generator_RowDeletingName="MEDICATIONSRowDeleting" msprop:Generator_RowEvArgName="MEDICATIONSRowChangeEvent" msprop:Generator_TablePropName="MEDICATIONS" msprop:Generator_RowChangedName="MEDICATIONSRowChanged" msprop:Generator_RowChangingName="MEDICATIONSRowChanging" msprop:Generator_TableClassName="MEDICATIONSDataTable" msprop:Generator_RowClassName="MEDICATIONSRow" msprop:Generator_TableVarName="tableMEDICATIONS" msprop:Generator_UserTableName="MEDICATIONS">
<xs:complexType>
<xs:sequence>
<xs:element name="Medication_id" msprop:Generator_ColumnPropNameInRow="Medication_id" msprop:Generator_ColumnPropNameInTable="Medication_idColumn" msprop:Generator_ColumnVarNameInTable="columnMedication_id" msprop:Generator_UserColumnName="Medication_id">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="7" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MedicationName" msprop:Generator_ColumnPropNameInRow="MedicationName" msprop:Generator_ColumnPropNameInTable="MedicationNameColumn" msprop:Generator_ColumnVarNameInTable="columnMedicationName" msprop:Generator_UserColumnName="MedicationName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="60" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IntakeMethod" msprop:Generator_ColumnPropNameInRow="IntakeMethod" msprop:Generator_ColumnPropNameInTable="IntakeMethodColumn" msprop:Generator_ColumnVarNameInTable="columnIntakeMethod" msprop:Generator_UserColumnName="IntakeMethod" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Frequency" msprop:Generator_ColumnPropNameInRow="Frequency" msprop:Generator_ColumnPropNameInTable="FrequencyColumn" msprop:Generator_ColumnVarNameInTable="columnFrequency" msprop:Generator_UserColumnName="Frequency" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Dosage" msprop:Generator_ColumnPropNameInRow="Dosage" msprop:Generator_ColumnPropNameInTable="DosageColumn" msprop:Generator_ColumnVarNameInTable="columnDosage" msprop:Generator_UserColumnName="Dosage" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Purpose" msprop:Generator_ColumnPropNameInRow="Purpose" msprop:Generator_ColumnPropNameInTable="PurposeColumn" msprop:Generator_ColumnVarNameInTable="columnPurpose" msprop:Generator_UserColumnName="Purpose" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RxNum" msprop:Generator_ColumnPropNameInRow="RxNum" msprop:Generator_ColumnPropNameInTable="RxNumColumn" msprop:Generator_ColumnVarNameInTable="columnRxNum" msprop:Generator_UserColumnName="RxNum" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="11" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PATIENT" msprop:Generator_RowEvHandlerName="PATIENTRowChangeEventHandler" msprop:Generator_RowDeletedName="PATIENTRowDeleted" msprop:Generator_RowDeletingName="PATIENTRowDeleting" msprop:Generator_RowEvArgName="PATIENTRowChangeEvent" msprop:Generator_TablePropName="PATIENT" msprop:Generator_RowChangedName="PATIENTRowChanged" msprop:Generator_RowChangingName="PATIENTRowChanging" msprop:Generator_TableClassName="PATIENTDataTable" msprop:Generator_RowClassName="PATIENTRow" msprop:Generator_TableVarName="tablePATIENT" msprop:Generator_UserTableName="PATIENT">
<xs:complexType>
<xs:sequence>
<xs:element name="Patient_id" msprop:Generator_ColumnPropNameInRow="Patient_id" msprop:Generator_ColumnPropNameInTable="Patient_idColumn" msprop:Generator_ColumnVarNameInTable="columnPatient_id" msprop:Generator_UserColumnName="Patient_id">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="8" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_UserColumnName="FirstName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_UserColumnName="LastName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MiddleIntials" msprop:Generator_ColumnPropNameInRow="MiddleIntials" msprop:Generator_ColumnPropNameInTable="MiddleIntialsColumn" msprop:Generator_ColumnVarNameInTable="columnMiddleIntials" msprop:Generator_UserColumnName="MiddleIntials" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Zip" msprop:Generator_ColumnPropNameInRow="Zip" msprop:Generator_ColumnPropNameInTable="ZipColumn" msprop:Generator_ColumnVarNameInTable="columnZip" msprop:Generator_UserColumnName="Zip" type="xs:short" minOccurs="0" />
<xs:element name="City" msprop:Generator_ColumnPropNameInRow="City" msprop:Generator_ColumnPropNameInTable="CityColumn" msprop:Generator_ColumnVarNameInTable="columnCity" msprop:Generator_UserColumnName="City" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UsState" msprop:Generator_ColumnPropNameInRow="UsState" msprop:Generator_ColumnPropNameInTable="UsStateColumn" msprop:Generator_ColumnVarNameInTable="columnUsState" msprop:Generator_UserColumnName="UsState" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="lbs" msprop:Generator_ColumnPropNameInRow="lbs" msprop:Generator_ColumnPropNameInTable="lbsColumn" msprop:Generator_ColumnVarNameInTable="columnlbs" msprop:Generator_UserColumnName="lbs" type="xs:int" minOccurs="0" />
<xs:element name="Height_feet" msprop:Generator_ColumnPropNameInRow="Height_feet" msprop:Generator_ColumnPropNameInTable="Height_feetColumn" msprop:Generator_ColumnVarNameInTable="columnHeight_feet" msprop:Generator_UserColumnName="Height_feet" type="xs:int" minOccurs="0" />
<xs:element name="Height_inches" msprop:Generator_ColumnPropNameInRow="Height_inches" msprop:Generator_ColumnPropNameInTable="Height_inchesColumn" msprop:Generator_ColumnVarNameInTable="columnHeight_inches" msprop:Generator_UserColumnName="Height_inches" type="xs:int" minOccurs="0" />
<xs:element name="Ailment" msprop:Generator_ColumnPropNameInRow="Ailment" msprop:Generator_ColumnPropNameInTable="AilmentColumn" msprop:Generator_ColumnVarNameInTable="columnAilment" msprop:Generator_UserColumnName="Ailment" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DOB" msprop:Generator_ColumnPropNameInRow="DOB" msprop:Generator_ColumnPropNameInTable="DOBColumn" msprop:Generator_ColumnVarNameInTable="columnDOB" msprop:Generator_UserColumnName="DOB" type="xs:dateTime" minOccurs="0" />
<xs:element name="PhoneNumber" msprop:Generator_ColumnPropNameInRow="PhoneNumber" msprop:Generator_ColumnPropNameInTable="PhoneNumberColumn" msprop:Generator_ColumnVarNameInTable="columnPhoneNumber" msprop:Generator_UserColumnName="PhoneNumber" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="14" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Gender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnPropNameInTable="GenderColumn" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_UserColumnName="Gender" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PHYSICIAN" msprop:Generator_RowEvHandlerName="PHYSICIANRowChangeEventHandler" msprop:Generator_RowDeletedName="PHYSICIANRowDeleted" msprop:Generator_RowDeletingName="PHYSICIANRowDeleting" msprop:Generator_RowEvArgName="PHYSICIANRowChangeEvent" msprop:Generator_TablePropName="PHYSICIAN" msprop:Generator_RowChangedName="PHYSICIANRowChanged" msprop:Generator_RowChangingName="PHYSICIANRowChanging" msprop:Generator_TableClassName="PHYSICIANDataTable" msprop:Generator_RowClassName="PHYSICIANRow" msprop:Generator_TableVarName="tablePHYSICIAN" msprop:Generator_UserTableName="PHYSICIAN">
<xs:complexType>
<xs:sequence>
<xs:element name="Physician_id" msprop:Generator_ColumnPropNameInRow="Physician_id" msprop:Generator_ColumnPropNameInTable="Physician_idColumn" msprop:Generator_ColumnVarNameInTable="columnPhysician_id" msprop:Generator_UserColumnName="Physician_id">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="8" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_UserColumnName="FirstName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_UserColumnName="LastName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MiddleIntials" msprop:Generator_ColumnPropNameInRow="MiddleIntials" msprop:Generator_ColumnPropNameInTable="MiddleIntialsColumn" msprop:Generator_ColumnVarNameInTable="columnMiddleIntials" msprop:Generator_UserColumnName="MiddleIntials" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Zip" msprop:Generator_ColumnPropNameInRow="Zip" msprop:Generator_ColumnPropNameInTable="ZipColumn" msprop:Generator_ColumnVarNameInTable="columnZip" msprop:Generator_UserColumnName="Zip" type="xs:short" minOccurs="0" />
<xs:element name="City" msprop:Generator_ColumnPropNameInRow="City" msprop:Generator_ColumnPropNameInTable="CityColumn" msprop:Generator_ColumnVarNameInTable="columnCity" msprop:Generator_UserColumnName="City" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UsState" msprop:Generator_ColumnPropNameInRow="UsState" msprop:Generator_ColumnPropNameInTable="UsStateColumn" msprop:Generator_ColumnVarNameInTable="columnUsState" msprop:Generator_UserColumnName="UsState" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DOB" msprop:Generator_ColumnPropNameInRow="DOB" msprop:Generator_ColumnPropNameInTable="DOBColumn" msprop:Generator_ColumnVarNameInTable="columnDOB" msprop:Generator_UserColumnName="DOB" type="xs:dateTime" minOccurs="0" />
<xs:element name="PhoneNumber" msprop:Generator_ColumnPropNameInRow="PhoneNumber" msprop:Generator_ColumnPropNameInTable="PhoneNumberColumn" msprop:Generator_ColumnVarNameInTable="columnPhoneNumber" msprop:Generator_UserColumnName="PhoneNumber" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="14" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Gender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnPropNameInTable="GenderColumn" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_UserColumnName="Gender" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Specialty" msprop:Generator_ColumnPropNameInRow="Specialty" msprop:Generator_ColumnPropNameInTable="SpecialtyColumn" msprop:Generator_ColumnVarNameInTable="columnSpecialty" msprop:Generator_UserColumnName="Specialty" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="REFILLS" msprop:Generator_RowEvHandlerName="REFILLSRowChangeEventHandler" msprop:Generator_RowDeletedName="REFILLSRowDeleted" msprop:Generator_RowDeletingName="REFILLSRowDeleting" msprop:Generator_RowEvArgName="REFILLSRowChangeEvent" msprop:Generator_TablePropName="REFILLS" msprop:Generator_RowChangedName="REFILLSRowChanged" msprop:Generator_RowChangingName="REFILLSRowChanging" msprop:Generator_TableClassName="REFILLSDataTable" msprop:Generator_RowClassName="REFILLSRow" msprop:Generator_TableVarName="tableREFILLS" msprop:Generator_UserTableName="REFILLS">
<xs:complexType>
<xs:sequence>
<xs:element name="Refill_id" msprop:Generator_ColumnPropNameInRow="Refill_id" msprop:Generator_ColumnPropNameInTable="Refill_idColumn" msprop:Generator_ColumnVarNameInTable="columnRefill_id" msprop:Generator_UserColumnName="Refill_id">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Numrefill" msprop:Generator_ColumnPropNameInRow="Numrefill" msprop:Generator_ColumnPropNameInTable="NumrefillColumn" msprop:Generator_ColumnVarNameInTable="columnNumrefill" msprop:Generator_UserColumnName="Numrefill" type="xs:int" minOccurs="0" />
<xs:element name="StartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_UserColumnName="StartDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="EndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_UserColumnName="EndDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="NotesAndComments" msprop:Generator_ColumnPropNameInRow="NotesAndComments" msprop:Generator_ColumnPropNameInTable="NotesAndCommentsColumn" msprop:Generator_ColumnVarNameInTable="columnNotesAndComments" msprop:Generator_UserColumnName="NotesAndComments" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:MEDICATIONS" />
<xs:field xpath="mstns:Medication_id" />
</xs:unique>
<xs:unique name="PATIENT_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:PATIENT" />
<xs:field xpath="mstns:Patient_id" />
</xs:unique>
<xs:unique name="PHYSICIAN_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:PHYSICIAN" />
<xs:field xpath="mstns:Physician_id" />
</xs:unique>
<xs:unique name="REFILLS_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:REFILLS" />
<xs:field xpath="mstns:Refill_id" />
</xs:unique>
</xs:element>
</xs:schema>

View File

@ -46,11 +46,6 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="FinalProjectOfficialPharmacyDataSet.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>FinalProjectOfficialPharmacyDataSet.xsd</DependentUpon>
</Compile>
<Compile Include="frmAbout.cs"> <Compile Include="frmAbout.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@ -125,17 +120,6 @@
<AutoGen>True</AutoGen> <AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon> <DependentUpon>Resources.resx</DependentUpon>
</Compile> </Compile>
<None Include="FinalProjectOfficialPharmacyDataSet.xsc">
<DependentUpon>FinalProjectOfficialPharmacyDataSet.xsd</DependentUpon>
</None>
<None Include="FinalProjectOfficialPharmacyDataSet.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>FinalProjectOfficialPharmacyDataSet.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</None>
<None Include="FinalProjectOfficialPharmacyDataSet.xss">
<DependentUpon>FinalProjectOfficialPharmacyDataSet.xsd</DependentUpon>
</None>
<None Include="Properties\Settings.settings"> <None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator> <Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput> <LastGenOutput>Settings.Designer.cs</LastGenOutput>

View File

@ -29,7 +29,6 @@ namespace Louis__Pharmacy_CNSA212_FP
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container();
System.Windows.Forms.Label lblPatientFirst; System.Windows.Forms.Label lblPatientFirst;
System.Windows.Forms.Label lblPatientLast; System.Windows.Forms.Label lblPatientLast;
System.Windows.Forms.Label lblPhysicianFirst; System.Windows.Forms.Label lblPhysicianFirst;
@ -39,25 +38,9 @@ namespace Louis__Pharmacy_CNSA212_FP
this.tbpPatient = new System.Windows.Forms.TabPage(); this.tbpPatient = new System.Windows.Forms.TabPage();
this.splcPatient = new System.Windows.Forms.SplitContainer(); this.splcPatient = new System.Windows.Forms.SplitContainer();
this.txtPatientLast = new System.Windows.Forms.TextBox(); this.txtPatientLast = new System.Windows.Forms.TextBox();
this.pATIENTBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.finalProjectOfficialPharmacyDataSet = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSet();
this.txtPatientFirst = new System.Windows.Forms.TextBox(); this.txtPatientFirst = new System.Windows.Forms.TextBox();
this.btnPatientSearch = new System.Windows.Forms.Button(); this.btnPatientSearch = new System.Windows.Forms.Button();
this.pATIENTDataGridView = new System.Windows.Forms.DataGridView(); this.pATIENTDataGridView = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tbpPrescription = new System.Windows.Forms.TabPage(); this.tbpPrescription = new System.Windows.Forms.TabPage();
this.splcPrescription = new System.Windows.Forms.SplitContainer(); this.splcPrescription = new System.Windows.Forms.SplitContainer();
this.btnPrescriptionSearch = new System.Windows.Forms.Button(); this.btnPrescriptionSearch = new System.Windows.Forms.Button();
@ -67,26 +50,10 @@ namespace Louis__Pharmacy_CNSA212_FP
this.lblRxNumber = new System.Windows.Forms.Label(); this.lblRxNumber = new System.Windows.Forms.Label();
this.tbpPhysician = new System.Windows.Forms.TabPage(); this.tbpPhysician = new System.Windows.Forms.TabPage();
this.splcPhysician = new System.Windows.Forms.SplitContainer(); this.splcPhysician = new System.Windows.Forms.SplitContainer();
this.pHYSICIANBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.btnPhysicianSearch = new System.Windows.Forms.Button();
this.pATIENTTableAdapter = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.PATIENTTableAdapter();
this.tableAdapterManager = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager();
this.pHYSICIANTableAdapter = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.PHYSICIANTableAdapter();
this.txtPhysicianFirst = new System.Windows.Forms.TextBox();
this.txtPhysicianLast = new System.Windows.Forms.TextBox(); this.txtPhysicianLast = new System.Windows.Forms.TextBox();
this.pHYSICIANBindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.txtPhysicianFirst = new System.Windows.Forms.TextBox();
this.btnPhysicianSearch = new System.Windows.Forms.Button();
this.pHYSICIANDataGridView = new System.Windows.Forms.DataGridView(); this.pHYSICIANDataGridView = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
lblPatientFirst = new System.Windows.Forms.Label(); lblPatientFirst = new System.Windows.Forms.Label();
lblPatientLast = new System.Windows.Forms.Label(); lblPatientLast = new System.Windows.Forms.Label();
lblPhysicianFirst = new System.Windows.Forms.Label(); lblPhysicianFirst = new System.Windows.Forms.Label();
@ -97,8 +64,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPatient.Panel1.SuspendLayout(); this.splcPatient.Panel1.SuspendLayout();
this.splcPatient.Panel2.SuspendLayout(); this.splcPatient.Panel2.SuspendLayout();
this.splcPatient.SuspendLayout(); this.splcPatient.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pATIENTBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.finalProjectOfficialPharmacyDataSet)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).BeginInit();
this.tbpPrescription.SuspendLayout(); this.tbpPrescription.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).BeginInit();
@ -109,8 +74,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPhysician.Panel1.SuspendLayout(); this.splcPhysician.Panel1.SuspendLayout();
this.splcPhysician.Panel2.SuspendLayout(); this.splcPhysician.Panel2.SuspendLayout();
this.splcPhysician.SuspendLayout(); this.splcPhysician.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pHYSICIANBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pHYSICIANBindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pHYSICIANDataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pHYSICIANDataGridView)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
@ -132,6 +95,24 @@ namespace Louis__Pharmacy_CNSA212_FP
lblPatientLast.TabIndex = 5; lblPatientLast.TabIndex = 5;
lblPatientLast.Text = "Last Name:"; lblPatientLast.Text = "Last Name:";
// //
// lblPhysicianFirst
//
lblPhysicianFirst.AutoSize = true;
lblPhysicianFirst.Location = new System.Drawing.Point(24, 26);
lblPhysicianFirst.Name = "lblPhysicianFirst";
lblPhysicianFirst.Size = new System.Drawing.Size(60, 13);
lblPhysicianFirst.TabIndex = 4;
lblPhysicianFirst.Text = "First Name:";
//
// lblPhysicianLast
//
lblPhysicianLast.AutoSize = true;
lblPhysicianLast.Location = new System.Drawing.Point(23, 70);
lblPhysicianLast.Name = "lblPhysicianLast";
lblPhysicianLast.Size = new System.Drawing.Size(61, 13);
lblPhysicianLast.TabIndex = 5;
lblPhysicianLast.Text = "Last Name:";
//
// tbcInfo // tbcInfo
// //
this.tbcInfo.Controls.Add(this.tbpPatient); this.tbcInfo.Controls.Add(this.tbpPatient);
@ -178,25 +159,13 @@ namespace Louis__Pharmacy_CNSA212_FP
// //
// txtPatientLast // txtPatientLast
// //
this.txtPatientLast.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pATIENTBindingSource, "LastName", true));
this.txtPatientLast.Location = new System.Drawing.Point(87, 66); this.txtPatientLast.Location = new System.Drawing.Point(87, 66);
this.txtPatientLast.Name = "txtPatientLast"; this.txtPatientLast.Name = "txtPatientLast";
this.txtPatientLast.Size = new System.Drawing.Size(100, 20); this.txtPatientLast.Size = new System.Drawing.Size(100, 20);
this.txtPatientLast.TabIndex = 6; this.txtPatientLast.TabIndex = 6;
// //
// pATIENTBindingSource
//
this.pATIENTBindingSource.DataMember = "PATIENT";
this.pATIENTBindingSource.DataSource = this.finalProjectOfficialPharmacyDataSet;
//
// finalProjectOfficialPharmacyDataSet
//
this.finalProjectOfficialPharmacyDataSet.DataSetName = "FinalProjectOfficialPharmacyDataSet";
this.finalProjectOfficialPharmacyDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// txtPatientFirst // txtPatientFirst
// //
this.txtPatientFirst.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pATIENTBindingSource, "FirstName", true));
this.txtPatientFirst.Location = new System.Drawing.Point(86, 25); this.txtPatientFirst.Location = new System.Drawing.Point(86, 25);
this.txtPatientFirst.Name = "txtPatientFirst"; this.txtPatientFirst.Name = "txtPatientFirst";
this.txtPatientFirst.Size = new System.Drawing.Size(100, 20); this.txtPatientFirst.Size = new System.Drawing.Size(100, 20);
@ -216,128 +185,13 @@ namespace Louis__Pharmacy_CNSA212_FP
// //
this.pATIENTDataGridView.AllowUserToAddRows = false; this.pATIENTDataGridView.AllowUserToAddRows = false;
this.pATIENTDataGridView.AllowUserToDeleteRows = false; this.pATIENTDataGridView.AllowUserToDeleteRows = false;
this.pATIENTDataGridView.AutoGenerateColumns = false;
this.pATIENTDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.pATIENTDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.pATIENTDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn1,
this.dataGridViewTextBoxColumn2,
this.dataGridViewTextBoxColumn3,
this.dataGridViewTextBoxColumn4,
this.dataGridViewTextBoxColumn5,
this.dataGridViewTextBoxColumn6,
this.dataGridViewTextBoxColumn7,
this.dataGridViewTextBoxColumn8,
this.dataGridViewTextBoxColumn9,
this.dataGridViewTextBoxColumn10,
this.dataGridViewTextBoxColumn11,
this.dataGridViewTextBoxColumn12,
this.dataGridViewTextBoxColumn13,
this.dataGridViewTextBoxColumn14});
this.pATIENTDataGridView.DataSource = this.pATIENTBindingSource;
this.pATIENTDataGridView.Location = new System.Drawing.Point(3, 3); this.pATIENTDataGridView.Location = new System.Drawing.Point(3, 3);
this.pATIENTDataGridView.Name = "pATIENTDataGridView"; this.pATIENTDataGridView.Name = "pATIENTDataGridView";
this.pATIENTDataGridView.ReadOnly = true; this.pATIENTDataGridView.ReadOnly = true;
this.pATIENTDataGridView.Size = new System.Drawing.Size(652, 219); this.pATIENTDataGridView.Size = new System.Drawing.Size(652, 219);
this.pATIENTDataGridView.TabIndex = 0; this.pATIENTDataGridView.TabIndex = 0;
// //
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "Patient_id";
this.dataGridViewTextBoxColumn1.HeaderText = "Patient_id";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.DataPropertyName = "FirstName";
this.dataGridViewTextBoxColumn2.HeaderText = "FirstName";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.ReadOnly = true;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.DataPropertyName = "LastName";
this.dataGridViewTextBoxColumn3.HeaderText = "LastName";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.ReadOnly = true;
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.DataPropertyName = "MiddleIntials";
this.dataGridViewTextBoxColumn4.HeaderText = "MiddleIntials";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.ReadOnly = true;
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "Zip";
this.dataGridViewTextBoxColumn5.HeaderText = "Zip";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
this.dataGridViewTextBoxColumn5.ReadOnly = true;
//
// dataGridViewTextBoxColumn6
//
this.dataGridViewTextBoxColumn6.DataPropertyName = "City";
this.dataGridViewTextBoxColumn6.HeaderText = "City";
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.ReadOnly = true;
//
// dataGridViewTextBoxColumn7
//
this.dataGridViewTextBoxColumn7.DataPropertyName = "UsState";
this.dataGridViewTextBoxColumn7.HeaderText = "UsState";
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
this.dataGridViewTextBoxColumn7.ReadOnly = true;
//
// dataGridViewTextBoxColumn8
//
this.dataGridViewTextBoxColumn8.DataPropertyName = "lbs";
this.dataGridViewTextBoxColumn8.HeaderText = "lbs";
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
this.dataGridViewTextBoxColumn8.ReadOnly = true;
//
// dataGridViewTextBoxColumn9
//
this.dataGridViewTextBoxColumn9.DataPropertyName = "Height_feet";
this.dataGridViewTextBoxColumn9.HeaderText = "Height_feet";
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
this.dataGridViewTextBoxColumn9.ReadOnly = true;
//
// dataGridViewTextBoxColumn10
//
this.dataGridViewTextBoxColumn10.DataPropertyName = "Height_inches";
this.dataGridViewTextBoxColumn10.HeaderText = "Height_inches";
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
this.dataGridViewTextBoxColumn10.ReadOnly = true;
//
// dataGridViewTextBoxColumn11
//
this.dataGridViewTextBoxColumn11.DataPropertyName = "Ailment";
this.dataGridViewTextBoxColumn11.HeaderText = "Ailment";
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
this.dataGridViewTextBoxColumn11.ReadOnly = true;
//
// dataGridViewTextBoxColumn12
//
this.dataGridViewTextBoxColumn12.DataPropertyName = "DOB";
this.dataGridViewTextBoxColumn12.HeaderText = "DOB";
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
this.dataGridViewTextBoxColumn12.ReadOnly = true;
//
// dataGridViewTextBoxColumn13
//
this.dataGridViewTextBoxColumn13.DataPropertyName = "PhoneNumber";
this.dataGridViewTextBoxColumn13.HeaderText = "PhoneNumber";
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
this.dataGridViewTextBoxColumn13.ReadOnly = true;
//
// dataGridViewTextBoxColumn14
//
this.dataGridViewTextBoxColumn14.DataPropertyName = "Gender";
this.dataGridViewTextBoxColumn14.HeaderText = "Gender";
this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
this.dataGridViewTextBoxColumn14.ReadOnly = true;
//
// tbpPrescription // tbpPrescription
// //
this.tbpPrescription.Controls.Add(this.splcPrescription); this.tbpPrescription.Controls.Add(this.splcPrescription);
@ -444,10 +298,19 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPhysician.SplitterDistance = 183; this.splcPhysician.SplitterDistance = 183;
this.splcPhysician.TabIndex = 0; this.splcPhysician.TabIndex = 0;
// //
// pHYSICIANBindingSource // txtPhysicianLast
// //
this.pHYSICIANBindingSource.DataMember = "PHYSICIAN"; this.txtPhysicianLast.Location = new System.Drawing.Point(90, 67);
this.pHYSICIANBindingSource.DataSource = this.finalProjectOfficialPharmacyDataSet; this.txtPhysicianLast.Name = "txtPhysicianLast";
this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianLast.TabIndex = 6;
//
// txtPhysicianFirst
//
this.txtPhysicianFirst.Location = new System.Drawing.Point(90, 23);
this.txtPhysicianFirst.Name = "txtPhysicianFirst";
this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianFirst.TabIndex = 5;
// //
// btnPhysicianSearch // btnPhysicianSearch
// //
@ -458,164 +321,17 @@ namespace Louis__Pharmacy_CNSA212_FP
this.btnPhysicianSearch.Text = "Search"; this.btnPhysicianSearch.Text = "Search";
this.btnPhysicianSearch.UseVisualStyleBackColor = true; this.btnPhysicianSearch.UseVisualStyleBackColor = true;
// //
// pATIENTTableAdapter
//
this.pATIENTTableAdapter.ClearBeforeFill = true;
//
// tableAdapterManager
//
this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
this.tableAdapterManager.MEDICATIONSTableAdapter = null;
this.tableAdapterManager.PATIENTTableAdapter = this.pATIENTTableAdapter;
this.tableAdapterManager.PHYSICIANTableAdapter = this.pHYSICIANTableAdapter;
this.tableAdapterManager.REFILLSTableAdapter = null;
this.tableAdapterManager.UpdateOrder = Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// pHYSICIANTableAdapter
//
this.pHYSICIANTableAdapter.ClearBeforeFill = true;
//
// lblPhysicianFirst
//
lblPhysicianFirst.AutoSize = true;
lblPhysicianFirst.Location = new System.Drawing.Point(24, 26);
lblPhysicianFirst.Name = "lblPhysicianFirst";
lblPhysicianFirst.Size = new System.Drawing.Size(60, 13);
lblPhysicianFirst.TabIndex = 4;
lblPhysicianFirst.Text = "First Name:";
//
// txtPhysicianFirst
//
this.txtPhysicianFirst.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pHYSICIANBindingSource, "FirstName", true));
this.txtPhysicianFirst.Location = new System.Drawing.Point(90, 23);
this.txtPhysicianFirst.Name = "txtPhysicianFirst";
this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianFirst.TabIndex = 5;
//
// lblPhysicianLast
//
lblPhysicianLast.AutoSize = true;
lblPhysicianLast.Location = new System.Drawing.Point(23, 70);
lblPhysicianLast.Name = "lblPhysicianLast";
lblPhysicianLast.Size = new System.Drawing.Size(61, 13);
lblPhysicianLast.TabIndex = 5;
lblPhysicianLast.Text = "Last Name:";
//
// txtPhysicianLast
//
this.txtPhysicianLast.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pHYSICIANBindingSource, "LastName", true));
this.txtPhysicianLast.Location = new System.Drawing.Point(90, 67);
this.txtPhysicianLast.Name = "txtPhysicianLast";
this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianLast.TabIndex = 6;
//
// pHYSICIANBindingSource1
//
this.pHYSICIANBindingSource1.DataMember = "PHYSICIAN";
this.pHYSICIANBindingSource1.DataSource = this.finalProjectOfficialPharmacyDataSet;
//
// pHYSICIANDataGridView // pHYSICIANDataGridView
// //
this.pHYSICIANDataGridView.AllowUserToAddRows = false; this.pHYSICIANDataGridView.AllowUserToAddRows = false;
this.pHYSICIANDataGridView.AllowUserToDeleteRows = false; this.pHYSICIANDataGridView.AllowUserToDeleteRows = false;
this.pHYSICIANDataGridView.AutoGenerateColumns = false;
this.pHYSICIANDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.pHYSICIANDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.pHYSICIANDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn15,
this.dataGridViewTextBoxColumn16,
this.dataGridViewTextBoxColumn17,
this.dataGridViewTextBoxColumn18,
this.dataGridViewTextBoxColumn19,
this.dataGridViewTextBoxColumn20,
this.dataGridViewTextBoxColumn21,
this.dataGridViewTextBoxColumn22,
this.dataGridViewTextBoxColumn23,
this.dataGridViewTextBoxColumn24,
this.dataGridViewTextBoxColumn25});
this.pHYSICIANDataGridView.DataSource = this.pHYSICIANBindingSource;
this.pHYSICIANDataGridView.Location = new System.Drawing.Point(3, 3); this.pHYSICIANDataGridView.Location = new System.Drawing.Point(3, 3);
this.pHYSICIANDataGridView.Name = "pHYSICIANDataGridView"; this.pHYSICIANDataGridView.Name = "pHYSICIANDataGridView";
this.pHYSICIANDataGridView.ReadOnly = true; this.pHYSICIANDataGridView.ReadOnly = true;
this.pHYSICIANDataGridView.Size = new System.Drawing.Size(646, 216); this.pHYSICIANDataGridView.Size = new System.Drawing.Size(646, 216);
this.pHYSICIANDataGridView.TabIndex = 0; this.pHYSICIANDataGridView.TabIndex = 0;
// //
// dataGridViewTextBoxColumn15
//
this.dataGridViewTextBoxColumn15.DataPropertyName = "Physician_id";
this.dataGridViewTextBoxColumn15.HeaderText = "Physician_id";
this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
this.dataGridViewTextBoxColumn15.ReadOnly = true;
//
// dataGridViewTextBoxColumn16
//
this.dataGridViewTextBoxColumn16.DataPropertyName = "FirstName";
this.dataGridViewTextBoxColumn16.HeaderText = "FirstName";
this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
this.dataGridViewTextBoxColumn16.ReadOnly = true;
//
// dataGridViewTextBoxColumn17
//
this.dataGridViewTextBoxColumn17.DataPropertyName = "LastName";
this.dataGridViewTextBoxColumn17.HeaderText = "LastName";
this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
this.dataGridViewTextBoxColumn17.ReadOnly = true;
//
// dataGridViewTextBoxColumn18
//
this.dataGridViewTextBoxColumn18.DataPropertyName = "MiddleIntials";
this.dataGridViewTextBoxColumn18.HeaderText = "MiddleIntials";
this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
this.dataGridViewTextBoxColumn18.ReadOnly = true;
//
// dataGridViewTextBoxColumn19
//
this.dataGridViewTextBoxColumn19.DataPropertyName = "Zip";
this.dataGridViewTextBoxColumn19.HeaderText = "Zip";
this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
this.dataGridViewTextBoxColumn19.ReadOnly = true;
//
// dataGridViewTextBoxColumn20
//
this.dataGridViewTextBoxColumn20.DataPropertyName = "City";
this.dataGridViewTextBoxColumn20.HeaderText = "City";
this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
this.dataGridViewTextBoxColumn20.ReadOnly = true;
//
// dataGridViewTextBoxColumn21
//
this.dataGridViewTextBoxColumn21.DataPropertyName = "UsState";
this.dataGridViewTextBoxColumn21.HeaderText = "UsState";
this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
this.dataGridViewTextBoxColumn21.ReadOnly = true;
//
// dataGridViewTextBoxColumn22
//
this.dataGridViewTextBoxColumn22.DataPropertyName = "DOB";
this.dataGridViewTextBoxColumn22.HeaderText = "DOB";
this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
this.dataGridViewTextBoxColumn22.ReadOnly = true;
//
// dataGridViewTextBoxColumn23
//
this.dataGridViewTextBoxColumn23.DataPropertyName = "PhoneNumber";
this.dataGridViewTextBoxColumn23.HeaderText = "PhoneNumber";
this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
this.dataGridViewTextBoxColumn23.ReadOnly = true;
//
// dataGridViewTextBoxColumn24
//
this.dataGridViewTextBoxColumn24.DataPropertyName = "Gender";
this.dataGridViewTextBoxColumn24.HeaderText = "Gender";
this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
this.dataGridViewTextBoxColumn24.ReadOnly = true;
//
// dataGridViewTextBoxColumn25
//
this.dataGridViewTextBoxColumn25.DataPropertyName = "Specialty";
this.dataGridViewTextBoxColumn25.HeaderText = "Specialty";
this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25";
this.dataGridViewTextBoxColumn25.ReadOnly = true;
//
// frmInfo // frmInfo
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -634,8 +350,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPatient.Panel2.ResumeLayout(false); this.splcPatient.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit();
this.splcPatient.ResumeLayout(false); this.splcPatient.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pATIENTBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.finalProjectOfficialPharmacyDataSet)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).EndInit();
this.tbpPrescription.ResumeLayout(false); this.tbpPrescription.ResumeLayout(false);
this.splcPrescription.Panel1.ResumeLayout(false); this.splcPrescription.Panel1.ResumeLayout(false);
@ -648,8 +362,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPhysician.Panel2.ResumeLayout(false); this.splcPhysician.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit();
this.splcPhysician.ResumeLayout(false); this.splcPhysician.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pHYSICIANBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pHYSICIANBindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pHYSICIANDataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pHYSICIANDataGridView)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
@ -670,43 +382,11 @@ namespace Louis__Pharmacy_CNSA212_FP
private System.Windows.Forms.TextBox txtPrescriptionLast; private System.Windows.Forms.TextBox txtPrescriptionLast;
private System.Windows.Forms.Button btnPrescriptionSearch; private System.Windows.Forms.Button btnPrescriptionSearch;
private System.Windows.Forms.Button btnPhysicianSearch; private System.Windows.Forms.Button btnPhysicianSearch;
private FinalProjectOfficialPharmacyDataSet finalProjectOfficialPharmacyDataSet;
private System.Windows.Forms.BindingSource pATIENTBindingSource;
private FinalProjectOfficialPharmacyDataSetTableAdapters.PATIENTTableAdapter pATIENTTableAdapter;
private FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager tableAdapterManager;
private System.Windows.Forms.TextBox txtPatientLast; private System.Windows.Forms.TextBox txtPatientLast;
private System.Windows.Forms.TextBox txtPatientFirst; private System.Windows.Forms.TextBox txtPatientFirst;
private System.Windows.Forms.DataGridView pATIENTDataGridView; private System.Windows.Forms.DataGridView pATIENTDataGridView;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
private FinalProjectOfficialPharmacyDataSetTableAdapters.PHYSICIANTableAdapter pHYSICIANTableAdapter;
private System.Windows.Forms.BindingSource pHYSICIANBindingSource;
private System.Windows.Forms.TextBox txtPhysicianLast; private System.Windows.Forms.TextBox txtPhysicianLast;
private System.Windows.Forms.TextBox txtPhysicianFirst; private System.Windows.Forms.TextBox txtPhysicianFirst;
private System.Windows.Forms.BindingSource pHYSICIANBindingSource1;
private System.Windows.Forms.DataGridView pHYSICIANDataGridView; private System.Windows.Forms.DataGridView pHYSICIANDataGridView;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn24;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn25;
} }
} }

View File

@ -19,12 +19,6 @@ namespace Louis__Pharmacy_CNSA212_FP
private void frmInfo_Load(object sender, EventArgs e) private void frmInfo_Load(object sender, EventArgs e)
{ {
// TODO: This line of code loads data into the 'finalProjectOfficialPharmacyDataSet.PHYSICIAN' table. You can move, or remove it, as needed.
this.pHYSICIANTableAdapter.Fill(this.finalProjectOfficialPharmacyDataSet.PHYSICIAN);
// TODO: This line of code loads data into the 'finalProjectOfficialPharmacyDataSet.PATIENT' table. You can move, or remove it, as needed.
this.pATIENTTableAdapter.Fill(this.finalProjectOfficialPharmacyDataSet.PATIENT);
// TODO: This line of code loads data into the 'fPCASDataSet.patientCount' table. You can move, or remove it, as needed.
//this.patientCountTableAdapter.Fill(this.FPCASDataSet.patientCount);
} }
@ -35,9 +29,6 @@ namespace Louis__Pharmacy_CNSA212_FP
private void pATIENTBindingNavigatorSaveItem_Click(object sender, EventArgs e) private void pATIENTBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{ {
this.Validate();
this.pATIENTBindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.finalProjectOfficialPharmacyDataSet);
} }
} }

View File

@ -123,32 +123,11 @@
<metadata name="lblPatientLast.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="lblPatientLast.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value> <value>False</value>
</metadata> </metadata>
<metadata name="pATIENTBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>262, 17</value>
</metadata>
<metadata name="finalProjectOfficialPharmacyDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="lblPhysicianLast.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="pHYSICIANBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>773, 17</value>
</metadata>
<metadata name="lblPhysicianFirst.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="lblPhysicianFirst.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value> <value>False</value>
</metadata> </metadata>
<metadata name="pATIENTTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="lblPhysicianLast.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>437, 17</value> <value>False</value>
</metadata>
<metadata name="tableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>604, 17</value>
</metadata>
<metadata name="pHYSICIANTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>964, 17</value>
</metadata>
<metadata name="pHYSICIANBindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1147, 17</value>
</metadata> </metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@ -40,7 +40,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.rEFILLSBindingSource = new System.Windows.Forms.BindingSource(this.components); this.rEFILLSBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.finalProjectOfficialPharmacyDataSet = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSet();
this.tbUpdateRefill = new System.Windows.Forms.TabPage(); this.tbUpdateRefill = new System.Windows.Forms.TabPage();
this.rEFILLSDataGridView1 = new System.Windows.Forms.DataGridView(); this.rEFILLSDataGridView1 = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@ -55,8 +54,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.rEFILLSTableAdapter = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.REFILLSTableAdapter();
this.tableAdapterManager = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager();
this.rEFILLSBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components); this.rEFILLSBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components);
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
@ -74,7 +71,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.tbAddRefill.SuspendLayout(); this.tbAddRefill.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rEFILLSBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rEFILLSBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.finalProjectOfficialPharmacyDataSet)).BeginInit();
this.tbUpdateRefill.SuspendLayout(); this.tbUpdateRefill.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView1)).BeginInit();
this.tbDeleteRefill.SuspendLayout(); this.tbDeleteRefill.SuspendLayout();
@ -153,16 +149,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.dataGridViewTextBoxColumn5.HeaderText = "NotesAndComments"; this.dataGridViewTextBoxColumn5.HeaderText = "NotesAndComments";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
// //
// rEFILLSBindingSource
//
this.rEFILLSBindingSource.DataMember = "REFILLS";
this.rEFILLSBindingSource.DataSource = this.finalProjectOfficialPharmacyDataSet;
//
// finalProjectOfficialPharmacyDataSet
//
this.finalProjectOfficialPharmacyDataSet.DataSetName = "FinalProjectOfficialPharmacyDataSet";
this.finalProjectOfficialPharmacyDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// tbUpdateRefill // tbUpdateRefill
// //
this.tbUpdateRefill.AutoScroll = true; this.tbUpdateRefill.AutoScroll = true;
@ -287,144 +273,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
this.dataGridViewTextBoxColumn15.ReadOnly = true; this.dataGridViewTextBoxColumn15.ReadOnly = true;
// //
// rEFILLSTableAdapter
//
this.rEFILLSTableAdapter.ClearBeforeFill = true;
//
// tableAdapterManager
//
this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
this.tableAdapterManager.MEDICATIONSTableAdapter = null;
this.tableAdapterManager.PATIENTTableAdapter = null;
this.tableAdapterManager.PHYSICIANTableAdapter = null;
this.tableAdapterManager.REFILLSTableAdapter = this.rEFILLSTableAdapter;
this.tableAdapterManager.UpdateOrder = Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// rEFILLSBindingNavigator
//
this.rEFILLSBindingNavigator.AddNewItem = this.bindingNavigatorAddNewItem;
this.rEFILLSBindingNavigator.BindingSource = this.rEFILLSBindingSource;
this.rEFILLSBindingNavigator.CountItem = this.bindingNavigatorCountItem;
this.rEFILLSBindingNavigator.DeleteItem = this.bindingNavigatorDeleteItem;
this.rEFILLSBindingNavigator.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.bindingNavigatorMoveFirstItem,
this.bindingNavigatorMovePreviousItem,
this.bindingNavigatorSeparator,
this.bindingNavigatorPositionItem,
this.bindingNavigatorCountItem,
this.bindingNavigatorSeparator1,
this.bindingNavigatorMoveNextItem,
this.bindingNavigatorMoveLastItem,
this.bindingNavigatorSeparator2,
this.bindingNavigatorAddNewItem,
this.bindingNavigatorDeleteItem,
this.rEFILLSBindingNavigatorSaveItem});
this.rEFILLSBindingNavigator.Location = new System.Drawing.Point(0, 0);
this.rEFILLSBindingNavigator.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.rEFILLSBindingNavigator.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.rEFILLSBindingNavigator.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.rEFILLSBindingNavigator.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.rEFILLSBindingNavigator.Name = "rEFILLSBindingNavigator";
this.rEFILLSBindingNavigator.PositionItem = this.bindingNavigatorPositionItem;
this.rEFILLSBindingNavigator.Size = new System.Drawing.Size(631, 25);
this.rEFILLSBindingNavigator.TabIndex = 1;
this.rEFILLSBindingNavigator.Text = "bindingNavigator1";
//
// bindingNavigatorAddNewItem
//
this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorAddNewItem.Text = "Add new";
//
// bindingNavigatorCountItem
//
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(35, 22);
this.bindingNavigatorCountItem.Text = "of {0}";
this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
//
// bindingNavigatorDeleteItem
//
this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorDeleteItem.Text = "Delete";
//
// bindingNavigatorMoveFirstItem
//
this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "Move first";
//
// bindingNavigatorMovePreviousItem
//
this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "Move previous";
//
// bindingNavigatorSeparator
//
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("Segoe UI", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
//
// bindingNavigatorMoveNextItem
//
this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "Move next";
//
// bindingNavigatorMoveLastItem
//
this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "Move last";
//
// bindingNavigatorSeparator2
//
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
//
// rEFILLSBindingNavigatorSaveItem
//
this.rEFILLSBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.rEFILLSBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("rEFILLSBindingNavigatorSaveItem.Image")));
this.rEFILLSBindingNavigatorSaveItem.Name = "rEFILLSBindingNavigatorSaveItem";
this.rEFILLSBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
this.rEFILLSBindingNavigatorSaveItem.Text = "Save Data";
this.rEFILLSBindingNavigatorSaveItem.Click += new System.EventHandler(this.rEFILLSBindingNavigatorSaveItem_Click);
//
// frmRefill // frmRefill
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -441,7 +289,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.tbAddRefill.ResumeLayout(false); this.tbAddRefill.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.rEFILLSBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rEFILLSBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.finalProjectOfficialPharmacyDataSet)).EndInit();
this.tbUpdateRefill.ResumeLayout(false); this.tbUpdateRefill.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rEFILLSDataGridView1)).EndInit();
this.tbDeleteRefill.ResumeLayout(false); this.tbDeleteRefill.ResumeLayout(false);
@ -460,10 +307,7 @@ namespace Louis__Pharmacy_CNSA212_FP
private System.Windows.Forms.TabPage tbAddRefill; private System.Windows.Forms.TabPage tbAddRefill;
private System.Windows.Forms.TabPage tbUpdateRefill; private System.Windows.Forms.TabPage tbUpdateRefill;
private System.Windows.Forms.TabPage tbDeleteRefill; private System.Windows.Forms.TabPage tbDeleteRefill;
private FinalProjectOfficialPharmacyDataSet finalProjectOfficialPharmacyDataSet;
private System.Windows.Forms.BindingSource rEFILLSBindingSource; private System.Windows.Forms.BindingSource rEFILLSBindingSource;
private FinalProjectOfficialPharmacyDataSetTableAdapters.REFILLSTableAdapter rEFILLSTableAdapter;
private FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager tableAdapterManager;
private System.Windows.Forms.BindingNavigator rEFILLSBindingNavigator; private System.Windows.Forms.BindingNavigator rEFILLSBindingNavigator;
private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem;
private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem;

View File

@ -19,9 +19,6 @@ namespace Louis__Pharmacy_CNSA212_FP
private void rEFILLSBindingNavigatorSaveItem_Click(object sender, EventArgs e) private void rEFILLSBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{ {
this.Validate();
this.rEFILLSBindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.finalProjectOfficialPharmacyDataSet);
} }