Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Using the regexlib web service

Last post 04-08-2008, 4:10 AM by midhatali. 0 replies.
Sort Posts: Previous Next
  •  04-08-2008, 4:10 AM 41181

    Using the regexlib web service

    Has anybody used the regexlib web service. I plan to use it in my .net winform application and am quite clueless abt it. I have written the fllowing code (c#) by trial and error

                com.regexlib.Webservices regexService = new com.regexlib.Webservices();
                System.Data.DataSet set=regexService.listRegExp("email", "", 1, 10);
                grid.DataSource = set.Tables[0];
                grid.Refresh();

    . It does return a dataset, but when i try to run this query again, SOAPException occurs saying "Server was unable to process request. ---> DataTable already belongs to another DataSet."

     

    What to do in this case. Googling for it, i found a solution where someone invoked .copy() on a table before adding it to a dataset. ut i believe ths is being done at regexlib end, so is the regexlib web service buggy? 

    Filed under: , , ,
View as RSS news feed in XML