搜尋此網誌

顯示具有 VB 標籤的文章。 顯示所有文章
顯示具有 VB 標籤的文章。 顯示所有文章

2017-03-24

ConfigurationManager & 組態檔

0 意見
Configuration file schema for the .NET Framework
Web Settings Schema
IIS Configuration Reference

ASP.NET Configuration Overview
Configuration File Schema for the .NET Framework
system.web Element (ASP.NET Settings Schema)
system.web.extensions Element (ASP.NET Settings Schema)
System.Web.Configuration ProcessModelSection

[VisualStudio] Windows專案中找不到ConfigurationManager類別
[WinForm]Windows程式(非網頁),如何從app.config檔讀取資料庫連結字串(ConnectionString)
透過 Application存放資料庫的連結字串(ConnectionString)

MSDN ConfigurationManager 屬性

System.Configuration.ConfigurationSettings.AppSettings
This method is obsolete, it has been replaced by System.Configuration!
System.Configuration.ConfigurationManager.AppSettings
MSDN 使用應用程式設定和使用者設定

Settings.settings
[C#.NET][VB.NET] 應用程式組態設定檔 / Application Configurable File (一)
[C#.NET][VB.NET] 應用程式組態設定檔 / Application Configurable File (二)

Easier .NET settings ***

[C#] 善用ApplicationSettings儲存設定值

讀寫 INI 檔案

C# 如何定義全域變數
怎樣宣告一個變數為全域變數呢?

string key1 = System.Web.Configuration.WebConfigurationManager.AppSettings["key1"];
string key2 = System.Configuration.ConfigurationManager.AppSettings["key2"];
[工具介紹] web.config 的視覺化工具
configSections 的 section 項目 (一般設定結構描述)

[ASP.NET]撰寫自己的 Configuration 區段 Part 1:不要再賴在 appSettings 的屋簷下了,寫個自己的 Configuration 區段吧~
[ASP.NET]撰寫自己的 Configuration 區段 Part 2: 將自己的組態組織成一個 Group
[ASP.NET]撰寫自己的 Configuration 區段 Part 3: 自訂組態集合
Custom Configuration Sections in 3 Easy Steps
Adding and accessing custom sections in your C# App.config
Creating a Custom Configuration Section in C#

System.Configuration 命名空間
HOW TO:使用 ConfigurationSection 建立自訂組態區段
ConfigurationElement 類別
ASP.NET 組態邏輯模型

ASP.NET 組態檔結構 (區段和區段處理常式)

ASP.NET C# app.config與web.config的增加、修改、刪除操作
Creating a Custom Configuration Section in C#


How do I check if Debug is enabled in web.config




Configuration Transform *****
SlowCheetah - XML Transforms Free (它不會幫你產生 .csproj 裡的設定,要自己手動加入,可改用上面那套)
讓主控台應用程式的 App.config 也有 Debug 和 Release 自動置換的功能
Using Config Transformations in a non-Web Project




Using T4 to Create an AppSettings Wrapper, Part 1

ASP.NET MVC: Keep Private Settings Out of Source Control

Dynamic Connection String

2016-08-29

.Net 讀寫 Excel, XML, PDF

0 意見
ASP.NET 2.0 匯出資料到Excel的簡單作法
如何用 C# 將資料匯出到 Excel
[原創]C#通過引用Office Excel (2007) 組件實現對Excel文件的操作


MSDN
Office (2007) Open XML 文件格式簡介
如何操作 Office Open XML 格式文檔
Trying to create Excel 2007 doc using Asp.Net and C#
Office Open XML Formats: Inserting Values into Excel 2007 Cells
Office Open XML Formats: Retrieving Excel 2007 Cell Values
Office Open XML Formats: Retrieving Lists of Excel 2007 Worksheets
Using LINQ to Query Tables in Excel 2007


Office Development with Visual Studio
Open XML Developer Center
2007 Office System Sample: Open XML File Format Code Snippets for Visual Studio 2005
2007 Office System Sample: Open XML Format SDK 2.0 Code Snippets for Visual Studio 2008
2007 Office System Document: Open XML Developer Map
2007 Office System: XML Schema Reference
2007 Office System Sample: Manipulating Office Open XML Formats Files
Open XML SDK 2.0 for Microsoft Office
Open XML Format SDK 1.0




NPOI
POI is an open source project which can help you read/write xls, doc, ppt files.
在 Server 端存取 Excel 檔案的利器:NPOI Library
Creating Excel spreadsheets .XLS and .XLSX in C#
NPOI 1.2教程(目錄)
在 Server 端存取 Excel 檔案的利器:NPOI Library v1.21(改寫成VB範例)
NPOI Library + DataReader,將資料表的資料,輸出到 Excel檔案內
透過 NPOI輸出 Excel,使用中文檔名


[NPOI] 輕鬆地將 GridView 匯出成試算表
[NPOI] 輕鬆地將 GridView 匯出成試算表-修正版

讀取 Excel 你還在用 NPOI 嗎?快來試試 LinqToExcel

從工作表資料建立 XML 資料檔案和 XML 結構描述檔案
在 DataSet 中使用 XML
A Very Easy to Use Excel XML Export Library
Library to Generate Excel XML Workbooks in .NET

[C#] 屬性中的屬性: 自訂 Attributes

C# 寫Excel 代碼
c#中高效的excel導入sqlserver的方法
C# WinForm產出Excel報表
[C#]WinForm中DataGrid擴展 - 導出Excel文件(1)
[C#]WinForm中DataGrid擴展 - 快速導出Excel文件 (1)(續)

C# DataSet和Excel之間導入導出
如何將dataSet中的數據導入到Excel文件(*.xls)整理

Consuming ADO.NET DataSets in the Microsoft Office System

How To Read XML Data into a DataSet by Using Visual C# .NET
How To Persist an ADO.NET DataSet as XML by Using Visual C# .NET
C# 讀取XML使用XPath及Linq

從EXCEL自訂一個XSD
C# WinForm產出Excel報表

[C#][WebForm]Excel to GridView

[ASP.net WebForm] 把Excel資料匯入資料庫的懶人Code分享 - SQL Server篇
[ASP.net WebForm] 把Excel資料匯入資料庫的懶人Code分享 - NPOI篇
[ASP.net] 把資料庫資料匯出成Excel給Client端下載(底層ADO.net方式)
[ASP.net WebForm] 把Excel資料匯入資料庫的懶人Code分享 - Microsoft.office.Interop.Excel篇
[ASP.net/MSSQL] 讀寫Office Excel之前要做的相關設定

[C# .Net] Microsoft.Office.Interop.Excel 讀 / 寫 Excel 語法概全
[C# .Net] 使用 Microsoft.Office.Interop.Excel 讀 / 寫 Excel 2010

ASP.NET 如何設定強制下載檔案並正確處理中文檔名的問題


使用ASP .NET (C#) 產生PDF檔的好幫手—iTextSharp library (上)
使用ASP .NET (C#) 產生PDF檔的好幫手—iTextSharp library (下)

[C#] 網頁Html轉PDF檔(一行程式碼解決)
[ASP.net MVC] 在Web專案上使用Pechkin套件將網頁轉成PDF檔
RazorPDF Export View as PDF in ASP.NET MVC
[ASP.NET MVC]轉換URL為PDF

PDF Make
Generate PDF Using PDF Make And AngularJS
PDF File Analyzer With C# Parsing Classes

Export Gridview to PDF in ASP.Net

[Office 2010 開發系列][C#] Word 轉換 XPS & PDF 格式一定要開啟 Word 2010 才能轉檔嗎? 點點點...就要搞定它!
Creating PDF Tables using C# (.NET 2.0) and iTextSharp
C# - Generate and Deliver PDF Files On-Demand from a Template Using iTextSharp
Points to keep in mind when working with the iTextSharp HTML to PDF converter (HTMLWorker)
Generate a PDF from an ASP.NET Web Page using the iTextSharp XMLWorker Namespace

PDF File Writer C# Class Library

Ghostscript.NET
要先安裝 Ghostscript
SendToPrinterSample PDF 傳送到印表機列印
Printing PDF using Ghostscript in C#

Free .NET Spreadsheet Control

Reading and Writing to Excel files using WPF 4.5

A Dynamic XML API

Create and Update XML File

XML Notepad

2013-04-26

Microsoft Enterprise Library

0 意見
Microsoft Enterprise Library
patterns & practices – Enterprise Library
Enterprise Library Contrib
patterns & practices - Unity

patterns & practices – Enterprise Library releases
Enterprise Library 6 Reference Docs REMEMBER TO UNBLOCK.chm
Unity 3 Reference Docs REMEMBER TO UNBLOCK.chm

Hands-On Labs for Microsoft Enterprise Library 5.0

Get Started with the Enterprise Library Data Access Application Block
Enterprise Library - MSDN Magazine


Enterprise Library系列文章目錄
微軟企業庫5.0 學習之路系列文章索引>
黃聰:Enterprise Library系列文章
微軟企業庫學習筆記
Enterprise Library系列文章回顧與總結

開源ASP.NET電子商務平台 / Enterprise Library 5.0 開發嚮導 (1) (2) (3)

簡單的 Enterprise Library範例 for Data Access Application Block(DAAB)1
簡單的 Enterprise Library範例 for Data Access Application Block(DAAB)2,DataReader範例有誤(修正版)

簡述 Oracle + Enterprise Library 5.0 Data Access Application Block 的操作
Enterprise Library DAAB + Oracle:Provider 使用 ODP.NET

[EnterpriseLibrary]當出現錯誤訊息無法載入檔案或組件
[EnterpriseLibrary] DataAccess Block 讀取自訂.config 及 給予動態連線字串






Enterprise Library 6 – April 2013
Enterprise Library 6

Release Notes
Enterprise Library 6: Developer’s Guide Released
On deprecation

If you have used previous versions of Enterprise Library and are wondering what happened to the Caching Application Block, Security Application Block and Cryptography Application Block as well as some other functionality, the answer is that these have been deprecated.

基于Enterprise Library 6 的AOP实现

Unity 3
Book Download: Dependency Injection with Unity
New Guide: Dependency Injection with Unity
Introduction to Dependency Injection with Unity
Microsoft Unity Framework - A Peek

Does Enterprise Library 6 work with Visual Studio 2013 ?

AOP with Enterprise Library Policy Injection Block
Aspect-Oriented Programming, Interception and Unity 2.0
基于Enterprise Library 6 的AOP实现


董大偉 Enterprise Library

MS Enterprise Library 6.0(一) - Unity Application Block
MS Enterprise Library 6.0 (二) - Logging Application Block
MS Enterprise Library 6.0 (三) - Exception Handling Application Block
MS Enterprise Library 6.0 (四) - Policy Injection Application Block

[ASP.NET Web API]3 分鐘搞定 DI framework–Unity Application Block

DDD~Unity在DDD中的使用

Grigori Melnik: Thoughts on Agile Software Engineering and Beyond - Site Home - MSDN Blogs
Microsoft Enterprise Library - Open Development Model

Prism 5.0 for WPF – April 2014
Prism 5.0 for WPF - Book Download
Developing a Windows Store business app using C#, XAML, and Prism for the Windows Runtime
Developing a Windows Store Business App using C# and Prism with MVVM

2009-12-03

Barcode & POS for .Net

0 意見
BARCODE SYMBOLOGIES
UnifiedPOS Committee

Microsoft Point of Service for .NET
Windows Embedded for Point of Service
POS for .NET v1.12 SDK Documentation
Microsoft Point of Service for .NET v1.12 (POS for .NET)
POS for .NET MSDN論壇
使用 .NET Compact Framework 的條碼掃瞄器
Now available: POS for .NET v1.14

Code93 & Code93 Extended
Barcode Generator Add-in for Word & Excel

MSDN Seminar: Barcode應用程式開發 2006
條碼讀取資料計算
【問題】開發一個讀取barcode的程式
Processing Global Mouse and Keyboard Hooks in C#
解決BarCode掃瞄因畫面Button導致畫面送出問題
純 C# 產生Code39 BarCode 圖片

ZXing.Net
How to generate QR barcodes in C#
QR Workshop – A portable QR code reader and generator

在水晶報表中顯示條形碼

Free barcode software resource
I Shot the Serif - Free Fonts
IDAutomation Free Barcode Font Download

Online Barcode Generator
Online QR Code Generator
[Mobile]Windows Mobile - Camera 結合 QR Code 運用
QuickMark API
Psytec



CodePlex:
Barcode Rendering Framework
SilverlightBarcode Software
WPFBarcode Software
Open-Source .NET WPF Reporting Engine
AjaxControlExtender




The Code Project:

How to Generate Check Digits and verify your barcodes

C# Barcode Generator WebService

Drawing Barcodes in Windows Part One - Code 39
Drawing Barcodes in Windows Part Two - Codebar
Drawing Barcodes in Windows Part Three - I2OF5
Drawing Barcodes in Windows Part Four - Code 93
Drawing Barcodes in Windows Part Five - Code 128

•Bitmaps & Palettes - Barcodes
Barcode Image Generation Library

Drawing UPC-A Barcodes with C# 通用產品代碼
Barcode UPC-ADrawing UPCA/E barcodes
Format UPC-A Barcodes Using a .NET assembly

2 of 5 Bar Code Drawing

Use bar code fonts in C#.net

Creating EAN-13 Barcodes with C#
Drawing an EAN13 barcode
An EAN13 Code Control

GenCode128 - A Code128 Barcode GeneratorVBScan barcode software
Advanced Barcode Generation System for Code 39 Standards

Barcodes in ASP.NET applications
EAN-13 BarCode ActiveX Control Drawer
Draw EAN barcode lines and save image file with ASP.NET (VB codes)

Drawing Barcodes in Windows Part 1 - Code 39
Drawing Barcodes in Windows Part 2 - Codebar

Reading Barcodes from an Image
Reading Barcodes from an Image - II
Reading Barcodes from an Image - III

Barcode .NET Control

My Silverlight Barcode Software
WPF Barcode Software

Using .NET to Create Objects for a Sample POS System
Controlling a Barcode Reader with POS for .NET

Stock Entry on Pocket PC VB.NET & SQL CE

QRコード・バーコード




商業軟體
Barcode.dll - barcode component for .NET
Barcode Professional for ASP.NET



Auto Generate Forms the Easy way in ASP.NET using the FormView Control
How to display a QR code in ASP.NET and WPF
如何在ASP.NET和WPF中显示二维码

Generate Bar Code Using ASP.NET MVC 4

2009-05-26

年齡計算

0 意見
Dim YearsOld As Integer = DateDiff(DateInterval.Year, HC.FirstOrDefault.HCaseBDate.Value, Now.Date)
If Now.DayOfYear < HC.FirstOrDefault.HCaseBDate.Value.DayOfYear Then
YearsOld -= 1
End If

如何使用 T-SQL 計算年齡