ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 21st, 2005, 07:50 AM
webland webland is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 7 webland User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 44 m 26 sec
Reputation Power: 0
Uppercase to Bold

Hi,

I'm a total asp novice, but could you tell me if the following is possible:

I have a field that contains text with titles in uppercase e.g.

THIS IS TITLE 1
Text goes here

THIS IS TITLE 2
Text goes here

Is there any way to make rows in uppercase display in bold?
Thanks in advance.

Reply With Quote
  #2  
Old April 21st, 2005, 09:36 AM
splinters's Avatar
splinters splinters is offline
Bug Catching Moderator
ASP Free Expert (3500 - 3999 posts)
 
Join Date: Sep 2004
Location: Australia
Posts: 3,571 splinters User rank is First Lieutenant (10000 - 20000 Reputation Level)splinters User rank is First Lieutenant (10000 - 20000 Reputation Level)splinters User rank is First Lieutenant (10000 - 20000 Reputation Level)splinters User rank is First Lieutenant (10000 - 20000 Reputation Level)splinters User rank is First Lieutenant (10000 - 20000 Reputation Level)splinters User rank is First Lieutenant (10000 - 20000 Reputation Level)splinters User rank is First Lieutenant (10000 - 20000 Reputation Level)splinters User rank is First Lieutenant (10000 - 20000 Reputation Level)  Folding Points: 7190 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Day 18 h 33 m 56 sec
Reputation Power: 112
Nothing to do with ASP, but use this HTML
Code:
<strong>THIS IS TITLE1</strong>
If you have a lot of upper case titles on your page and you want them to be in boldface, it's probably best to use CSS and configure a style.
__________________
Have I made your day? If so, please show your appreciation either by sending money or the cheaper, preferred option of clicking on the scales icon at the top right of this posting. My reputation needs all the help it can get.

Last edited by splinters : April 21st, 2005 at 09:39 AM.

Reply With Quote
  #3  
Old April 21st, 2005, 10:18 AM
selwonk's Avatar
selwonk selwonk is offline
Contributing User
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Jun 2004
Posts: 3,067 selwonk User rank is First Lieutenant (10000 - 20000 Reputation Level)selwonk User rank is First Lieutenant (10000 - 20000 Reputation Level)selwonk User rank is First Lieutenant (10000 - 20000 Reputation Level)selwonk User rank is First Lieutenant (10000 - 20000 Reputation Level)selwonk User rank is First Lieutenant (10000 - 20000 Reputation Level)selwonk User rank is First Lieutenant (10000 - 20000 Reputation Level)selwonk User rank is First Lieutenant (10000 - 20000 Reputation Level)selwonk User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 8 h 28 m 37 sec
Reputation Power: 185
Presuming that you are displaying the rows in a loop:
Code:
While NOT obj_RecordSet.EOF
	If obj_RecordSet("Title") = UCase(obj_RecordSet("Title")) Then
		Response.Write("<strong>" & obj_RecordSet("Title") & "</strong><br>")
	Else
		Response.Write(obj_RecordSet("Title") & "<br>")
	End If
	obj_RecordSet.MoveNext
Wend
All this does is check if the field in the recordset is the same as the field in the recordset converted to upper case
__________________
selwonk

If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more!


Reply With Quote
  #4  
Old April 21st, 2005, 01:50 PM
webland webland is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 7 webland User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 44 m 26 sec
Reputation Power: 0
Thanks Mike, thats just what I'm after!

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Uppercase to Bold


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek