Print a listbox
hello,
printDialog1.Document = printDocument1;
string strText = this.lstfilms.Text;
myReader = new StringReader(strText);
if (printDialog1.ShowDialog() == DialogResult.OK)
{
this.printDocument1.Print();
}
thats the code that i use. I can print but the there is nothing on my page.
How can i print a listbox? He needs to print lstfilms.
greetz
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

spgilmoreRank #1,616 · 964 reputationPosted Mar 26, 2004, 6:17 AM EST