470,626 Members | 2,153 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,626 developers. It's quick & easy.

DataGridTableStyle Problem

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


Nov 18 '05 #1
2 1601
Carlos wrote:
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



No, that's a Windows Form concept. Might I suggest a good basic reading at

http://aspnet.4guysfromrolla.com/articles/040502-1.aspx

it's a 15 part article on everything you need to know about the webforms
DataGrid. Part 2 covers some formatting...

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Nov 18 '05 #2
Thanks !!
"Craig Deelsnyder" <cdeelsny@NO_SPAM_4_MEyahoo.com> wrote in message
news:OG**************@TK2MSFTNGP11.phx.gbl...
Carlos wrote:
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


No, that's a Windows Form concept. Might I suggest a good basic reading

at
http://aspnet.4guysfromrolla.com/articles/040502-1.aspx

it's a 15 part article on everything you need to know about the webforms
DataGrid. Part 2 covers some formatting...

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Floela | last post: by
2 posts views Thread by Carlos | last post: by
2 posts views Thread by Chuck Bowling | last post: by
2 posts views Thread by Scott | last post: by
2 posts views Thread by Brett Romero | last post: by
4 posts views Thread by Brett Romero | last post: by
3 posts views Thread by nita | last post: by
7 posts views Thread by Mitchell S. Honnert | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.