いろいろ試行錯誤

調べものしたときの覚書きや、仕事でコーディングした時のメモ などなど…

2013-01-17から1日間の記事一覧

BitNami Stacks 一覧

BitNami が提供するソフトウェアの一覧 https://docs.google.com/spreadsheet/pub?key=0AvT_ZI6SXSADdFRCSU9pRk1LSE1QUmxleWNydkx0SkE&single=true&gid=0&output=html 元データ:BitNami Stacks

テキストファイルから重複行+NGワード削除≪Hashtable編≫

try { StreamReader sr = null; string s; Hashtable ngHash = new Hashtable(); //NGデータのHashtable作成 try { sr = new StreamReader(@"C:\temp\ngdata.txt", Encoding.GetEncoding(932)); while ((s = sr.ReadLine()) != null) { ngHash[s] = true; } …

テキストファイルから重複行削除≪OLEDB編≫

using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.OleDb; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { OleDbConnection con = new OleDbConnection("Pro…