|
-
Jul 31st, 2012, 01:44 AM
#1
New Member
Re: How read a hash table object
IDictionaryEnumerator s = hashtable.GetEnumerator();
while (s.MoveNext())
{
MessageBox.Show(s.Key + s.Value.ToString());
}
-
Jul 31st, 2012, 01:49 AM
#2
Re: How read a hash table object
 Originally Posted by prasad.k539
IDictionaryEnumerator s = hashtable.GetEnumerator();
while (s.MoveNext())
{
MessageBox.Show(s.Key + s.Value.ToString());
}
Hello,
Welcome to the forums! Thanks for taking the time to post in this thread!
One thing I would say though, using MessageBox.Show within an ASP.NET application is not really a recommended best practice. Although it will "work" when you are debugging out of Visual Studio, when you deploy the application onto a server, you will never see the MessageBox appear on the client.
Gary
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|