hi every 1. i am trying to make a customer registration form. On the form i want to display the employee ID or Employee name who is servring or registring the customer. In short the employee who is logged in the system ,his Name or id should appear in the customer registration text box where the label says "served by"txtEmpName.Text
plz can u give me any brief idea or code on this

Recommended Answers

All 3 Replies

Ok just grab the username and id from database and show....

Or else Post your code....

i havent written any code bcz i dont know how to do it thats y i asked. how to grap user name or id from database and display it in the customer registration txt field.plz help

i am very confused about this. i could only copy the value of a text box. i have a relationship that 1 employee can server many customer that is why i want to display the employee id in customer registration form. Any idea or code how can i do this. i have auto increment on both emp_id and cust_id. plz help

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.