你可以直接对有id的单元格的属性进行附值,
可以用style object。
copy from msdn(font):
Use the Font property to specify the font properties of the Web server control. This property includes subproperties that can be accessed declaratively in the form of Property-Subproperty (for example Font-Bold) or programmatically in the form of Property.Subproperty (for example Font.Bold).All but one subproperty will render in browsers prior to Microsoft Internet Explorer version 4 for all controls. They are: Bold, Italic, Name, Names, Strikeout, Underline, and Size (but only named font sizes, such as Small, Smaller, and so on, will work).
可以用style object。
copy from msdn(font):
Use the Font property to specify the font properties of the Web server control. This property includes subproperties that can be accessed declaratively in the form of Property-Subproperty (for example Font-Bold) or programmatically in the form of Property.Subproperty (for example Font.Bold).All but one subproperty will render in browsers prior to Microsoft Internet Explorer version 4 for all controls. They are: Bold, Italic, Name, Names, Strikeout, Underline, and Size (but only named font sizes, such as Small, Smaller, and so on, will work).
解决方案 »
- 在c#中teechart如何完成柱形图的绘制方法,X坐标由自己定义,应如何定义,如何实现打印功能?
- 如何判断datalist中的列是否为模板列
- 中文传参问题
- 在.NET中创建解决方案与添加解决方案有什么不同
- 改哪个地方可以让我的水印不透明?
- 想实现类似论坛论坛首页那样的分类
- 关于留言本的小问题
- 在Reporting Service中如何可以将已经做好的报表,从一台报表服务器移植到另一台报表服务器上去?
- 64为系统中加载32位dll问题
- DATAGRID定制模板中,怎样加入单选列表控件?
- 急,如何在datagrid的HyperlinkColumn列的URL地址中带两个参数?
- 那里有反编译DLL工具可以下载呀!
<table runat="server">
<tr>
<td id="m">test</td></tr>
</table>
<form id="Form1" method="post" runat="server">
</form>
</body><script runat=server language="vb">
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
m.attributes("bgColor")="Green"
End Sub
</script></HTML>