asp.net工具类 
using System;
using System.Collections.Generic;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Collections;
using System.Reflection;

public class GridViewHelper
{
    #region 私有方法
    /// <summary>
    /// 截取内容长度
    /// </summary>
    /// <param name="o_Str">原字符串</param>
    /// <param name="len">截取长度</param>
    /// <returns>截取后字符串</returns>
    private static string GetStrPartly(string o_Str, int len)
    {
        if (len == 0)
        {
            return o_Str;
        }
        else
        {
            if (o_Str.Length > len)
          &nb