Add another class “Student Meta Data” in the same cs file and add the following properties. The Meta Data Type attribute is present in Systrem. Run the application and do the same step again using Fiddler. Ensure the property name in the Student Custom Data class must match the property name of the properties present in the auto-generated Student class.
You will see the auto-generated connection strings. Now as we know this Student Name field is read-only but even after that, this field can be updated using any third-party tools like Fiddler. Click the Execute button and run the MVC application again and you will see the Student Name James is not changed to LOL. Use the following code in the create button: In the code above, only after validating the form data, the page is redirected to the User page. Net web application and click on the Create button without inserting any data in the form, then it will show the following alert message.In the preceding screen you clearly see that even I have wriiten the code on the create button to redirect to the next page but it will not be redirected because the form data is blank and it does not satisfy our validation condition that we set.I hope this article is useful for all students and beginners.If you have any suggestion related to this article then please contact me.