示例#1
0
    public static string retJS(string SqlSTR)
    {
        MicroMain MM        = new MicroMain();
        String    strRetVal = SqlSTR;

        DataTable dt = new DataTable();

        try
        {
            dt = PCL.MsSQL_DBOperations.GetData(SqlSTR, "SqlConn");

            strRetVal = MM.GetJSONString(dt); //dt.Rows[0]["RV"].ToString().Trim();
        }
        catch (Exception ex)
        {
            strRetVal = "HATA @retJS()= " + ex.Message;
        }
        return(strRetVal);
    }
示例#2
0
    public static string KUL()
    {
        MicroMain MM = new MicroMain();

        return(MM.User);
    }