I doubt that you can do this with a gridview.
Try using a Data table instead of a GridView. It can also be used for such purposes in "FastReport ", there it is done very simply.
User Profile
Collapse
-
If you use ASP.net, you can use this example connection string in the "Web.config " file:
Code:<add name = "YouDbContext" connectionString = "Data Source = (LocalDb) \ MSSQLLocalDB; Initial Catalog = NameDb; Integrated Security = SSPI;" providerName = "System.Data.SqlClient" />
Leave a comment:
-
There is no difference. You can use any database management system for your project. The database management system already takes on this role.Leave a comment:
-
I print from FastReport, there it is done very simply.
in "reportSettings " you can configure a lot of things, in particular everything that can be...Code:Report report = new Report (); report.Load ("filename"); report.Prepare (); // print report to pdf printer report.PrintSettings.Printer = "PDFCreator"; report.PrintSettings.ShowDialog = false; report.Print ();Leave a comment:
No activity results to display
Show More
Leave a comment: