Hi all,
I am creating a database for Employees. In that I have some issues.

I am trying to bind my data using data source. In the list box properties I set
lstemp.Datasource = Employeedatabase
lstemp.Displaymember = "EmplyeeName"
lstemp.Valuemember = "EmplyeeId"

I want to get my employee Id for displaying data in text boxes. How can get the data of the highlighted employee name in the list box to text boxes

Regards,
Kira

You failed to specify what language or technology you are using...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.