注塑喷涂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

47 lines
1.3 KiB

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
using MESClassLibrary.BLL.Log;
using PunchAndWeld.DataSouce;
namespace PunchAndWeld
{
public partial class FrmNotPackList : Form
{
public FrmNotPackList()
{
InitializeComponent();
}
private void FrmNotPackList_Load(object sender, EventArgs e)
{
try
{
listView1.Columns.Clear();
listView1.Clear();
listView1.Columns.Add("塑件条码", 470, HorizontalAlignment.Center);
DataTable dt = ProScreenFunc.NotPackList(ConfigurationManager.AppSettings["StationNo"]);
if (dt != null && dt.Rows.Count > 0)
{
for (int i = 0; i < dt.Rows.Count; i++)
{
ListViewItem lvi = new ListViewItem(dt.Rows[i]["barcode"].ToString());
listView1.Items.Add(lvi);
}
}
}
catch (Exception ex)
{
LogErrBLL.AddInfo(ex.ToString(),MethodBase.GetCurrentMethod());
}
}
}
}