Click here to Skip to main content
15,899,126 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends ,I am Creating A Login Page,Where In Model ADO.Net Code Is Present, and In View Desigen Is Present, I want To Access TextBoxId in view and Pass to model and then Pass TO Conrtoler AnyBody Can Help Me....
Posted
Comments
dan!sh 13-Jan-16 3:40am    
Kind of beats the whole purpose of using MVC, right? Why do you need to send the control name to model?
Member 12211068 13-Jan-16 4:58am    
I the model there is ado.net code are present...There is the id name as txtUserName which is not accessible in model...redline appear on the txtUserName and shows txtUserName is Not Present in Current Context....from model to view is not accessible....do u hav any solution regarding this issue because i m new in MVC...Thank U
dan!sh 13-Jan-16 5:06am    
I would suggest you to read a book on MVC before jumping right into creating website. There is a learning curve involved if you are coming from web forms background.
Member 12211068 13-Jan-16 6:15am    
Yes ,This Is Also True....Thanks you bro...

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