DataView Problems with web service
-
Hy. In my first App. I hab a DataView where i concat a string for the Rowfilter. After that I returned the DataView I exicuted it and it worked. Now I have to sent the result via a Webservice. The first Prob was that the WebService doesn´t know the DataView so I changed it into a DataTable. Now I have the problem that I return a DataTable, and the changes from the filter are not in it.
data.RowFilter = filter; return data.Table;
where data is a normal DataView and filter is just a String. So here is my question: How do I get the result of the rowFilter() ??? :doh: Thx Cheers Sorry! Sorry! Just did it! After one hour work! If someone is interested in this here is the code:data.RowFilter = filter; System.Data.DataTable table = new System.Data.DataTable(); table= data.ToTable(); return table;
It isn´t nice I know, nut what the hack :) CheersYou have the thought that modern physics just relay on assumptions, that somehow depends on a smile of a cat, which isn’t there.( Albert Einstein)