We know html provides Table tag to form the row and column of data. The table is also used to layout the html elements in a formatted way. Asp 4.0 provides a control called Table and using this we can create tables without using the Tr and Td tags. The Table Control contains one or more TableRow Control and a TableRow Control can have one or more TableCell Controls. ASP.Net derived all these controls from the WebControl class. In this lab, we will create a Table Control and generate row and columns of data. Note, ASP.Net do not remember the content of table control between web requests. The data should be persisted, or one should use sessions. We will learn about session and DB in the later Lab
Tag Archive for ‘Table Control’
In this RDLC Reports tutorial, we will explore how to generate the RDLC Reports using the Microsoft supplied report template (.RDLC file). We get the data from the ‘Titles’ table of the Microsoft supplied ‘Pubs’ database. In this example, the ReportViewer Control acts as a presentation UI. To generate the report on the database table, we will use following things:
‘DataSource’ that supplies the data from the database.
‘Report Template’ that defines the visible elements and its location. [.RDLC file]
‘ReportViewer Control’ supplied by the dot net framework.
‘C-Sharp Form’ that houses the ReportViewer control in it.