English 中文(简体)
是否有办法使方案能够查阅积极报告章节的栏目?
原标题:Is there a way to get programmatic access to the columns of a ActiveReports detail section?

我有一份有关数据动态积极报告的报告(NET)。 在本报告中,我计划把细节部分的哥伦科特财产划入第十部分。 详细部分有一个数据输入文本箱。

详细章节的颜色财产归所有,而数据约束机制在确定数据来源和数据成员后自动填充数据。

这里是法典......

Public Sub RunReport
        Dim count As Integer = 0

          ...    get count

        Detail1.ColumnCount = count

        Me.DataSource = ds
        Me.DataMember = ds.Tables(0).TableName

End Sub

该法典可操作罚款,数据自动填充。

现在,我需要改变报告,并盘旋或突出报告各栏自动填入的项目之一。

我无法从方案上进入由汽车组成的栏目,以便我能够越过边界或带走一圈或东西。 我将如何做任何想法?

牙齿

最佳回答

你们可以通过在形式活动中确定控制的性质而进入边境。 例如,如果你想要在案文箱价值低于零时划定其边界,你可能会使用像以下法典这样的东西:

 private void detail_Format(object sender, System.EventArgs eArgs)
 {
      if (this.TextBox1.Value < 0) {
           this.TextBox1.Border.BottomColor = System.Drawing.Color.Blue;
           this.TextBox1.Border.BottomStyle = BorderLineStyle.DashDot;
           this.TextBox1.Border.LeftColor = System.Drawing.Color.Blue;
           this.TextBox1.Border.LeftStyle = BorderLineStyle.DashDot;
           this.TextBox1.Border.RightColor = System.Drawing.Color.Blue;
           this.TextBox1.Border.RightStyle = BorderLineStyle.DashDot;
           this.TextBox1.Border.TopColor = System.Drawing.Color.Blue;
           this.TextBox1.Border.TopStyle = BorderLineStyle.DashDot;
      }
 }

rel=“nofollow noreferer”>here,用于更多地宣传边境财产。

对该网页进行控制并不容易。 你可以根据某些情况计算这一职位,但我建议利用控制本身来强调你想要的数据,而不是利用网页。 这将使你们的生活更加容易:

如果对你来说,一个圈子很重要,那么你就可以在积极报告中使用“沙皮”控制来做到这一点,根据情况确定立场和可见度。 确实,正文框中载有 shape状。 使用形状的法典与我如何制定上述法典相似,但你将确定形状控制的最高/取舍和无形财产,而不是确定边界财产。 关于形状控制的更多信息是:here

希望这一帮助。

 Scott Willeke
 GrapeCity
问题回答

暂无回答




相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签