document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Data;
  7. using System.Data.OleDb;
  8.  
  9. namespace Prasetiyo
  10. {
  11.     public class tyo
  12.     {
  13.         public static OleDbConnection con;
  14.         public static OleDbCommand cmd;
  15.         public static OleDbDataReader dtr;
  16.  
  17.         public static OleDbDataAdapter dapasien;                
  18.         public static DataTable tblpasien = new DataTable();      
  19.         public static OleDbDataAdapter dadokter;              
  20.         public static DataTable tbldokter = new DataTable();  
  21.  
  22.         public static OleDbDataAdapter daadm;                
  23.         public static DataTable tbladm = new DataTable();    
  24.  
  25.         public static OleDbConnection konek_db()              
  26.         {
  27.             OleDbConnection con = new OleDbConnection
  28.             ("provider=microsoft.ace.oledb.12.0;data source=Dbklinik.accdb");
  29.             con.Open();
  30.             return con;
  31.         }
  32.     }
  33. }
');