Latest posts on tagged on "CSharp"

[Solved] The associated metadata type for type object contains the following unknown properties or fields.

13 October 2016

I got the following error while running the application, later I found a solution for that. This is due the partial class properties are not found in the main class. I removed the column field’s likesCount and OutputHtml from the table and updating the model using entity framework. But I haven’t removed the properties from the partial class.

Cascading dropdownlist in asp.net mvc using Angularjs

12 October 2016

In this article, I will show you how to create cascading dropdownlist in asp.net mvc using Angularjs. To begin install angularjs in the project by running the following command in nuget package manager console.

How to edit xml file using asp.net c# MVC?

10 October 2016

In this article I will show you how to modify xml file using asp.net c# mvc. I have xml file with column fields such as id, paragraph, link etc.

insert update delete in gridview in asp.net with c#

3 October 2016

In this article, I will show to how to insert, update, delete in gridview in asp.net with c# code. First step you should create an xml file with column fields and save it as mytask.xml.

How to parse string to integer in c#?

3 October 2016

In this article, I will show to convert from string to int by parsing. Here I want to increment id field in xml for new entries. In XML, data fields are in a string so that I needed to convert it to int.

How to write a c# program to shutdown computer using asp.net?

30 September 2016

In this article I will show you to write a c# program to shutdown computer using asp.net. we have to include System.Diagnostics and use start process it forces to shut down the computer as parameters specified.