public static string CalculateData(string strId)
    {
        string result = string.Empty;
        TEnvFillPolluteWaterVo Fill = new TEnvFillPolluteWaterVo();

        Fill.ID = strId;
        bool flag = new TEnvFillPolluteWaterLogic().Calculate(Fill);

        if (flag)
        {
            result = "true";
        }
        return(result);
    }
    private void GetPoint()
    {
        string    year  = Request["year"];
        string    month = Request["month"];
        DataTable dt    = new TEnvFillPolluteWaterLogic().PointByTable(year, month);
        //加入全部
        DataRow dr = dt.NewRow();

        dr["POINT_NAME"] = "--全部--";
        dt.Rows.InsertAt(dr, 0);
        string json = DataTableToJson(dt);

        Response.ContentType = "application/json;charset=utf-8";
        Response.Write(json);
        Response.End();
    }
    private void GetData()
    {
        string strWhere = "1=1";
        string year     = Request["year"];
        string month    = Request["month"];
        string pointId  = Request["pointId"];

        //拼写条件语句(注:条件中的列名要与点位上的列名一致)
        if (year != "")
        {
            strWhere += " and YEAR='" + year + "'";
        }
        if (month != "")
        {
            strWhere += " and MONTH='" + month + "'";
        }
        if (pointId != "")
        {
            strWhere += " and ID='" + pointId + "'";
        }

        //填报表需要显示信息(注:这Table里面的第一列数据要与填报表的列名一致)
        DataTable dtShow = new DataTable();

        dtShow = new TEnvFillPolluteWaterLogic().CreateShowDT();
        DataTable dt = new TEnvFillPolluteWaterLogic().GetFillData(strWhere, dtShow,
                                                                   TEnvPEnterinfoVo.T_ENV_P_ENTERINFO_TABLE,
                                                                   TEnvPPolluteTypeVo.T_ENV_P_POLLUTE_TYPE_TABLE,
                                                                   TEnvPPolluteVo.T_ENV_P_POLLUTE_TABLE,
                                                                   TEnvPPolluteItemVo.T_ENV_P_POLLUTE_ITEM_TABLE,
                                                                   TEnvFillPolluteWaterVo.T_ENV_FILL_POLLUTE_WATER_TABLE,
                                                                   TEnvFillPolluteWaterItemVo.T_ENV_FILL_POLLUTE_WATER_ITEM_TABLE,
                                                                   SerialType.T_ENV_FILL_PolluteWater,
                                                                   SerialType.T_ENV_FILL_PolluteWater_ITEM);
        string json = DataTableToJsonUnsureCol(dt);

        Response.ContentType = "application/json";
        Response.Write(json);
        Response.End();
    }