?
Solved

Looking for a textbox to copy multiple text in

Posted on 2012-04-09
1
Medium Priority
?
198 Views
Last Modified: 2012-08-13
I have an ASP textbox that user can type a value in it and I use that in a 'where' clause.

They now want to copy/paste multiple values in the textbox: something like:

Value1
Value2
Value3
Value4

I think we need a comma delimited value in between or some kind of a rule, no? but either way, is there a textbox that can do that?
0
Comment
Question by:Camillia
1 Comment
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 2000 total points
ID: 37824681
make the text box multiline and ask use to enter one value per line.
Then you can have all the values as:-

var arrValues = txtTest.Text.Split(new string[]{Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries);

Open in new window


now you can use arrValues in your where clause.....
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month17 days, 5 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question