注册 登录
编程论坛 VB6论坛

vb如何将数据传递给用c#编写的程序?

beijiquan 发布于 2014-12-25 09:54, 344 次点击
c#中对于接受的数据是这样定义的,两个结构体:
一个是:public CJOB();
        public string ArticleKey { get; set; }
        public string BatchSize { get; set; }
        public string JobID { get; set; }
        public string TotalPieces { get; set; }
一个是:public CKANBAN();
        public string Article { get; set; }
        public Color Color1 { get; set; }
        public Color Color2 { get; set; }
        public string CoreArea { get; set; }
        public string KANBANID { get; set; }
        public string Side1partpullofflength { get; set; }
        public string Side1seal { get; set; }
        public string Side1strippinglength { get; set; }
        public string Side1terminal { get; set; }
        public string Side2partpullofflength { get; set; }
        public string Side2seal { get; set; }
        public string Side2strippinglength { get; set; }
        public string Side2terminal { get; set; }
        public string WireID { get; set; }
        public string WireLength { get; set; }
我现在要用VB编写一个程序,将数据按照上面的格式传递给c#,请问如何实现?急急急!!!
1 回复
#2
风吹过b2014-12-25 15:32
表示看不懂。

建议你改用 去做这个程序。
1