|
-
July 28th, 2002, 10:10 AM
#1
getting a particula row's value of a textarea
how to get the value on a particular row in a textarea of asp.net?
like
in a textarea there are following values
codeguru
forums
messages
articles
all are on different lines..now if i want to retreive the text on line 2 ( forums here) ..then how can i do the same in my code..
is there anything like... textarea id .Row(2) or something like that?
-
August 4th, 2002, 08:52 PM
#2
After you get the content of a TextArea, you can do a String.Split() with a delimiter of '\n', then you will get a array of strings, this array can meet your requirement. For more details, search MSDN on String.Split.
If it helps you, thanks for rating.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|