This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> use test; | |
Database changed | |
mysql> --------------------------------- | |
mysql> -- buat table dan sample datanya | |
mysql> --------------------------------- | |
mysql> create table tbl_data as | |
-> select '1' ID ,'001' NOPEL, 'INQUIRY' KATEGORI union all | |
-> select '2' ID ,'002' NOPEL, 'COMPLAINT' KATEGORI union all | |
-> select '3' ID ,'003' NOPEL, 'REQUEST' KATEGORI union all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> use test | |
Database changed | |
mysql> ---------------------------------------- | |
mysql> -- create table penjualan | |
mysql> ---------------------------------------- | |
mysql> create table penjualan ( | |
-> id int auto_increment primary key, | |
-> no_faktur varchar(50) not null | |
-> ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void ShowProfitLossReport(int month, int year) | |
{ | |
InitializeConnectionInfo(); | |
rpt = new Finance.rptProfitLoss(); | |
rpt.ParameterFields["bulan"].CurrentValues.AddValue(month); | |
rpt.ParameterFields["tahun"].CurrentValues.AddValue(year); | |
rpt.ParameterFields["span"].CurrentValues.AddValue("MONTHLY"); | |
SetReportLogonInfo(rpt); | |
crViewer1.ReportSource = rpt; | |
crViewer1.Zoom(1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> create table anu_table ( | |
-> id int auto_increment primary key, | |
-> ukuran varchar(50) null | |
-> ) ; | |
Query OK, 0 rows affected (0.01 sec) | |
mysql> insert into anu_table (ukuran) | |
-> values ('200mm2'), ('250mm2'), ('20 x 50 mm2'), ('1 x 2 mm'), ('1 x 5mm2'), ('1 m2') ; | |
Query OK, 6 rows affected (0.00 sec) | |
Records: 6 Duplicates: 0 Warnings: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> ---------------------------- | |
mysql> -- set database | |
mysql> ---------------------------- | |
mysql> use test; | |
Database changed | |
mysql> ---------------------------- | |
mysql> -- create table | |
mysql> ---------------------------- | |
mysql> create table penggunaan ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* form_theming_tableform | |
* definisi form berbentuk table | |
**/ | |
function form_theming_tableform() | |
{ | |
$form['people'] = array( | |
'#prefix' => '<div id="people">', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Imports System.Data | |
Imports System.Data.SqlServerCe | |
''' <summary> | |
''' Interface IDataAccess | |
''' </summary> | |
''' <remarks>Untuk keseragaman metode akses data</remarks> | |
Public Interface IDataAccess | |
Function GetData() As DataTable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************ | |
* MODEL * | |
************************************************************/ | |
<?php | |
/** | |
* Summary Propinsi | |
*/ | |
public function getSummaryPropinsi() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Imports System.Data | |
Imports System.Data.SqlServerCe | |
''' <summary> | |
''' Data Access Layer ke table Employees | |
''' </summary> | |
''' <remarks> | |
''' Data Access Layer ke table Employees, | |
''' Inherits dari CDataAccess dengan Constructor untuk set table dan query |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D:\xampp\mysql\bin>mysql -u root | |
Welcome to the MySQL monitor. Commands end with ; or \g. | |
Your MySQL connection id is 1 | |
Server version: 5.5.16 MySQL Community Server (GPL) | |
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. | |
Oracle is a registered trademark of Oracle Corporation and/or its | |
affiliates. Other names may be trademarks of their respective | |
owners. |