private void Detail_Format(object sender, EventArgs e) { Byte[] bytesData; bytesData = System.Text.Encoding.GetEncoding(932).GetBytes("0123456789"); this.Barcode1.ValueBinary = bytesData; }
Private Sub Detail_Format(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Detail.Format Dim bytesData As Byte() bytesData = System.Text.Encoding.GetEncoding(932).GetBytes("0123456789") Me.Barcode1.ValueBinary = bytesData End Sub