iterate through ALL rows in a GridView

<asp:TemplateField HeaderText="Select"> <ItemTemplate> <asp:CheckBox ID="chkSelected" runat="server" Checked="false"></asp:CheckBox> </ItemTemplate> </asp:TemplateField> elow code works fine but there is a bug : if Employee object has return 5 rows and i am trying to checked the check box based on the ids but instead its just matching only the last id – it suppose to checked all 5 … Read more

What is a good way to output an asp.net, C# GridView into a PDF

I tried using the Microsoft ReportingControls but found them overly cumbersome, with too little documentation. I’d like a simple control that would convert a GridView control into a PDF document. I’ve started looking into PDFSHarp and am running into dead ends with documentation. Same thing with iTextSharp. I’m willing to dig into them further if they have worked for others in the past.

Bind GridView with many records

I have a GridView which shows only 50 records at a time through paging. If i bind that to a source say containing 150 records, it works like charm but when the record size increases drastically to 10,00000, it took ages to load data.. So, i want to know is there any way of just loading 50 records at a time which are visible??