public void ShowTxtInfo(ListView lv,ref TextBox txt)
        {
            txt.Text = "";
            string tmpstr = string.Empty;
            for (int i = 0; i < lv.Columns.Count; i++)
            {
                //tmpstr = tmpstr + "\t" + lv.SelectedItems[0].SubItems[i].Text;
                tmpstr = tmpstr + "  " + lv.SelectedItems[0].SubItems[i].Text;
            }
            txt.Text = tmpstr;
        }

 

客户端代码: CCMRule.ShowTxtInfo(lvSAPDetail, ref txtInfo);

相关文章:

  • 2022-12-23
  • 2022-01-15
  • 2022-01-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-21
  • 2021-09-02
  • 2022-01-13
  • 2022-12-23
  • 2021-08-03
  • 2022-12-23
相关资源
相似解决方案