小编Mah*_*bar的帖子

reportviewer未在表单设计器上显示(c#winform)

我是winform app的用户reportviewer !!!

现在当我从工具箱中选择reportviewer控件并将其添加到页面控制器时,任何未在表单设计器上显示的内容,但页面底部将显示reportviewer的名称!

我真的很困惑这个问题!

当我从我的项目进行备份时出现了这个问题!在此之前,我对报表查看器没有任何问题!(我手动设置reportviewer的位置和大小,但......)

 this.reportViewer1.Location = new System.Drawing.Point(0, 0);
 this.reportViewer1.Name = "ReportViewer";
 this.reportViewer1.Size = new System.Drawing.Size(396, 246);
 this.reportViewer1.TabIndex = 0;
 this.reportViewer1.Visible = true;
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

c# reportviewer winforms

10
推荐指数
1
解决办法
9117
查看次数

字典列表c#

我想要这样的字典列表字典:

Dictionary <string, List<Dictionary<string,string>> field;
Run Code Online (Sandbox Code Playgroud)

但是visual studio给我发错误:

错误CS0305使用泛型类型'Dictionary'需要2

如何解决这个错误(或者更好地解决我的问题)?

c# string dictionary list

0
推荐指数
2
解决办法
128
查看次数

标签 统计

c# ×2

dictionary ×1

list ×1

reportviewer ×1

string ×1

winforms ×1