How to pass Sql Query as a parameter in Silverlight
-
I Have a requirement where i need to pass only sql select statement as a parameter to Service. Instead of writing query in the service i need to accept the query as a parameter. Any suggestions, samples or links would be appreciated. Thanks
-
I Have a requirement where i need to pass only sql select statement as a parameter to Service. Instead of writing query in the service i need to accept the query as a parameter. Any suggestions, samples or links would be appreciated. Thanks
You can't pass it as a string? Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
I Have a requirement where i need to pass only sql select statement as a parameter to Service. Instead of writing query in the service i need to accept the query as a parameter. Any suggestions, samples or links would be appreciated. Thanks
Well an string would work but... that could be quite dangerous, it's quite easy to make injection attacks with that technique. I would limit that free querying to the final user. HTH Braulio
/// ------------------------- Braulio Díez DBSchemaEditor.com Free Silverlight based DB Schema Modeling Tool /// -------------------------