Hirdetés
Új hozzászólás Aktív témák
-
NoMan
csendes tag
Akkor is legalább 3mp a render idő, ha csak egy label elem van az rdclen, amibe beleírtam egy szöveget. Tehát teljesen adatfüggetlen nyomtatási kép esetén is lassú a render idő.
Így hívom meg az osztályt:
LocalReport report = new LocalReport();
report.ReportEmbeddedResource = "<rdcl neve>.rdlc";
Report_DataSet dataSet = new Report_DataSet();
DataTable dataTable = dataSet.dataGridView_List;
DataRow dataRow = null;
foreach (DataGridViewRow row in dataGridViewProductList.Rows)
{
dataRow = dataTable.NewRow();
dataRow["productId"] = ((row.Cells["colProductId"].Value != null) ? row.Cells["colProductId"].Value.ToString() : "");
dataRow["productName"] = ((row.Cells["colProductName"].Value != null) ? row.Cells["colProductName"].Value.ToString() : "");
dataRow["productCount"] = ((row.Cells["colProductCount"].Value != null) ? row.Cells["colProductCount"].Value.ToString() : "");
dataTable.Rows.Add(dataRow);
}
report.DataSources.Add(new ReportDataSource("dataGridView_List", dataTable));
using (Printer printer = new Printer())
{
printer.Run(report);
}
Új hozzászólás Aktív témák
● ha kódot szúrsz be, használd a PROGRAMKÓD formázási funkciót!
- Intel Core i7-13700K Processor 30M Cache, up to 5.40 GHz
- BONTATLAN Új iPhone 17 PRO Kozmosznarancs 256-512GGB Független 1év Apple Gar. Azonnal átvehető.Deák
- ROG STRIX Z790-A GAMING WIFI DDR5
- -ÚJ,2 ÉV GAR- GAMER PC: RYZEN 5 4500-5600X +RX 6600/6700XT +16-64GB DDR4! SZÁMLA! 70 féle ház!
- ASUS TUF Gaming GeForce RTX 4080 16GB GDDR6X OC Edition
- Magyar Logitech G915 Billentyűzet lehet +33.000.- Ft ból
- HIBÁTLAN iPhone 13 Pro Max 256GB Gold -1 ÉV GARANCIA -Kártyafüggetlen, MS3758, 100% Akkumulátor
- Honor 400 Lite / 8/256GB / Kártyafüggetlen / 12Hó Garancia
- LG UltraFine 4K és Smart Monitorok: BLACK NOVEMBER -30%
- Apple iPhone 14 Pro Max Gold Dynamic Island, 120 Hz ProMotion, 48 MP kamera-128 GB-100%
Állásajánlatok
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
Cég: Laptopműhely Bt.
Város: Budapest


