Export gridview into excel pdf csv http://www.aspsnippets.com/ Articles/Print-functionality- in-ASP.Net- GridView -control. aspx http://www.aspsnippets.com/ Articles/Export- GridView -To- Word-Excel-PDF-CSV-Formats-in- ASP.Net.aspx
Popular posts from this blog
How to insert multiple rows from c# table to sql database table:- Frontend: <asp:Button ID="Button2" runat="server" Text="Create Table" onclick="Button2_Click" /> <asp:GridView ID="gveg" runat="server"> </asp:GridView> Backend C#: protected void Button2_Click(object sender, EventArgs e) { // // Here we create a DataTable with four columns. // DataTable temptable = new DataTable(); temptable.Columns.Add("ProductID", typeof(string)); temptable.Columns.Add("RelatedProductID", typeof(string)); ...
To resolve " Validation of viewstate MAC failed ". Here , website url for generating machine key: http://aspnetresources.com/ tools/machineKey here example given below after generating machine key through above web url This is the code which needs to be put in web.config file, hope it will help you out. <system.web> <machineKey validationKey=" 7B1A0112BEDDADE43C71702052E666 F5D5DDD8CB053F085E5362DFB1B20E 29266B8D47AE0F6C3A9E370C0192ED 1C488961F7D944A21ABF9AC2186E84 58A2FB17" decryptionKey=" EBCE0AD022C8A711670C4C96BB87C4 B91A3B0DF509B579222E1410003BE4 532B" validation="SHA1" decryption="AES" /> < /system.web>
Comments
Post a Comment