DataGridTableStyle Problem

C

Carlos

Does DataGridTableStyle work in ASP.net ? any time I'm tring to define a
varibale lke

DataGridTableStyle MyStyle = new DataGridTableStyle();

it give me "The Type or name sapce 'DataGridTableStyle 'could not be found"

also I have the following at the begining of the program..

using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

Note : this is running in a asp.net webserver

Thanks
 
G

Gabriel Esparza-Romero [MSFT]

Hi Carlos

This class is meant to be used only by WinForms apps not ASP.NET apps.

This class is inside the System.Windows.Forms namespace.

thx
Gabriel
 

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

Top