Click here to Skip to main content
15,885,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I am a beginner in Angular, and I am just learning it but unfortunately I've a rock!... Basically I have created a local database in visual studio. I also have a button and an input textbox on a web page all created in HTMOL like so:

XML
<input type="text" placeholder="Search Item" />
            <button class="search" type="submit"> Search</button>

This is just a simple search query I want to do. how can write an sql select statement in angular??

lets say in my table I want to search by a record ID. normally I would do this:
SELECT * FROM TABLE WHERE ID ='1';

How can I do this Angular??


Thank you.
Posted
Comments
Mehdi Gholam 1-Aug-14 12:15pm    
AngularJS is a client side javascript framework and does not do database access directly.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900