如何创建一个grdivew计划 [英] how to create a grdivew schedule
问题描述
你好
i我正在尝试使用gridview创建一个时间表,我提示开始和结束日期,开始时间和结束时间和间隔,时间之间的时间..
i能够在gridview上显示这样的日期
星期一13/8/14
星期二14/8/14
2014年3月15日星期三
星期四16/8/14
星期五17/8/14
我希望显示时间为colums /
8h00 8h30 9h00 9h30 10h00
总而言之我希望时间表看起来像这样
-------------- ----- 8h00 8h30 9h00 9h30 10h00
星期一13/8/14
星期二14/8/14
星期三15/8/14
星期四16/8/14
星期五17/8/14
按照你所说的方式构建一个DataTable
。
声明新的数据表
。然后添加列作为时间。之后,继续添加行。
现在将DataTable
分配给GridView
Hello
i am trying to create a schedule using gridview, i am prompting for start and end date, start time and end time and interval, time between the times..
i have able to show dates on the gridview like this
Monday 13/8/14
Tuesday 14/8/14
Wednesday 15/8/14
Thursday 16/8/14
Friday 17/8/14
I want ti display times as colums like
8h00 8h30 9h00 9h30 10h00
all in all i want the schedule to look like this
-------------------8h00 8h30 9h00 9h30 10h00
Monday 13/8/14
Tuesday 14/8/14
Wednesday 15/8/14
Thursday 16/8/14
Friday 17/8/14
Build oneDataTable
exactly the way you have told.
Declare newDataTable
. Then add columns as the times. After that, go on adding rows.
Now assign theDataTable
to theGridView
.
这篇关于如何创建一个grdivew计划的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!