locked
How to pass a comma delimited list to a gridview parameter. RRS feed

  • Question

  • User1344924657 posted

    I have a search function that allows user select a company name the problem comes in when there are multiple spellings of the company name.  I want to be able to allow the users to pull up each spelling that is like what they typed in but instead of using "%" + txtajaxcomany.Text + "%" to my @company parameter i want to pass each like item to a listbox to where the user can hold ctrl and select each item they want to pull back in the grid.  So I need a way to pass a delimited list or just some other way to pass multiple text items to one parameter.

    Thursday, November 20, 2008 1:41 PM

All replies