Click here to Skip to main content
15,879,474 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Making a template for a ListView in WPF ? Pin
Mohammad Dayyan23-Apr-09 8:13
Mohammad Dayyan23-Apr-09 8:13 
GeneralRe: Making a template for a ListView in WPF ? Pin
Mark Salsbery23-Apr-09 8:29
Mark Salsbery23-Apr-09 8:29 
GeneralRe: Making a template for a ListView in WPF ? Pin
Mohammad Dayyan23-Apr-09 8:45
Mohammad Dayyan23-Apr-09 8:45 
Questionbinding problem Pin
spurnd22-Apr-09 21:48
spurnd22-Apr-09 21:48 
AnswerRe: binding problem Pin
Pete O'Hanlon23-Apr-09 0:28
mvePete O'Hanlon23-Apr-09 0:28 
GeneralRe: binding problem Pin
User 171649223-Apr-09 1:25
professionalUser 171649223-Apr-09 1:25 
GeneralRe: binding problem Pin
Pete O'Hanlon23-Apr-09 1:42
mvePete O'Hanlon23-Apr-09 1:42 
QuestionPrint Datatable Pin
Prajeesh22-Apr-09 19:06
Prajeesh22-Apr-09 19:06 
Hi,

I have a datatable as

DataTable dt = new DataTable( "Table1" );
dt.Columns.Add( "c1" );
dt.Columns.Add( "c2" );
dt.Columns.Add( "c3" );
DataRow dr = dt.NewRow();
dr["c1"] = "100";
dr["c2"] = "100";
dr["c3"] = "100";
dt.Rows.Add( dr );
dt.AcceptChanges();
printListView.DataContext = dt;


I have also a listview for showing the table.
<ListView
HorizontalAlignment="Stretch"
HorizontalContentAlignment="Stretch"
SelectionMode="Single"
ItemsSource="{Binding}"
Name="printListView"
Margin="10">
<ListView.View>
<GridView>
<GridViewColumn Header="c1" DisplayMemberBinding="{Binding c1}"/>
<GridViewColumn Header="c2" DisplayMemberBinding="{Binding c2}"/>
<GridViewColumn Header="c3" DisplayMemberBinding="{Binding c3}"/>
</GridView>
</ListView.View>
</ListView>

How can I print this table?

Thanks
Prajeesh Prabhakar
AnswerRe: Print Datatable Pin
Pete O'Hanlon23-Apr-09 22:17
mvePete O'Hanlon23-Apr-09 22:17 
QuestionWPF UserControl Library - I'm at a loss [modified] Pin
#realJSOP22-Apr-09 3:58
mve#realJSOP22-Apr-09 3:58 
AnswerRe: WPF UserControl Library - I'm at a loss Pin
barker77022-Apr-09 6:06
barker77022-Apr-09 6:06 
GeneralRe: WPF UserControl Library - I'm at a loss Pin
led mike23-Apr-09 10:00
led mike23-Apr-09 10:00 
AnswerRe: WPF UserControl Library - I'm at a loss Pin
Pete O'Hanlon23-Apr-09 0:16
mvePete O'Hanlon23-Apr-09 0:16 
GeneralRe: WPF UserControl Library - I'm at a loss Pin
#realJSOP23-Apr-09 2:45
mve#realJSOP23-Apr-09 2:45 
JokeRe: WPF UserControl Library - I'm at a loss Pin
Michael Bookatz23-Apr-09 4:34
Michael Bookatz23-Apr-09 4:34 
GeneralRe: WPF UserControl Library - I'm at a loss Pin
#realJSOP23-Apr-09 4:56
mve#realJSOP23-Apr-09 4:56 
GeneralRe: WPF UserControl Library - I'm at a loss Pin
led mike23-Apr-09 10:05
led mike23-Apr-09 10:05 
GeneralRe: WPF UserControl Library - I'm at a loss Pin
0x3c023-Apr-09 10:21
0x3c023-Apr-09 10:21 
QuestionClearing the screens Pin
Hema Bairavan22-Apr-09 0:28
Hema Bairavan22-Apr-09 0:28 
AnswerRe: Clearing the screens Pin
Jeeva Jose22-Apr-09 3:05
Jeeva Jose22-Apr-09 3:05 
GeneralRe: Clearing the screens Pin
Pete O'Hanlon22-Apr-09 3:39
mvePete O'Hanlon22-Apr-09 3:39 
QuestionHow to get current project path from silverlight page? Pin
salon21-Apr-09 20:24
salon21-Apr-09 20:24 
AnswerRe: How to get current project path from silverlight page? Pin
VCsamir21-Apr-09 23:51
VCsamir21-Apr-09 23:51 
GeneralRe: How to get current project path from silverlight page? Pin
salon22-Apr-09 0:30
salon22-Apr-09 0:30 
GeneralRe: How to get current project path from silverlight page? Pin
Mark Salsbery22-Apr-09 6:52
Mark Salsbery22-Apr-09 6:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.