filmov
tv
Vb.net Xtrareport

Показать описание
الكود الذي تم كتابته
Imports System.Data.OleDb
Imports DevExpress.XtraReports.UI
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
DataGridView1.Rows.Clear()
For i = 0 To 20
DataGridView1.Rows.Add("Field" & i, Now, i)
Next
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim dt As New DataTable("Table1")
With dt
.Columns.Add("aa")
.Columns.Add("bb")
.Columns.Add("cc")
End With
dt.Rows.Clear()
With DataGridView1
For i = 0 To .Rows.Count - 1
dt.Rows.Add(.Rows(i).Cells(0).Value, .Rows(i).Cells(1).Value, .Rows(i).Cells(2).Value)
Next
End With
Dim adapter As New OleDbDataAdapter
Dim report As New XtraReport1
report.DataSource = dt
report.DataAdapter = adapter
report.DataMember = "Table1"
Dim tool As ReportPrintTool = New ReportPrintTool(report)
report.CreateDocument()
report.ShowPreview()
End Sub
End Class
Imports System.Data.OleDb
Imports DevExpress.XtraReports.UI
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
DataGridView1.Rows.Clear()
For i = 0 To 20
DataGridView1.Rows.Add("Field" & i, Now, i)
Next
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim dt As New DataTable("Table1")
With dt
.Columns.Add("aa")
.Columns.Add("bb")
.Columns.Add("cc")
End With
dt.Rows.Clear()
With DataGridView1
For i = 0 To .Rows.Count - 1
dt.Rows.Add(.Rows(i).Cells(0).Value, .Rows(i).Cells(1).Value, .Rows(i).Cells(2).Value)
Next
End With
Dim adapter As New OleDbDataAdapter
Dim report As New XtraReport1
report.DataSource = dt
report.DataAdapter = adapter
report.DataMember = "Table1"
Dim tool As ReportPrintTool = New ReportPrintTool(report)
report.CreateDocument()
report.ShowPreview()
End Sub
End Class
Vb.net Xtrareport
[DEVEXPRESS] TUTORIAL CREATE DYNAMIC XTRA REPORT IN VB.NET
Report Visual Studio xtraReport
DevExpress WinForms Reports: SubReport Parameter Binding
How To Creating a DevExpress XtraReport In Wonderware System Platform
XtraReports Parameter Data Source
XtraReport How to hide parameters panel
XtraReport WPF - Bind a report to data without a data source at design time
XtraReports in Business: Streamlining the Design-Time Experience
Bind a Devexpress xtraReport to a DataSet winforms C# visual studio 2019
[C#] XtraReport DevExpress using Parameters - Tutorial
WinForms End-User Report Designer - Introduction to XtraReports
DevExpress Tutorial - Create a Simple Report | FoxLearn
All Xtrareports edit
10. Designing Printable Report Using XtraReport in Visual Studio 2015
WinForms Reports - Creating and Updating to an MDI Reports Designer
1489 XtraReports
tạo xtra report devexpress
DevExpress XtraReport Thêm cột cho report đã có
Welcome to the Dark Side: Using XtraReports in Innovative ways
XtraReports – nie taki straszny jak go drukują
pass parameter value programmatically devexpress xtrareport winforms C# visual studio 2019
DevExpress Tutorial - Grouping Data in Tables Report C# .NET | FoxLearn
Reporting: How to Create Invoices
Комментарии