DataGridTableStyle Problem

  • Thread starter Thread starter Carlos
  • Start date Start date
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
 
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
 
Back
Top