public string getLastDoc(string Connection, string OfficeSpaceId, string DatabaseName, string TableName, int ItemId) { WorkSpace.Service WS = new WorkSpace.Service(); WS.Url = getWebUrl(); string OutputXML = WS.SelectLastDocument(Connection, OfficeSpaceId, DatabaseName, TableName, ItemId, UserName); ErrorLog = WS.getError(); return(OutputXML); }
public DataTable Retreive(string Connection, string OfficeSpaceId, string DatabaseName, string TableName, NWheres NWS) { WorkSpace.Service WS = new WorkSpace.Service(); WS.Url = getWebUrl(); DataTable dt = WS.SelectAllColumnByWhere(Connection, OfficeSpaceId, DatabaseName, TableName, NWS.ExportString(), UserName); ErrorLog = WS.getError(); return(dt); }
public DataTable Retreive(string Connection, string OfficeSpaceId, string DatabaseName, string TableName, NColumns NCS, NWheres NWS) { WorkSpace.Service WS = new WorkSpace.Service(); WS.Url = getWebUrl(); string ssss = NCS.ExportString(); string xxxx = NWS.ExportString(); string NCS_Encrypt = new EncryptDecrypt.CryptorEngine().Encrypt(NCS.ExportString(), true); string NWS_Encrypt = new EncryptDecrypt.CryptorEngine().Encrypt(NWS.ExportString(), true); DataTable dt = WS.SelectByColumnAndWhere(Connection, OfficeSpaceId, DatabaseName, TableName, NCS_Encrypt, NWS_Encrypt, UserName); ErrorLog = WS.getError(); return(dt); }