使用C#在Asp.net中使用gridview的教师时间表生成器 [英] Faculty time table generator using gridview in Asp.net with C#

查看:103
本文介绍了使用C#在Asp.net中使用gridview的教师时间表生成器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用带有C#的ASP.Net开发一个时间表生成器系统。



表格在下拉列表中记录主题和教员姓名的条目。





我想在一个网格行中显示所选教师的整个每周时间表,并在那里显示 - 在某一天没有讲座。

Hi all,
I am developing a time table generator system using ASP.Net with C#.

The form takes the entries for the subject and the faculty name in dropdown.


I want to display the entire weekly schedule of the selected faculty in a single grid row and to display a '-" if there is no lecture on a particular day.

推荐答案

在RowCommand事件中检查该特定列的值是空白还是空。如果是,则更改文本所需的列为 - 。
In RowCommand Event check if the value of that particular column is blank or null. If yes, then change the text of the desired column as "-".


这篇关于使用C#在Asp.net中使用gridview的教师时间表生成器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆