Click here to Skip to main content
15,895,656 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,

I am a beginner in asp.net. c#

I am working on a project. I have a form with a dropdown list(List of Employees) with value from SQL Table.(TableName- EmployeeDB)

I want to get the mobile number, father name, designation, employee status from SQL Table(EmployeeDB) to 4 Text Boxes when i select a EmployeeName from dropdownlist1. (example: Employee Name. When i Select Employee Name his mobile number, father name, designation, employee status to be shown in TextBox1,TextBox2,TextBox3,TextBox4.

Please help with a simple code for this issue.

Your code will help me learn.

What I have tried:

Just created a Form with dropdown and text boxes.

autopostback on dropdownlist1
Posted
Updated 22-Mar-17 20:50pm

1 solution

 
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