Click here to Skip to main content
16,007,443 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Dear All,

How to assign each data table to each tab item in WPF. How to use multiple Data Context in WPF.

Send me sample coding.

Thanks in advance,
S.Maha
Posted
Comments
Sergey Alexandrovich Kryukov 20-Dec-11 2:25am    
Not clear why this can be a problem. Do you want to show data in the grid views? What's the difference between one or more? Separate view -- separate data set -- separate database, what's the problem?
--SA

1 solution

Hi
1. Set tabcontrol.datacontext = <dataset> {Define tables name of dataset}
2. set tabitem.datacontext = {Binding <datatablename>}

Hope this will help u.
 
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