<asp:datagrid MISSING!!!

  • Thread starter Thread starter David R.
  • Start date Start date
D

David R.

I can't seem to find the DataGrid control from my VS 2005 Toolbar. I
thought it would be in the "Data" category of the Toolbar, but I could only
see GridView, DataList, DetailsView, FormView, Repeater, ReportViewer and
the other DataSources controls.

The DataGrid seems to be missing. How can I get it back in my VS 2005
Toolbar?

Right now, I'm just instantiating it manually by typing <asp:datagrid ...
 
Right-click on the Toolbox and select Choose Items... The dialog when come
up and you can scroll down and select DataGrid. Click OK and it will appear
in the Toolbox.

As noted in another post, the GridView is replacing the DataGrid. It is in
your best interest to use the GridView. The reason for the DataGrid to be
missing is because it has been deprecated and may not be in the next version
of .NET.
 
the datagrid has been unofficially replaced.


however, it has been kept for backwards compatibility.

I'd suggest moving to the new control.
 
Back
Top