473,395 Members | 1,568 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,395 software developers and data experts.

how to change the case of data in data list while retreive frm database

helo every1,
pls solve my problem
i m showing data in data list using asp.net 2003
My problem is

FirstName // column name in datalist
RAVI
ANIL
AMIT

I want this data is show like this

FirstName // column name in datalist
Ravi
Anil
Amit
Apr 24 '07 #1
3 1500
dwadish
129 100+
change the case of the column except the first character.

cut the first character of the length and change after string to lowercase(string) function.

and add the first letter to the string and display .

you can do it with a loop so every field can change this mode.

try it.
Apr 24 '07 #2
thanks
u ans is not working properly but it give enough idea about how to solve this problem

the solutin is :

UPPER(SUBSTRING(FirstName,1,1)) + LOWER(SUBSTRING(FirstName,2,LEN(FirstName)))

change the case of the column except the first character.

cut the first character of the length and change after string to lowercase(string) function.

and add the first letter to the string and display .

you can do it with a loop so every field can change this mode.

try it.
Apr 25 '07 #3
dwadish
129 100+
Thanx

frnd i send only the idea for that problem.

thanx for the code.


grow
Apr 25 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Vivek Sharma | last post by:
Hi, Under the current scenario I am fetching around 700 records in an application and keeping the recordset open. The reason being the user wants to navigate through the records anytime. I am...
10
by: mattmerc | last post by:
Hi all, I posted this about a week back with no response so I want to try again. I have a weird questions in regards to working with sql image data types. I know how to take the image type and...
5
by: Jason | last post by:
Hello all, I am new to this newsgroup but look forward to participating quite a bit. I have a simple question which hopefully someone will be able to answer. I am wanting to write an app with vb...
1
by: Sankalp | last post by:
Hi, I am using VB 2005. My application has many data bound controls. The connection is stored in the app.config file. I want the application to start with a default connection string and while...
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...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.