I have a gridview that dispays the a table with possible project conditions. The project is a VB project.
The Gridview displays the table From and SqlDataSource.
The first number is the is the PK
1.Open | 0
2.Pending | 0
3.Closed | 0
There is a seperate table called projects that one of the fields is called Status and will either have the values of 1,2, or 3 (FK) representing open, pending or closed above
I am trying to get the today number of each condition / Status (number of rows containing a condition and not the sum) and replace the 0 in the above table. I tried setting up a Templete field and doing databinding to an additional datasource with no luck... Stuck. I did read an article showing how to using an ObjectDataSource to add totals to the footer, but those results were from the same table and not an external table. I would prefer to use SqlDataSource over ObjectDataSource because of my experience level.
Any help is appreciated!
Thanks
Bob B.
The Gridview displays the table From and SqlDataSource.
The first number is the is the PK
1.Open | 0
2.Pending | 0
3.Closed | 0
There is a seperate table called projects that one of the fields is called Status and will either have the values of 1,2, or 3 (FK) representing open, pending or closed above
I am trying to get the today number of each condition / Status (number of rows containing a condition and not the sum) and replace the 0 in the above table. I tried setting up a Templete field and doing databinding to an additional datasource with no luck... Stuck. I did read an article showing how to using an ObjectDataSource to add totals to the footer, but those results were from the same table and not an external table. I would prefer to use SqlDataSource over ObjectDataSource because of my experience level.
Any help is appreciated!
Thanks
Bob B.