.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 >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

how to retrieve data from a database to an array?

Posted By: kaien123     Posted Date: September 28, 2011    Points:5   Category :ASP.Net
Well, I am new in asp.net.
So, first I made an sql database named "Database1.mdf"
Then i created a table named "Product"

So, there was no problem when I set up a connection string
using SqlDataSource.
I then later connect it with a dropdownlist and also a datalist.
No problem with those.
However, i wanted to put those data from the table into an array.
Any advice on where I should start with?

Responses
Author: Narayanan          Accepted Answer   
Posted Date: September 29, 2011     Points: 40   

Hi,
refer this link
http://forums.asp.net/t/1097707.aspx/1
Regards,
Lakshmi Narayanan.S

Regards, Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
Author: kaien123             
Posted Date: September 29, 2011     Points: 20   

okay, thank you



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