.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

What is the relationship between NameValueCollection and Dataset in C#?

Posted By: Palani Kumar A     Posted Date: June 24, 2011    Points:5   Category :C#
What is the relationship between NameValueCollection and Dataset in C#?

what is main use of NameValueCollection ?

Responses
Author: Gowthammanju             
Posted Date: June 25, 2011     Points: 20   

NameValueCollection allows us to create a list and reference items inside it by position or by value


but it has a limitation: keys and values must be strings.

Thanks & Regards,
GowthamManju
Chennai



Mark if the answer is true
Author: Gowthammanju             
Posted Date: June 25, 2011     Points: 20   

A NameValueCollection is similar to a .NET Hash Table in that it can store items in key/value pairs and allows you to retrieve items by specifying either the Key or index. In fact, NameValueCollections use the hash table and hash table algorithms for their underlying data structures.

A NameValueCollection also has methods to return a collection of all keys, all values, add and remove items and to get an enumerator so you can enumerate through the collection. These methods are similar to those for a standard collection or hash table.

Thanks & Regards,
GowthamManju
Chennai



Mark if the answer is true
Author: Gowthammanju             
Posted Date: June 25, 2011     Points: 20   

refer these link as

http://csharp.net-informations.com/collection/csharp-namevaluecollection.htm

Thanks & Regards,
GowthamManju
Chennai



Mark if the answer is true
Author: Palani Kumar A             
Posted Date: June 28, 2011     Points: 20   

Thanks Mr Gowthammanju ..

my doubt was cleared...



With Regards
Palani Kumar A


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend