我需要更改require数据集如何可能告诉我需要这个问题 [英] I need to change require dataset how iit possible tell me need this issue
问题描述
EX:我有一个类似的存储过程(从表中选择center,dept,sum(Amount),其中distno = 19);(注意:我正在使用连接从多个表中选择那些列)编写了单个查询以便理解。 ....
所以当我动态绑定它时,gridview看起来好像
中心部门数量
hyd IT 2500
hyd cse 2600
hyd ECE 2700
bangl IT 2200
bangl CSE 2300
bang ECE 2500 ----喜欢这样......因为我有一些中心和部门(基于选定的中心和部门不同)
我想绑定gridview,比如
EX:I have a stored procedure like(select center,dept,sum(Amount) from table where distno=19);(note:I am selecting those columns from multiple tables using joins) wrote that single query for understanding.....
so when i bind it dynamically the gridview looks
centre dept amount
hyd IT 2500
hyd cse 2600
hyd ECE 2700
bangl IT 2200
bangl CSE 2300
bang ECE 2500 ----like so on......as i have some no of centers and dept(based on selected distrtict center and dept varies)
I want to bind gridview like
Center IT CSE ECE
--------------------------------------
Hyderabad 2500 2600 2700
Banglore 2700 2200 2300
--------------------------------------
...
我怎样才能实现这个目标?(希望这个问题可以理解)
...
How can i achieve this??(hope the question is understandable)
推荐答案
简化数据表简化 [ ^ ]
这篇关于我需要更改require数据集如何可能告诉我需要这个问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!