how can i am search the data from database?
just like google
Answers were Sorted based on User's Feedback
Answer / sharifuddin
for this first design the table like the fields as
EMPNo | EMPNAME | SALARY | DETAILS
Now write the query as follows...
SELECT * FROM EMPLOYE WHERE DETAILS LIKE '%<SEARCH KEY>%'
This is the simplest query for that...
Sharif
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / mahendra
note that, when datatype is string i.e. details like
mahendra, then use like this - "select * from employee
where empname like '%" & trim(txtbob.text) "&' ", i used
because to any leading space will be deleted.
if u want to find salary figure that i integer then
"select * from employee where salary >= " & trim
(txtbob.text) "&"
pl.note '%" & '&" for string
for this first design the table like the fields as
EMPNo | EMPNAME | SALARY | DETAILS
Now write the query as follows...
SELECT * FROM EMPLOYE WHERE DETAILS LIKE '%<SEARCH KEY>%'
This is the simplest query for that...
| Is This Answer Correct ? | 2 Yes | 1 No |
Explain the components of web form in asp.net
What is web api vs wcf?
Why will you usually create an aspnet user account in the database for an asp.net web application?
Where would you use an ihttpmodule, and what are the limitations if any?
Is redux flux?
Explain transparent caching with aop?
what is Repeater Control, When it is used,How it is used, what type of template is used for repeater control?
How would you get ASP.NET running in Apache web servers - why would you even do this?
How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server
What does asp in asp.net stand for?
Explain the concept of MVC Scaffolding?
Which control would you use if you needed to make sure the values in two different controls matched?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)