这里不会上传图片,问题我就直接发在腾讯问问里了:http://wenwen.soso.com/z/q299464893.htm请大家帮我解决,谢谢
解决方案 »
- DataSet汇出到EXCEL中数据格式问题
- gridview列宽固定问题
- 如何取得Repeater控件中的值???????????
- 【Request.QueryString 获取参数值为 null】急,在线等!高手给看看啊
- 问一个很菜的问题,<form runat=server action="">
- 2003下IIS怎么装?
- 在asp.net中如何使用锚点
- 梅花雨日历控件3。0版另一个框架页问题
- 请问关于DataGrid中“更新”的问题(在线等)
- Windows 2000 Advanced Server和ASP.net配置问题!100分相送!
- C# 索引和长度必须引用该字符串内的位置。
- 关于留言板的问题。。。。
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowIndex >= 0)
{
string firstWord = e.Row.Cells[1].Text.Split(' ')[0];
string result = "<font style='text-decoration:underline'>" + firstWord + "</font>";
e.Row.Cells[1].Text = e.Row.Cells[1].Text.Replace(firstWord, result);
}
}