Z 80 6809 FORTRAN 77 COBOL Prolog KABA
自己紹介 Z 80 6809 アセンブラ FORTRAN 77 COBOL Prolog KABA C言語 VB 3. 0~ PL/SQL F-BASIC N 88 -BASIC LISP Turbo Pascal Mシリーズ アセンブラ T-SQL PL/I VB 2005/2008 わんくま同盟 東京勉強会 #23 - C# Day
index Microsoft Visual C# の第一印象 SQL Serverを使ってみた Webアプリを作ってみた Visual Basic と Visual C# わんくま同盟 東京勉強会 #23 - C# Day
index Microsoft Visual C# の第一印象 SQL Serverを使ってみた Webアプリを作ってみた Visual Basic と Visual C# わんくま同盟 東京勉強会 #23 - C# Day
イベントプロシージャ Hello. World. Designer. cs this. Shown += new System. Event. Handler(this. Hello. World_Shown); わんくま同盟 東京勉強会 #23 - C# Day
Hello World! namespace Hello. World. Cs { public partial class Hello. World : Form { public Hello. World() { Initialize. Component(); } private void Hello. World_Shown(object sender, Event. Args e) { this. Display_Label. Text = "Hello World!"; } } わんくま同盟 東京勉強会 #23 - C# Day
index Microsoft Visual C# の第一印象 SQL Serverを使ってみた Webアプリを作ってみた Visual Basic と Visual C# わんくま同盟 東京勉強会 #23 - C# Day
Connection private void Connection_Click(object sender, Event. Args e) { Sql. Connection cn = new Sql. Connection(); this. Cursor = Cursors. Wait. Cursor; try { cn. Connection. String = @"User Id=sa; " + @"Password=; " + @"Initial Catalog=pubs; " + @"Data Source=localhostSQLEXPRESS; "; cn. Open(); } catch (Exception ex) { Message. Box. Show(ex. Message, this. Text, ・・・・・・・・・・・); } finally { this. Cursor = Cursors. Default; } } わんくま同盟 東京勉強会 #23 - C# Day
Data. Adapter using (Sql. Transaction _tr = _cn. Begin. Transaction()) { using (Sql. Command _cmd = new Sql. Command(sql. String, _cn)) { _cmd. Transaction = _tr; //###重要### using (Sql. Data. Adapter _da = new Sql. Data. Adapter(_cmd)) { using (Sql. Command. Builder cb = new Sql. Command. Builder(_da)) { _da. Update. Command = cb. Get. Update. Command(); _da. Insert. Command = cb. Get. Insert. Command(); _da. Delete. Command = cb. Get. Delete. Command(); Boolean is. OK = False; try { _da. Fill(Ds, "employee"); is. OK = True; } catch (Exception ex) { Message. Box. Show(ex. Message, ・・・・・・・); } finally { if (is. OK) { _tr. Commit(); } else { _tr. Rollback(); } わんくま同盟 東京勉強会 #23 - C# Day
index Microsoft Visual C# の第一印象 SQL Serverを使ってみた Webアプリを作ってみた Visual Basic と Visual C# わんくま同盟 東京勉強会 #23 - C# Day
index Microsoft Visual C# の第一印象 SQL Serverを使ってみた Webアプリを作ってみた Visual Basic と Visual C# わんくま同盟 東京勉強会 #23 - C# Day
- Slides: 24