for(int i=0;i< dt.Rows.Count;i++)
{
if (int.Parse(this.DataGridView.Rows[i].Cells["Num"].Value.ToString())<10) {
this.DataGridView.Rows[i].DefaultCellStyle.ForeColor = Color.Red;
} }
{
if (int.Parse(this.DataGridView.Rows[i].Cells["Num"].Value.ToString())<10) {
this.DataGridView.Rows[i].DefaultCellStyle.ForeColor = Color.Red;
} }
解决方案 »
- 使用TcpListener,TcpClient建立连接后,能否由服务器端通过该链接反馈信息到客户端TcpClient
- 如何知道对方是哪个网页放了自己的代码!
- 用的if但是出现好几个“矩阵相等”,怎样让它遍历完之后,才判断相等
- 打开新窗口后,如何使原窗口不能操作.
- C#.NET关闭隐藏窗体
- 求文件DotNetSpeech.dll
- 100分!登陆验证,能者请进!
- 如何在可视化编程工具中使用面向对象的方法进行分析,设计并最终编写出一个图象用户界面的程序?谢谢了!
- 有没有兄弟使用devexpress的xtra系列控件?
- 怎么得到Server 端的IIS version, Server 操作系统,及语言,.NET runtime等信息?
- c#中 vs2005中怎么使用数据窗体向导
- 自定义分页DataList控件的问题
{
if (int.Parse(this.DataGridView.Rows[i].Cells["Num"].Value.ToString())<10) {
this.DataGridView.Rows[i].DefaultCellStyle.ForeColor = Color.Red;
} }