Archive

Tag C#

Generating and Formatting excelsheet in c# using EPPlus

Posted on August 13, 2018 by Suresh Kamrushi in asp.net, SQL Server

+10 Getting data from database in DataTable format and then generating Excel sheet and formatting it using EPPlus is very easy in C# MVC. Here …

Starting windows services from C# MVC 4

Posted on July 6, 2018 by Suresh Kamrushi in asp.net, Windows

+20 Sometime you need to start/stop windows services from your C# MVC application. Here i am sharing how you can do that: 1) To access …

The type or namespace name ‘ServiceController’ could not be found

Posted on July 6, 2018 by Suresh Kamrushi in asp.net, Windows

+20 May times you need to add namespaces to your application, here I sharing how you can add “System.ServiceProcess” required to incorporate windows services to …

How to read an Excel file using C# MVC 4

Posted on April 19, 2018 by Suresh Kamrushi in asp.net

+2-1 Reading Excel file using C# MVC 4 is very easy. Here I am sharing the code how you can read cell by cell in …

How to deploy asp.net application in IIS server

Posted on December 26, 2017 by Suresh Kamrushi in asp.net

+20 I am developing C# MVC 4.0 project in Visual Studio and it is working good. Now I want to test my application in IIS …