Silverlight-在数据网格内绑定列表框

我有一个datagrid,在datagrid中,我必须根据特定记录的ID绑定一些列表框.

例如.

I have a datagrid , inside datagrid I have to bind some listbox (es) based on ID of the particular record.

For eg.

TextColumn 	TextColumn  TextColumn 	 TemplateColumn 
ID 	           NAME 	      CLASS       SUBJECT
1	           XXX	         A         JAVA
 	 	 	                   .NET
2	           YYY	         B	 .NET
 	 	 	                    C++
3	           ZZZ	         C	 JAVA
 	 	 	                    C++


SUBJECT列应加载到datagrid内的列表框中.我已经成功加载了DataGridTextColumn的(ID,NAME,CLASS)
但是我无法加载主题.

注意:我已经通过从WCF服务返回列表来绑定DataGrid中的DataGridTextColumn.

请执行需要的操作.


SUBJECT column should be loaded in a Listbox inside the datagrid. I have successfully loaded DataGridTextColumn‘s (ID,NAME ,CLASS)
But I couldnt able to load the SUBJECT.

NOTE : I have binded the DataGridTextColumn’s in the datagrid by returning a list from WCF service.

Please do the needful.



 1 条回答