I'm using Visual Web Developer 2005 Express with VB.
I have a query that returns something like this:
test_date test_name result
12/12/2006 AST 10.23
01/10/2007 AST 12.20
12/12/2006 BUN 2.00
12/12/2006 GTR 19.20
01/10/2007 GTR 18.30
and so on ...
I want to display the results in a read only gridview like this:
test_name 12/12/2006 01/10/2007
AST 10.23 12.20
BUN 2.00
GTR 19.20 18.30
Suggestions on how to do this would be great.
Is it possible to dynamically set the formatting of the gridview in code-behind. In other words can I have just one gridview but any number of queries called by user input (textbox, dropdown list etc.)?
I've tried researching formatting gridview but haven't found much for code-behind. Do you know where I can find more info on this? A simple gridview.something does this would be big help.
Thanks
I have a query that returns something like this:
test_date test_name result
12/12/2006 AST 10.23
01/10/2007 AST 12.20
12/12/2006 BUN 2.00
12/12/2006 GTR 19.20
01/10/2007 GTR 18.30
and so on ...
I want to display the results in a read only gridview like this:
test_name 12/12/2006 01/10/2007
AST 10.23 12.20
BUN 2.00
GTR 19.20 18.30
Suggestions on how to do this would be great.
Is it possible to dynamically set the formatting of the gridview in code-behind. In other words can I have just one gridview but any number of queries called by user input (textbox, dropdown list etc.)?
I've tried researching formatting gridview but haven't found much for code-behind. Do you know where I can find more info on this? A simple gridview.something does this would be big help.
Thanks