Click here to Skip to main content
15,911,132 members

Comments by Honey sree (Top 8 by date)

Honey sree 5-Jul-13 3:49am View    
Hi,
Does this provids the same functionality as what an ArrayList do?
Honey sree 5-Jul-13 3:48am View    
Hello,
i tried out this method. But its not working.
Its showing a casting exception
Honey sree 26-Dec-12 3:59am View    
Thank u for the help... but even after applying wat u have said .. am not getting the output for my application.. Am not able to find out where the pblm is occuring..
Honey sree 26-Dec-12 2:20am View    
Sry.. I am not able to post the xaml code properly here..
Honey sree 26-Dec-12 2:19am View    
Deleted
Sry.. The Xaml code written in qstn is not in full form..
Below I am writing the Xaml code

Mainwindow.Xaml:



<window x:class="WpfApplication1.Views.MainWindow"
="" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:viewmodel="clr-namespace:WpfApplication1.ViewModels" title="MainWindow" height="350" width="789" fontsize="16">
<window.datacontext>
<viewmodel:class1 x:name="class1">


<grid>
<Label Content="COLLEGE INFORMATION" Height="37" HorizontalAlignment="Left" Margin="228,35,0,0" Name="label1" VerticalAlignment="Top" Width="268" Foreground="#FFEF0F0F" FontFamily="Comic Sans MS" FontSize="20" />
<datagrid autogeneratecolumns="False" height="200" horizontalalignment="Left" margin="40,78,0,0" name="dataGrid1" verticalalignment="Top" width="683" isenabled="True" isreadonly="True" itemssource="{Binding col}" selectionunit="FullRow">

<datagrid.rowdetailstemplate>
<datatemplate>
<datagrid x:name="Innergrid" autogeneratecolumns="False" itemssource="{Binding ElementName=BranchList,Path=col}" isenabled="True" isreadonly="True" selectionunit="FullRow" width="500">
<datagrid.columns>
<datagridtextcolumn header="ID" binding="{Binding BID}">
<datagridtextcolumn header="Branch" binding="{Binding BranchName}">
<datagridtextcolumn header="Seats" binding="{Binding SeatNo}">
<datagridtextcolumn header="Staff" binding="{Binding Staff}">
<datagridtextcolumn header="Mini Projects" binding="{Binding Minipjct}">
<datagridtextcolumn header="Major Project" binding="{Binding Majorpjct}">





<datagrid.columns>
<datagridtextcolumn binding="{Binding ID}" width="100" header="ID">
<datagridtextcolumn binding="{Binding Names}" width="110" header="College Name">
<datagridtextcolumn binding="{Binding Uni}" width="100" header=" University">
<datagridtextcolumn binding="{Binding Loc}" width="135" header=" College Location">
<datagridtextcolumn binding="{Binding Pri}" width="100" header=" Principal">
<datagridtextcolumn binding="{Binding VP}" width="150" header=" Vise President ">



<!--<datagrid.columns>
<datagridtextcolumn binding="{Binding ID}" width="100" header="ID">
<datagridtextcolumn binding="{Binding Names}" width="110" header="College Name">
<datagridtextcolumn binding="{Binding Uni}" width="100" header=" University">
<datagridtextcolumn binding="{Binding Loc}" width="135" header=" College Location">
<datagridtextcolumn binding="{Binding Pri}" width="100" header=" Principal">
<datagridtextcolumn binding="{Binding VP}" width="150" header=" Vise President ">

-->