Tags » Visual Studio

How to create a PDF file from an Excel Sheet (using C#)

The task is to create a PDF file from each sheet in each Excel file in a folder using C#. Here is one way to do it. 226 more words

Programming

Visual Studio - Web form

開啟後的程式碼

WebForm

  • aspx.視覺
  • aspx.cs 邏輯
  • aspx.designer 自動產生,不要動

點選左下方的 設計

SQL

Continuous Integration in VSTS using .Net Core (with Code Coverage), NUnit, SonarQube: Part 1: .Net Core Project Setup – Code Coverage

There are 2 ways to discover and execute unit tests using Microsoft developed test harnesses:

  • Vstest.console.exe = This is the command-line used to execute tests within/embedded in Visual Studio IDE…
  • 769 more words

C#.net and Oracle server connectivity

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Windows.Forms;

namespace DatabaseTest
{
  class database
  {
    SqlConnection cn1, cn2;
    public database()
    {
      cn1 = new SqlConnection("Data Source=tcp:172.16.255.127;Initial Catalog=database_name;Integrated Security=False;User ID=user_name;Password=user_password"); //connecting to remote server
      cn2 = new SqlConnection("Data Source=tcp:127.0.0.1;Initial Catalog=database_name;Integrated Security=False;User ID=user_name;Password=user_password"); //connecting to localhost
    }
  }
}
Oracle

How to Remove Your Visual Studio 2015 Project from Git Source Control

So you want to stop Visual Studio from tracking all changes to your project and stop updating its Git repo. Well, you just need to follow these simple steps: 72 more words

Information Technology

Export SSRS Report into PDF Format from ASP.NET Application

Export SSRS Report into PDF Format from ASP.NET Application

Now a days, it is often required to execute SSRS Report from ASP.NET web application and export that report on the disk in different formats like PDF,XLS etc. 353 more words

SQL Server

Immutable Models in MVVM


Source: flickr/ Jeff Attaway

MVVM

The first M stands for Model – an implementation of the application’s domain model that includes a data model along with business and validation logic. 720 more words

.NET