[DataMethod(), AxSessionPermission(SecurityAction.Assert)]
public static DataTable GetData(DateTime dateFrom, DateTime dateTo)
{
Dictionary<string, object> ranges = new Dictionary<string, object>
{
{"AXTable.DateFieldRange",
dateFrom.ToString(AxQuery.Culture) + ".." + dateTo.ToString(AxQuery.Culture)}
};
return AxQuery.ExecuteQuery("SELECT * FROM AXAOTQuery", ranges);
}
No comments:
Post a Comment