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
(/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/)|(//.*) |
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
// On Start Apps | |
Application.CurrentCulture = SetUpCultureInfo(); | |
public static CultureInfo SetUpCultureInfo() | |
{ | |
var cultureInfo = new CultureInfo("id-ID", true); | |
var numberFormatInfo = new NumberFormatInfo | |
{ |
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
var a = 'Vitalea Sisha'.replace('Sisha', 'Sesha'); | |
document.write(a); | |
document.write('<br/>'); | |
document.write('<br/>'); | |
var b = a + ' 99 039'; | |
document.write(b); | |
document.write('<br/>'); | |
document.write(b.replace(/([^0-9])/g, "")); | |
document.write('<br/>'); |
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
Add in file project | |
<Target Name="GatherAllFilesToPublish"> | |
</Target> |
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
ALTER AUTHORIZATION ON DATABASE::[database name] TO [desire login name] |
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
object.value = (item.value == null ? "" : item.value); | |
to | |
object.value = (item.value ?? ""); |
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
private static void SendMail(Exception err) | |
{ | |
try | |
{ | |
var body = new StringBuilder(); | |
body.AppendLine("Services Notification"); | |
body.AppendLine("<br/><br/>"); | |
body.AppendLine("Error On Allocate<br/>"); | |
body.AppendLine(string.Format(ExceptionHelpers.GetMessage(err) + "<br/>")); | |
body.AppendLine("Error Source<br/>"); |
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
Ext.onReady( | |
function () { | |
Ext.QuickTips.init(); | |
//var viewport = new Ext.Viewport({ | |
Ext.create('Ext.panel.Panel', { | |
width: 1350, | |
height: 590, | |
title: 'Sistem Inventory Commuter Line', |
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 CrystalDecisions.CrystalReports.Engine | |
Imports CrystalDecisions.Shared | |
Public Class ClassCetak | |
Public Shared Sub _ConReport() | |
Dim _ReportLogonInfos As New TableLogOnInfos | |
Dim _ReportLogonInfo As New TableLogOnInfo | |
Dim _ReportConInfo As New ConnectionInfo | |
Dim _Tables As Tables | |
Dim _Table As Table |
NewerOlder