DataGrid is nesting with REPEATER

zhaozj2021-02-16  46

This article describes how to set the REPEATER control into the dataGrid to display the graded data. Of course, you can also apply this technology to other list binding controls, such as DataGrid contains a combination of DataGrid, Datalist, including DataList, etc.

The complete code is as follows, pay attention to it,

DataGrid1.datasource = DV; DataGrid1.databind ();

Be sure to be after ds.reletions.add (..)..

<% @ Import namespace = "System.Data"%> <% @ import namespace = "System.Data.OleDb"%>