SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some background in WPF / C# and would like to replicate what I can do there with datagrids in a SharePoint web part. Is there an equivalent control that I could use? If not, what do people normally do when they would like to show a grid output of data from a database within a custom developed part?

Unfortunately a data view web part does not suit my purpose as it exposes the connection string.

share|improve this question
up vote 1 down vote accepted

SharePoint is built on top of ASP.NET Web Forms so any grid control you can use with Web Forms should also work in SharePoint. SharePoint also has it's own grid control, SPGridView, which inherits from the ASP.NET GridView control.

One important note, SharePoint 2007 is implemented on .NET 2.0 so if you're looking at third-party controls you'll need one that works with that version of the framework.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.