Hello friend Generally in asp.net we write Label1.text=txtid.text; but in Mvc how we can write .
Is their we have any website we will get every thing abiut mvc
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jiseon LeePosted Jun 8, 2016, 3:14 PM
Hello Ghouse,
When you use a server control in asp.net classic, you can use the below sentence.
"Label1.text=txtid.text;"
But, MVC is different structure.
You can lean the mvc pattern of asp.net through below link what how do you map the backend data and the ui control.
http://www.asp.net/mvc/overview/getting-started/introduction/creating-a-connection-string
http://www.asp.net/mvc/overview/older-versions/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4
http://www.codeproject.com/Articles/38629/ASP-NET-MVC-or-Classic-ASP-NET-What-to-Choose
Vinay SinghPosted Jun 9, 2016, 2:22 AM
Francis SusaimichaelPosted Jun 9, 2016, 12:39 AM
Sonu ChaudharyPosted Jun 8, 2016, 3:10 PM
" id="lblLabel"/>$('#lblLabel').val()=$('#selector').val();
});