Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
a textbox can contain one input from user. i want multiple inputs from user n treat each as an individual n want to store them in database. so what tool should be used?

the ultimate task is to take more than one values from users n place them in database in separate rows
Posted
Updated 19-Jun-11 9:41am
v2
Comments
thatraja 18-Jun-11 12:05pm    
Not clear.

It really depends on what kind of inputs and how you want the user to be able to input them.

You can present the same text box over and over if it's okay to enter the data one at a time. Or you could present a multi-line text box and parse the input into separate inputs at each linebreak.
 
Share this answer
 
Comments
Sweety Khan 19-Jun-11 15:40pm    
i found a rich text box in toolbox, r u saying about this?
TRK3 20-Jun-11 10:33am    
Yes, a rich text box could be used to enter multiple lines of data. A standard textbox can also do that, see:
http://msdn.microsoft.com/en-us/library/system.windows.forms.textbox.aspx
I suggest first of all you need to decide what king of application you need develop i.e. Desktop Application/Web Application

And then proceed which selection of tool you can use

Thanks
 
Share this answer
 
Comments
Sweety Khan 19-Jun-11 15:38pm    
i m making desktop application

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900