Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i want to get avin*****@gmail.com in gridview from database..full name is avin1236@gmail.com..


my question is how to use substring to get like this and how to show it in gridview



regards
manohar
Posted
Comments
woutercx 28-Jul-12 6:06am    
I assume your database is SQL Server? Which version of SQL Server? You should provide this kind of info so that people who like to solve your question don't have to ask..
Manohar_manu 28-Jul-12 6:59am    
sql sever 2005

1 solution

Here's an explanation of the SQL LIKE query Command:

http://msdn.microsoft.com/en-us/library/ms179859.aspx[^]
 
Share this answer
 

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