Posts

Copy Excel Worksheet One File to Another File in c#

Please flow the below steps . Step 1 Add reference Microsoft.Office.Interop.Excel; Step 2 Use below namespace . using Microsoft.Office.Interop.Excel; using System.Reflection; Step 3 Copy & Paste below code inside the button click event or any event you want to copy worksheet destination file to source file .   ApplicationClass excelApplicationClass = new ApplicationClass();             _Workbook finalWorkbook = null;             Workbook workBook = null;             Worksheet workSheet = null;             Worksheet newWorksheet = null;             try             {                 //Open the destination WorkBook                 finalWorkbook = excelApplicationClass.Workbooks.Open(Serv...

Hide Extension in Website with Asp.net

Master in Dot Net: Hide Extension in Website with Asp.net : Steps: 1: First Create a Global.asax file in your website 2: Paste the code below in Global.asax file . <%@ Application Language="C...

Hide Extension in Website with Asp.net

Image
Steps: 1: First Create a Global.asax file in your website 2: Paste the code below in Global.asax file . <%@ Application Language="C#" %> <script runat="server">     void Application_BeginRequest(object sender, EventArgs e)     {         string curruntpath = Request.Path.ToLower();         curruntpath = curruntpath.Trim();         bool isredirected = curruntpath.EndsWith(".aspx");         bool isredirected2 = curruntpath.EndsWith(".html");         bool isredirected3 = curruntpath.EndsWith(".jpg");         bool isredirected4 = curruntpath.EndsWith(".jpeg");         bool isredirected5 = curruntpath.EndsWith(".gif");         bool isredirected6 = curruntpath.EndsWith(".png");         bool isredirected7 = curruntpath.EndsWith("css");       ...

What is .Net Famework?

The .NET Framework is an integral Windows component that supports building and running the next generation of applications and XML Web services. The .NET Framework is designed to fulfill the following objectives: To provide a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely. To provide a code-execution environment that minimizes software deployment and versioning conflicts. To provide a code-execution environment that promotes safe execution of code, including code created by an unknown or semi-trusted third party. To provide a code-execution environment that eliminates the performance problems of scripted or interpreted environments. To make the developer experience consistent across widely varying types of applications, such as Windows-based applications and Web-based applications. To build all communication on industry standards to ensure that code based ...

What is ASP.NET?

What is ASP.NET? ASP.NET is a server side scripting technology that enables scripts (embedded in web pages) to be executed by an Internet server. ASP.NET is a Microsoft Technology ASP stands for Active Server Pages ASP.NET is a program that runs inside IIS IIS (Internet Information Services) is Microsoft's Internet server IIS comes as a free component with Windows servers IIS is also a part of Windows 2000 and XP Professional

What Is Dot Net?

Image
What Is Dot Net? Image via  Wikipedia .NET, is a software framework primarily for XML web services created and disseminated by Microsoft. In other words, .NET is a software platform through which  programmers can develop programs  that cause users to interact with one another’s systems rather than the program itself. For example, Windows Live Messenger is a .NET program that allows users to open the application and connect directly to other users. This is as opposed to traditional programs like Microsoft Outlook, which will take input from one user and deliver it to another. Therefore, while most programs act as intermediaries, .NET programs act as direct lines to other users that control only the way users interact rather than the interaction itself. .NET comes complete with a library of coded solutions to common issues that arise and a virtual machine to execute programs created using the framework. Programmers use the framework’s Base Class Library, whic...