控件ID过滤_转成对应的字段名
2017-01-25 17:10:40 访问(1357) 赞(0) 踩(0)
/// <summary>
/// 控件ID过滤_转成对应的字段名
/// </summary>
/// <returns></returns>
public string ConvertToDataColumName(string strId)
{
if (strId == null)
return "";
int idx = strId.IndexOf("_");
if (idx == -1)
return strId;
return strId.Substring(idx + 1);
}
标签:
控件ID过滤_转成对应的字段名 


上一条:
下一条:
相关评论
发表评论