Query for Fetching Records

Posted by Self-innovator under Sql Server on 1/23/2012 | Points: 10 | Views : 1135 | Status : [Member] | Replies : 3
Dear frnds...
I wanted to pull the Data (Customer Name) from Gridview. Whaen i click on any Name from the grid it comes in to my textbox where i can insert that pulled value.Next time when inserting another records my grid should not display the values which i've inserted...

Join Hands Change lives
Thanks & Regards
Straight Edge Society



Responses

Posted by: Blessyjees on: 1/24/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

Not clear your requirement.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Self-innovator, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Self-innovator on: 1/24/2012 [Member] Bronze | Points: 25

Up
0
Down
Consider i've one search button which displays or popups Customer name in a gridview when i click search from that popupped gridview when i click on any particular name(Eg:Raj) in row 4.That selected value Raj is displaying in my Text box with this im inserting some more information with name Raj.At second time when i click on search bitton that stored value RAJ should not display in my pop up Grid...It for windows app..Everything is working fine i just need a query to fetch records according to my above explained req..I hope u understood..

thanx n Advance...Pls do it..

Join Hands Change lives
Thanks & Regards
Straight Edge Society

Self-innovator, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Blessyjees on: 1/24/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

try like this select * from tblname where name like '%@name%'

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Self-innovator, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response