Пример #1
0
    public string loadForm()
    {
        string    formName = Request.Form["formName"];
        DataTable dt       = CustomizedFormManage.getFormData(formName);

        return(JsonHelper.DataTable2Json(dt));
    }
Пример #2
0
    private string getCustomizedForm()
    {
        DataTable dt = CustomizedFormManage.getCustomizedForm();

        if (dt == null)
        {
            return(null);
        }

        return(JsonHelper.DataTable2Json(dt));
    }
Пример #3
0
    private string previewForm()
    {
        string    formName = Request.Params["formName"];
        DataTable dt       = CustomizedFormManage.getFormData(formName);

        if (dt == null)
        {
            return(null);
        }

        return(JsonHelper.DataTable2Json(dt));
    }