e il bello è che avevo scritto attenzione in maiuscolo....
nn x essere scortese ma nn mi serve un repater.
Datagrid, repreater, tutte questi oggetti aspnet li so già usare.
Sto facendo un mio oggetto che rappresenterà una tabella da associare a un db, che formatterà i dati x come voglio io.
posto un esempio che nn funzia:
Imports System
Imports System.Data
Imports System.Data.OleDb
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls

Namespace giorgio
Public Class tabella
Inherits Control
Public i, j As Integer
Public table As table
Public text As LiteralControl
Public row As TableRow
Public cell As TableCell
Protected Overrides Sub createchildcontrols()
text = New LiteralControl("<h1>ciao</h1>")
Controls.Add(text)
table = New Table()
Controls.Add(table)
For i = 0 To 10
row = New TableRow()
table.Rows.Add(row)
For j = 0 To 5
text = New LiteralControl("riga: " + i + " Cella: " + j)
cell = New TableCell()
cell.Controls.Add(text)
row.Cells.Add(cell)
Next
Next
End Sub
End Class
End Namespace
os' è che nn funziona???