How to export ASP.NET GridView to Excel and add a formula column -


i trying export gridview created in asp.net excel. has 3 columns (a thru c), , want add blank column d , column e. in column e want put excel formula multiply each cell in column c each cell in column d , sum total. in other words column e=c1*d1 , have sum of column e appear @ end of row e. don't want populate column d or e. want user have spreadsheet can type in value in column d , have spreadsheet calculate column e.

i know how gridview excel, , using rendercontrol it. works fine , pretty easy. can please me familiar exporting excel way. need know how code formula , put in html export code. have looked through gridview export answers couple days can't seem find working formulas in export code. not knowledgeable excel. i'm sure there must simple way want do, can't find it.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -