Hello, When I am using below simple C# code to untidy my XML string, but when executing locally it is working fine, but on server I am getting below error...
I am working with files and directory in C#, so I would like to know how can I rename a file and directory in C#? I would like to rename file first and then in some cases would have to rename directory also.
I see there is
File.Move Method, but is there any other method or way to rename a file and what about Directory, how to rename directory?
I am trying to save data into database using web service[asmx], after saves successfully data into table I want to show successful message in JSON format
Here is my code:...
How can I return multiple parameters of
string type using web method (web service) in asp.net C#, here is my current code
I want to redirect the users to certain pages on the basis of their rating. How can I use a switch case in C# ASP.NET MVC to do this? Please give me suggestions with some code part....
Hi, I am trying to run the below C# code for martix, but getting error