<asp:datagrid MISSING!!!

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 ...
 
C

Christopher Reed

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.
 
S

sloan

the datagrid has been unofficially replaced.


however, it has been kept for backwards compatibility.

I'd suggest moving to the new control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,139
Latest member
JamaalCald
Top