Click here to Skip to main content
15,991,072 members

Comments by Ashi0891 (Top 110 by date)

Ashi0891 8-Sep-14 12:12pm View    
where is the problem? You havnt worked with pop ups in asp.net so far? or what?
Ashi0891 8-Sep-14 12:10pm View    
"Example if i wanted to retrieve Nelsons data but only know his username."
you can use 'where' clause in somewhat following way
where fullname like '%'+@name+'%';
myCommand.Parameters.AddWithValue("@name", 'mandela');

this will help you get data for person having name containing 'mandela'. it will work only if data contains first name and last name and no last name would be first name for any person.
hope this helps.
Ashi0891 8-Sep-14 11:56am View    
You are doing same operation on both listbox.
Ashi0891 2-Sep-14 6:50am View    
haha.. well said.
Ashi0891 1-Sep-14 14:26pm View    
I guess you should better use it like
where ...... AND (name='' OR name=@parameter); and this should work.