Click here to Skip to main content
15,921,884 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,


In my project in view page for create i have taken a textarea foe emailid.Where Irican put multiple emailid separated by commas.if i click on save all emailid are save in database as each record.I used mvc.What will i write in controller for retrieve the textarea value and save in database

thanks All in Advance
Posted

1 solution

hi
you can get the textArea text using Request.Form["your textarea name"] . Once split those mail ids pass those values to the appropriate model/repository class and call the update method. Better have repository classes which aids these operations. Try and if can't achieve then post back comments. Will try to help
 
Share this answer
 

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