By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,401 Members | 793 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,401 IT Pros & Developers. It's quick & easy.

for some reason when i deploy my C# application on windows 2003 occasionaly rdr[0].ToString() hangs where rdr is a System.Data.SqlClient.SqlDataReader. Is there a fix for this? is my visual studio.net out dated?

P: n/a
for some reason when i deploy my C# application on windows 2003 occasionaly
rdr[0].ToString() hangs where rdr is a System.Data.SqlClient.SqlDataReader.
Is there a fix for this? is my visual studio.net out dated?
Mar 22 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

1. Does this seem to you to be the right Newsgroup to ask this question
? I would have suggested "microsoft.public.dotnet.framework.adonet".
2. Is there supposed to be a difference between the Message Subject and
the Message body ? Isn't the Message Subject supposed to be abbreviated
?
3. As for your question :
I strongly doubt if your VS.NET can be called "outdated", even if it is
VS 2002, using Framework version 1.0.3705.

I think you should be using SqlDataReader.GetString() and not
ToString(). As in rdr[0].GetString()

The problem is probably with the way you're calling your methods, or
with SQL Server database. Is the database located on a main server ?

Lots of questions for you !

Regards,

Cerebrus.

Mar 22 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Browse more .NET Framework Questions on Bytes