Month: February 2013

Visual Studio 2012 C#.NET Gridview connect to Oracle DB

Visual Studio 2012 C#.NET Gridview connect to Oracle DB 1. download Oracle 11g  intall them (link http://www.oracle.com/technetwork/developer-tools/visual-studio/downloads/index.html) 2.download Data Provider Oracle (ODAC) intall them (link http://www.oracle.com/technetwork/developer-tools/visual-studio/downloads/index.html) 3. Config Service Naming 4. copy sqlnet.ora and tnsnames.ora…

MVC 4 map anonymous Data Entity

เกิดขึ้นในกรณีที่ จะ Add View ปรากฏว่า Field มันใช้แบบ multi ต้อง Add Class using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MvcApplication5.Models { public class MyStudent { public Int32 id {…