Hi,
It isn't in System.Drawing. If you hover your mouse over the error it
should tell you the namespace. Try:
tRow.Height = System.Web.UI.WebControls.Unit.Pixel("35")
Also in your code below you are trying to set Cells to a height. You can't
do that, Cells is a read-only property. Good luck! Ken.
--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.
"hansiman" <ha***@hotmail.com> wrote in message
news:r5********************************@4ax.com...
thanks, but ...
even if I state "Imports System.Drawing"
tRow.Cells = Unit.pixel(35)
fails
The examples in VS seem only to imports System.Drawing
/M
On Sat, 2 Oct 2004 06:40:24 -0500, "Ken Dopierala Jr."
<kd*********@wi.rr.com> wrote:
Hi,
You need to specify it in units:
tRow.Height = Unit.Pixel("35")
Good luck! Ken.