Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
rohit04413
Yak Posting Veteran
72 Posts |
Posted - 2010-05-05 : 05:19:48
|
| i have added a gridview to a web form. this gridview is linked to a data source. one of the column is 'Days' in grid view.now i want to display the following: sum of 'days' of all rows in gridview/number of rows in gridview that is the average days in gridview.how can i do that ? |
|
|
Sachin.Nand
2937 Posts |
Posted - 2010-05-05 : 05:33:28
|
| So you want it to be done in gridview,SQL stored proc or in the datatable.PBUH |
 |
|
|
rohit04413
Yak Posting Veteran
72 Posts |
Posted - 2010-05-05 : 05:39:09
|
quote: Originally posted by Idera So you want it to be done in gridview,SQL stored proc or in the datatable.PBUH
i don't know which is the best method but i just want to display that average value. |
 |
|
|
|
|
|