-
Code to search Customer name from Customer ID
I have one textbox like ID (Cust_ID), Search Button and a Label , When I click on the Button, then search ID in the Database (oracle) then Name(Cust_Name) will be displayed in the label, For this what will I do..?
Plz.. give the Oracle code and help me...
Question asked by visitor Purna
-
Expert Member
Re: Code to search Customer name from Customer ID
Hi Purna,
Use this query,
SELECT cust_name FROM CUSTOMER
WHERE cust_id = ID;
ID is the passed textbox value.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules