RSS图片
C#开发
https://www.paragon-inc.com/blog/easy_excel_interaction_pt5 http://gruffcode.com/2013/10/30/simple-excel-export-with-epplus/ https://stackoverflow.com/questions/13396604/excel-to-datatable-using-epplus-excel-locked-for-editing ...
作者:发表于:2018/04/09 点击:0 评论:0
Follow these simple steps: Right Click on "devenv.exe" Click "Troubleshoot compatibility" Click "Troubleshoot program" Check "The program requires additional permissions" Click "Next" Click "Test the program...". It should launch Visual Studio as Administrator Click "Next" Click "Yes, save these settings for this program" Click "Close the troubleshooter" Now the Visu......
作者:发表于:2018/03/23 点击:0 评论:0
Tool:Visual Studio 2013 Ultimate OS:Windows Server 2012 .NET Framework : 4.5.1   這是自ASP.NET4.5版就新增的新功能,在ASP.NET Web Forms網站之中,可以利用ScriptManager來管理JavaScript,例如jQuery,讓引用更方便。 建立一個Web Site 使用NuGet下載jQuery,目前版本2.0.3 加入Global Application Class Add Code: void Application_Start ( ob......
作者:发表于:2018/03/18 点击:0 评论:0
using System; using System.Collections.Generic; using System.Text; using System.Reflection; using System.IO; namespace MB.Utility.Log {     /// <summary>     ///      /// </summary>     public class SingleLog     {         StreamWriter sw = null;         // string LogFile; ......
作者:发表于:2018/03/17 点击:2 评论:0
I faced lot of trouble when i do difference between  two versions in VSS, it is not specifying what exactly the change is. So i thought of exploring how to use one of the best open source diff tool to make this. In this post i am going to explain how can we integrate WinMerge’s diff tool with VSS 5.0. Pre-Requisites: 1. VSS 5.0 installed 2. Winmerge 2.12.4 installed. Steps: 1......
作者:发表于:2018/03/17 点击:0 评论:0
How to Clear INetCache in C# Step 01. Create Variable private const int INTERNET_OPTION_END_BROWSER_SESSION = 42; [DllImport("wininet.dll", SetLastError = true)] private static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength); Step 02. Create Method private static void ClearIEFolder() {     try     {    ......
作者:发表于:2018/03/17 点击:0 评论:0
内插字符串以美元符号$开头,后面跟一个""包含的字符串,字符串中大括号包含的内容会由编译器计算成一个字符串,如果是对象的话就会调用对象的ToString方法,然后拼接产生结果。 如果要在内插字符串中包含大括号,就需要连续两个大括号{{ }}这样的。单大括号里的内容不仅仅可以是一个值,表达式也可以 string name = "microsoft"; int age = 23; Console.WriteLine("{0} is {1} years old.", name, age); //使用内插字符串 Console.WriteLine($...
作者:发表于:2018/02/19 点击:2 评论:0
-----父窗体------ <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> ......
作者:发表于:2017/12/25 点击:3 评论:0
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tag......
作者:发表于:2017/12/23 点击:2 评论:0
%CommonProgramFiles%\Microsoft Shared\Web Server Extensions\16\LOGS\...
作者:发表于:2017/12/19 点击:1 评论:0