File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Data;
namespace HANMI_J_SALE
{
public partial class CollectMoneyReport : DevExpress.XtraReports.UI.XtraReport
{
public CollectMoneyReport()
{
InitializeComponent();
}
public void setData(DataTable data, String date)
{
xrLabel_DATE.Text = date;
xrTableCell_COL_DT.DataBindings.Add("Text", data, "COL_DT_DISP");
xrTableCell_CUST_NM.DataBindings.Add("Text", data, "CUST_NM");
xrTableCell_CASH_MY.DataBindings.Add("Text", data, "CASH_MY", "{0:#,##0}");
xrTableCell_DEP_MY.DataBindings.Add("Text", data, "DEP_MY", "{0:#,##0}");
xrTableCell_ETC_MY.DataBindings.Add("Text", data, "ETC_MY", "{0:#,##0}");
xrTableCell_COL_MY.DataBindings.Add("Text", data, "COL_MY", "{0:#,##0}");
xrTableCell_COL_MY.DataBindings.Add("Text", data, "COL_MY", "{0:#,##0}");
xrTableCell_COL_CD.DataBindings.Add("Text", data, "COL_CD");
xrTableCell_REMARK.DataBindings.Add("Text", data, "REMARK");
xrTableCell_CASH_MY_SUM.DataBindings.Add("Text", data, "CASH_MY", "{0:#,##0}");
xrTableCell_DEP_MY_SUM.DataBindings.Add("Text", data, "DEP_MY", "{0:#,##0}");
xrTableCell_ETC_MY_SUM.DataBindings.Add("Text", data, "ETC_MY", "{0:#,##0}");
xrTableCell_COL_MY_SUM.DataBindings.Add("Text", data, "COL_MY", "{0:#,##0}");
this.DataSource = data;
}
}
}