C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
2
Reply
What is significance of 'using ' in razor view?
sumank
12y
3.3k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
Two significance use of @using keyword in razor view1) include name space@using MvcContrib.UI.Grid 2) @using can also be used with bock of code to ensure all objects are dispose when they go to out of scope@using(Html.BeginForm()){// your code}
Jignesh Trivedi
11y
0
@using(Html.BeginForm())
{
Content-Here.....
}
It ensures that an object is disposed when it goes out of scope.
sumank
12y
0
what is strongly typed view in Asp.Net MVC?
How to add stylesheet in view?
Message