Click here to Skip to main content
15,899,679 members

Comments by Michael Ochmann (Top 3 by date)

Michael Ochmann 14-May-13 4:06am View    
oh yes i made an error :)
we need to create the new row outside the loop


<pre lang="c#">
DataRow row = // Create your new DataRow
for (int j = 1; j < files.Length; j++)
{

row[j + "0"] = split[2];
row[j + "1"] = split[3];
}
</pre>
Michael Ochmann 14-May-13 3:07am View    
i think you looking for the PrintDialog Class in the System.Windows.Controls-Namespace.
http://msdn.microsoft.com/de-de/library/system.windows.controls.printdialog.aspx
Michael Ochmann 13-May-13 12:06pm View    
Why not Int32Collection?
An ObservableCollection could do it too. This will inform the view if the members of the List has changed. By binding only the Array, it will inform the view that you made an new (empty) Array, but never wenn you fill it.