Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Sqldatareader and case insensitivity !!

Author  Topic 

ann06
Posting Yak Master

171 Posts

Posted - 2010-05-08 : 04:36:04
hi,
Iam trying to get string values from the db but it is returning the uppercase of the strings. i want as itis shown in the db
iam using this method
string str=datareader.getstring(1);
values is Center
iam getting CENTER

how to make the value returned as it is in the db not uppercased??
please help

vaibhavktiwari83
Aged Yak Warrior

843 Posts

Posted - 2010-05-08 : 04:42:36
It seems the issue of frontend. you should post this in the concern technology forum to get the solution.

Vaibhav T

To walk FAST walk ALONE
To walk FAR walk TOGETHER
Go to Top of Page

ann06
Posting Yak Master

171 Posts

Posted - 2010-05-08 : 05:00:43
sorry i had a mistake in the connection string. i was reading data from different db.
Go to Top of Page
   

- Advertisement -