本文介绍了我想从datarepeater打印数据我该如何做thtat plz帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个datarepeater的代码



i have this code of datarepeater

lblinstsoc.DataBindings.Clear();
                      lblinstsoc.DataBindings.Add(new Binding("Text", DT, "INST_SOCNAME"));
                      //pictureBox1.DataBindings.Clear();
                      //pictureBox1.DataBindings.Add(new Binding("Image", DT, "Stud_Photo_Path"));
                      lblinstname.DataBindings.Clear();
                      lblinstname.DataBindings.Add(new Binding("Text", DT, "INST_NAME"));
                      lblinstaddr.DataBindings.Clear();
                      lblinstaddr.DataBindings.Add(new Binding("Text", DT, "INST_ADDRESS1"));
                      lblstdname.DataBindings.Clear();
                      lblstdname.DataBindings.Add(new Binding("Text", DT, "STUDFULLNAME"));
                      lblclass.DataBindings.Clear();
                      lblclass.DataBindings.Add(new Binding("Text", DT, "CLASS_NAME"));
                      lbldiv.DataBindings.Clear();
                      lbldiv.DataBindings.Add(new Binding("Text", DT, "DIV_NAME"));





想要打印它..



我尝试过的:



问题是在同一位置重复值

我的值被覆盖了



and want to print it..

What I have tried:

problem is am getting repeating values in the same location
my values are overwritten on it

推荐答案



这篇关于我想从datarepeater打印数据我该如何做thtat plz帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-24 14:41