Hello,
I am doing server-side processing with an ASP.NET 2.0 webservice (*.asmx).
A method needs to have a fixed number of parameters and the problem is that aoData contains iSortCol_(int) and sSortDir_(int) only if the column is sorted.
For example if column 2 is not sorted I'd like to have iSortCol_2 = null and sSortDir_2 = null in aoData so that I can use nullable parameters in webservice method.
Is there a better way than doing it manually ?
Thanks.
I am doing server-side processing with an ASP.NET 2.0 webservice (*.asmx).
A method needs to have a fixed number of parameters and the problem is that aoData contains iSortCol_(int) and sSortDir_(int) only if the column is sorted.
For example if column 2 is not sorted I'd like to have iSortCol_2 = null and sSortDir_2 = null in aoData so that I can use nullable parameters in webservice method.
Is there a better way than doing it manually ?
Thanks.