如何使用C#更改mysql表的背景颜色 [英] How do I change the backcolor of a mysql table with C#

查看:92
本文介绍了如何使用C#更改mysql表的背景颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用C#更改MySQL表的背景颜色?



我尝试过:



如何使用C#更改MySQL表的背景颜色

解决方案

< blockquote>

 dataGridView.Rows [rowIndex] .Cells [columnIndex] .Style.BackColor = Color.Red; 

/ ravi


没有这种事。数据库引擎中的表没有颜色信息。只有显示表格数据的应用程序才会有这样的内容。



如何更改这些颜色取决于应用程序类型以及用于显示数据的控件data。


Quote:

如何使用C#更改MySQL表的背景颜色?



正如你所知,一个SQL数据库没有颜色,正面或背面。

这个问题毫无意义。



您需要描述您的操作以及您想要更改颜色的位置。


How do I change the backcolor of a MySQL table with C#?

What I have tried:

How do I change the backcolor of a MySQL table with C#

解决方案

dataGridView.Rows[rowIndex].Cells[columnIndex].Style.BackColor = Color.Red;

/ravi


There's no such thing. A table in a database engine has no color information. Only an application displaying data from the table would have anything like this.

How you change those colors depends on the application type and what control you're using to display the data.


Quote:

How do I change the backcolor of a MySQL table with C#?


As you have been told, an SQL database have no color, front or back.
The question makes no sense.

You need to describe what you do and where you want to change the color.


这篇关于如何使用C#更改mysql表的背景颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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