62,046
社区成员
发帖
与我相关
我的任务
分享
select (case when 字段名=1 then '中国' else '美国' end) .....from table
foreach (Infragistics.WebUI.UltraWebGrid.UltraGridRow row in UltraWebGrid2.Rows)
{
if (row.Cells.FromKey("EvaluateTime_dt").Text == "1900-1-1 0:00:00")
{
row.Cells.FromKey("EvaluateTime_dt").Text = "无";
}
if (row.Cells.FromKey("Score_f").Text == "0")
{
row.Cells.FromKey("
Score_f").Text = "无";foreach (Infragistics.WebUI.UltraWebGrid.UltraGridRow row in UltraWebGrid2.Rows)
{
if (row.Cells.FromKey("EvaluateTime_dt").Text == "1900-1-1 0:00:00")
{
row.Cells.FromKey("EvaluateTime_dt").Text = "无";
}
if (row.Cells.FromKey("Score_f").Text == "0")
{
row.Cells.FromKey("
Score_f").Text = "无";