如何在asp.net中设计类时间表c# [英] How to design class time table in asp .net c#
本文介绍了如何在asp.net中设计类时间表c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友们,
我需要设计课堂时间表:行数周和小时列...
我在网格中遇到了一些问题。例如。我在列中固定了7个小时,客户问了8个小时,所以再次需要改变那个设计..
解决方案是什么..任何其他没有网格..任何其他概念。
i想要动态增加小时..
我试过的:
我尝试在网格视图中不断创建7列。
Dear Friends,
I need design for class time table: rows as weeks and hours as columns..
I have some problem in grid. for eg. i fixed 7 hours in columns, client asked 8 hours so again need to change that design..
what is the solution for that.. any other without grid.. any other concepts.
i want to add hours dynamically..
What I have tried:
I tried 7 columns created in grid view by constantly.
推荐答案
商店你的数据如表;
Store your data in a table like;
Row Col Value
-----------------
1 1 6
1 2 9
...
1 8 3
2 1 5
....
这样你可以改变列数而无需改变架构。
That way you can change the number of columns without needing to change the schema.
这篇关于如何在asp.net中设计类时间表c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文