User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 397,771 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,541 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 4015 | Replies: 1
Reply
Join Date: May 2005
Posts: 1
Reputation: nishithraj is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
nishithraj nishithraj is offline Offline
Newbie Poster

Problem in getting values of a text area by row and column wise

  #1  
May 7th, 2005
Hello friends

First of all wishes to all the Members,am the new entry to this site.

I hv a problem with the passing values of a text area.
Let us suppose that we have a text area with some rows and coumns
<form method=post action="submit.asp">
<TEXTAREA id=TEXTAREA1 name=TEXTAREA1 rows="6" cols="10">
numbers peson
98422100 jakson
98422222 George
</TEXTAREA>
</form>
I would like to get the form and split all the rows and store only the names in database

I need the help
nishith raj
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2005
Location: LTT, South Africa
Posts: 125
Reputation: william_stam is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 1
william_stam's Avatar
william_stam william_stam is offline Offline
Junior Poster

Re: Problem in getting values of a text area by row and column wise

  #2  
May 26th, 2005
Originally Posted by nishithraj
Hello friends

First of all wishes to all the Members,am the new entry to this site.

I hv a problem with the passing values of a text area.
Let us suppose that we have a text area with some rows and coumns
<form method=post action="submit.asp">
<TEXTAREA id=TEXTAREA1 name=TEXTAREA1 rows="6" cols="10">
numbers peson
98422100 jakson
98422222 George
</TEXTAREA>
</form>
I would like to get the form and split all the rows and store only the names in database

I need the help
nishith raj

text areas generate a /n or /t on new line (i cant remember the exact one) so i suppose you could write a split at /n and a write loop. as to the numbers if they are the same amount of characters use
right(line,len(line)-the characters_of the numbers)
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP Forum

All times are GMT -4. The time now is 4:28 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC