just a small query..
.
.
i just want to know how to enter fetched data into an array..!!!
sam023 0 Junior Poster
Recommended Answers
Jump to Postdo this:
1. Fetch the data from data base.
2. Have a loop to fill the data in array.Post the code what ever you have done so far, for better help.
Jump to Posthi sam... here i am fetching the data from the db and assing that data to a string array...
code is ...protected void Page_Load(object sender, EventArgs e) { SqlConnection con = new SqlConnection(@"Data Source=WINKC185045-MAB\SQLEXPRESS;Initial Catalog=Records;Integrated Security=True"); SqlDataAdapter da = new SqlDataAdapter("select name from data", con); DataSet …
All 5 Replies
DangerDev 107 Posting Pro in Training
omniuni 0 Newbie Poster
sam023 0 Junior Poster
sam023 0 Junior Poster
kameswari 2 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.