Niyas
asked on
convert a datatable or list<objects> into gridview
I have a datatable with 3 fields state, carrier and rate. I have to display it in a gridview such that y-axis will be state and x-axis will be carrier and the corresponding cell display the rate.
datatable structure
state carrier rate
NB hunt 1.0
NB atl .23
NX hunt 2.5
NX atl .45
gridview should be
hunt atl
NB 1.0 .23
NX 2.5 .45
datatable structure
state carrier rate
NB hunt 1.0
NB atl .23
NX hunt 2.5
NX atl .45
gridview should be
hunt atl
NB 1.0 .23
NX 2.5 .45
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.