Hi there,
A DataGrid is a databound control. That is, it needs a DataSource to determine which data it must display. If you don't provide a DataSource (you need to set one through the Properties Grid in Visual Studio .NET or through code) the control has no data, and will not show itself (after all, what's there to display).
Also, make sure you haven't set the visible property. A control with its visible property set to false will no render any output in the source of the HTML page.
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|