SidTheSquid
Programmer
Hi, I have a myDataSet that has a dataTable tableSource. Its data from a web traffic log broken up in their repective columns.
I would like to create a vb.net function that takes in paramenters [columnName as string, tableSource as dataTable]
and returns a dataTable (or view). Its functionality would be equivalent to
"select columnName, count(*) from tableSource group by columnName"
In the end, I would like something like
ColumnName Count
IE6 345
IE5 35
Netscape 765
etc
I have no clue how to do this using dataview's filter, so any help you can give is super appreciated.
Thanks
Sid.
I would like to create a vb.net function that takes in paramenters [columnName as string, tableSource as dataTable]
and returns a dataTable (or view). Its functionality would be equivalent to
"select columnName, count(*) from tableSource group by columnName"
In the end, I would like something like
ColumnName Count
IE6 345
IE5 35
Netscape 765
etc
I have no clue how to do this using dataview's filter, so any help you can give is super appreciated.
Thanks
Sid.