binding values to a label

Posted by Vijayar under C# on 7/19/2011 | Points: 10 | Views : 1511 | Status : [Member] | Replies : 3
Hi
I have 3 tables with names employee personal details, Employee company details, Employee family details and inserting different values into those tables.Now i want to bind the fields present in these table to label based on the employee who has logged on the application by using employee id please help me in doing this.Explain with an example if possible.it's very urgent
.

vijaya


Responses

Posted by: Jpchoudhari on: 7/19/2011 [Member] Starter | Points: 25

Up
0
Down
Hi,

You can simply join those three tables to get the data for the Employee Id provided; or just post your requirement clearly.





Kind Regards,
Jay

Vijayar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Lakn2 on: 7/19/2011 [Member] Starter | Points: 25

Up
0
Down
Refer this

http://www.mikesdotnetting.com/Article/64/Bind-Data-From-a-SqlDataSource-to-a-Label

Thanks&Regards
LakshmiNarayana Nalluri.

Vijayar, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: RaviRanjanKr on: 7/19/2011 [Member] Starter | Points: 25

Up
0
Down
hey! you need to learn join technique to join different table based on the specific condition. you will find plenty of articles based on the "Join in SQL server". (SQL server database is supposed because you have not provided any details of backend )
here you table count is 3 so I am going to refer a link which might help you to Joining with these tables. Take a look
http://msdn.microsoft.com/en-us/library/ms191430(v=SQL.90).aspx


Thanks
Ravi Ranjan Kumar
http://raviranjankr.wordpress.com

Vijayar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response