need to show the data that is fetch from sqlserver
in a textbox i press r means i need to retrieve data from sqlserver
raj
rani
ravi
ragu
i need like this
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
sudipta sanyalRank #1,945 · 753 reputationPosted Jun 19, 2014, 10:49 PM EDT
Kedar Pawgi135 reputationPosted Jun 19, 2014, 2:21 AM EDT
$courseSql = "select Name,address, city from city where name LIKE '%" . $sItem ."%' ";
here $sItem is the value passed from textbox for search in your case is "r",
Hope this solves your problem
Khan Abrar AhmedRank #778 · 3K reputationPosted Jun 19, 2014, 3:09 AM EDT
SELECT * FROM dbo.Users AS u WHERE FirstName LIKE 'r'+'%'
selvi subramanianRank #2,007 · 723 reputationPosted Jun 19, 2014, 9:58 PM EDT