473,394 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Dumb question about formatting in VB.Net

Hi All :-)

I have an HTML table that I am using to store session variables from other
pages within our web-application. In this table, I need to format the rows
& cells to be right aligned. I am using this code:

tbl_tax_subtotals.Rows(1).Cells(2).HorizontalAlign = HorizontalAlign.Right
tbl_tax_subtotals.Rows(2).Cells(2).HorizontalAlign = HorizontalAlign.Right
tbl_tax_subtotals.Rows(3).Cells(2).HorizontalAlign = HorizontalAlign.Right

I have this working perfectly in the other HTML table on the same page, but
for some really odd reason, this table will NOT align the cells Right for
me. Any suggestions?

TIA, Coleen
Nov 20 '05 #1
1 898
Coleen,

You should probably post this in microsoft.public.dotnet.framework.apsnet to
get a good answer.

-Sam Matzen
"Coleen" <co**********@yaho.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi All :-)

I have an HTML table that I am using to store session variables from other
pages within our web-application. In this table, I need to format the rows & cells to be right aligned. I am using this code:

tbl_tax_subtotals.Rows(1).Cells(2).HorizontalAlign = HorizontalAlign.Right
tbl_tax_subtotals.Rows(2).Cells(2).HorizontalAlign = HorizontalAlign.Right
tbl_tax_subtotals.Rows(3).Cells(2).HorizontalAlign = HorizontalAlign.Right

I have this working perfectly in the other HTML table on the same page, but for some really odd reason, this table will NOT align the cells Right for
me. Any suggestions?

TIA, Coleen

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Raymond Arthur St. Marie II of III | last post by:
very Very VERY dumb ? about the new Set( ) 's Please be kind and read this like you know I've been up 33-34 hours reading PEP's but... Doc\ref 2.6 Delimiters show's three unused characters "@...
2
by: Marion | last post by:
I would like to go on record to say that I think not having the Printer collection in .Net is dumb. The only help tells me that I should use the Print Dialog. Well, I don't want to. Programming is...
4
by: Piedro | last post by:
Hi group, as I was browsing the web and checking out w3schools.com I read that the font tag was deprecated and that I should use css styles for formatting like for example <p class="p1"> Text...
2
by: Colleyville Alan | last post by:
I am using Access and have embedded the ActiveX control Formula One that came with Office 2000. (ver 3.04). I have created and formatted a spreadsheet and now I want to copy the info with...
4
by: hope | last post by:
Hi, How can I format a string field using Data Formatting Expression property in datagrid? For example: format last name from BROWN to Brown. Thanks
1
by: Chris | last post by:
Dumb question about c# web services Posted on: 11/30/2005 12:14:16 Ok guys, here is what I am trying to do or what I need to know. I am creating a webservice called db_update. This...
16
by: CMM | last post by:
Is it me or has anyone noticed that F1 is really dumb in VS2005. Since VB3 I have been able to click F1 on an ambiguous method in code and the IDE automatically determines the type based on the...
0
by: gsb58 | last post by:
Hi! In my application I save text from a RichText box to file, but when previewing the text it turns out like: {\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 Verdana;}}...
3
by: diffuser78 | last post by:
I am a newbie to C++. Following is my thinking about C++ ..correct me if I am worng. C++ has a standard compiler and MS Visual Studio C++ is just an IDE for the standard C++ compiler or there is...
8
by: Typehigh | last post by:
I have many text fields with conditional formatting applied, specifically when the condition is "Field Has Focus". Without any events associated with the fields the conditional formatting works...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.