Click here to Skip to main content
12,622,032 members (34,592 online)
Rate this:
 
Please Sign up or sign in to vote.
I have one project....

So i need urs help...

Frontend using sql query and backend also using store procedure but execution only.....

May i possible this one....Help me......
Help me......Help me......
Help me......
Posted 8-Oct-12 0:04am
Comments
Kenneth Haugland 8-Oct-12 5:10am
   
Is your house on fire or something? Unfortunatly we are not firefighters...
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Am I correct that you want to create a query string in front end and then execute this string inside a stored procedure?

If so you can pass the query in as a parameter and inside the stored procedure you would call sp_executesql. You need to be careful though and ensure that no user can enter illegal sql statements as an input. Read up on SQL Injection and prevention techniques: Understanding SQL Injection and Creating SQL Injection Proof ASP.NET Applications[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.161128.1 | Last Updated 8 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100