Hi! Can someone tell me on how could I display the data from my SQL to a ListView? I only have one column to display. Thank you very much and God Bless! :)
paulablanca
0
Junior Poster in Training
Recommended Answers
Jump to Posthere is a sample program for what u want to do.. i have used the NorthWind Database. u can use yours.
Complete Coding:Imports System.Data.SqlClient Public Class Form1 Dim conn As SqlConnection Dim cmd As SqlCommand Dim da As SqlDataAdapter Dim ds As DataSet Dim …
Jump to PostMe.ListView1.Columns.Add("Question")
add above line before the while loop. it will add a column name Question
Jump to Postcan u post a screen of ur project?
All 11 Replies
sandeepparekh9
109
Posting Whiz
paulablanca
0
Junior Poster in Training
sandeepparekh9
109
Posting Whiz
paulablanca
0
Junior Poster in Training
sandeepparekh9
109
Posting Whiz
paulablanca
0
Junior Poster in Training
sandeepparekh9
109
Posting Whiz
paulablanca
0
Junior Poster in Training
paulablanca
0
Junior Poster in Training
sandeepparekh9
109
Posting Whiz
paulablanca
0
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.