Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ASP.net Table cell - set font

Posted on 2013-11-10
2
Medium Priority
?
1,339 Views
Last Modified: 2013-11-10
Hi
I use the following VB.net code to set the width of an ASP.net table
tCell.Width = 100
How do I set the font to "Century Gothic"
The following line gives the error "Property Font is 'Read Only'"
tCell.Font = "Century Gothic"
0
Comment
Question by:Murray Brown
2 Comments
 
LVL 20

Accepted Solution

by:
Rikin Shah earned 2000 total points
ID: 39638017
Hi,

Try-

tCell.Font.Name = "Century Gothic"
tCell.Font.Size = 25
etc...
0
 

Author Closing Comment

by:Murray Brown
ID: 39638029
Worked well. Thanks very much
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Integration Management Part 2
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question