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

Home >> Forum >> Windows Application >> Post New QuestionBookmark and Share Subscribe to Forum

Regarding ArrayList

Posted By: subash     Posted Date: June 08, 2009    Points:2   Category :Windows Application
I have created onr arrayList in which contains a set of values.I wants to store all this set of values into a table which ha only single column.I want to all the values into this single colum.

for(i = 0; intCount <= allMenuDetails.Count - 1; i++)
string[] strArrayList= allMenuDetails[intCount].ToString().Split(new char[] { '~' });

This is my code
allMenuDetails contains set of 5 string values
I want to save all those 5 values into Single Column named as MenuText
Now please give code for this

Author: Syed Shakeer Hussain             
Posted Date: June 09, 2009     Points: 5   


string[] strArrayList= allMenuDetails[intCount].ToString().Split(new char[] { '~' });
for(int j=0;j<strArrayList.Length;j++)

Author: subash             
Posted Date: June 09, 2009     Points: 5   

Thank u very much syed

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

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