Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello sir,
I had created the PatientFirstname(P_FNAME) with textbox,P_LName(lastname)with textbox,& P_MName(middlename)with textbox and also i had created the P_FNAME,P_MNAME,P_LNAME fields in the MSSQL.So what i need is-


1. If i enter the textbox of P_FName(FIRSTNAME) in the output window other P_MNAME& P_LNAME has to be automatically displayed in their textboxes.
OR

2. If i enter the textbox of P_MName(MIDDLENAME) in the output window other P_FNAME& P_LNAME has to be automatically displayed in their textboxes.

3. and viceversa for P_LNAME(lastname).

Here for all the fields(P_FNAME,P_MNAME,P_LNAME) i had already entered the name in there columns.So how to retrieve from MSSQL into there textboxs.
<b>Plz do help me in this regard.
</b>
Thanks,
Pradeep CBZ
Posted
Comments
Sergey Alexandrovich Kryukov 5-Feb-12 15:16pm    
From what? (I actually mean the title.)
--SA

1 solution

There are many ways to do it.

To help you, please check the link given below

Three Layer Architecture in C# .NET[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900