Click here to Skip to main content
15,891,431 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: connection error Pin
Christian Graus14-Apr-08 3:05
protectorChristian Graus14-Apr-08 3:05 
GeneralRe: connection error Pin
ChandraRam14-Apr-08 4:40
ChandraRam14-Apr-08 4:40 
QuestionHow to send Multiple values for one formula field in crystal reports through vb.net? Pin
aswath00713-Apr-08 22:00
aswath00713-Apr-08 22:00 
GeneralRe: How to send Multiple values for one formula field in crystal reports through vb.net? Pin
aswath00714-Apr-08 2:26
aswath00714-Apr-08 2:26 
Generalmp3 recording / LAME encoder Pin
Fred Worms13-Apr-08 21:26
Fred Worms13-Apr-08 21:26 
GeneralRe: mp3 recording / LAME encoder Pin
Christian Graus13-Apr-08 21:37
protectorChristian Graus13-Apr-08 21:37 
GeneralRe: mp3 recording / LAME encoder Pin
Fred Worms15-Apr-08 7:59
Fred Worms15-Apr-08 7:59 
QuestionHow fill records to listview with datareader Pin
Coban_13-Apr-08 21:17
Coban_13-Apr-08 21:17 
Hi all, i want to ask a question about datareader. I have a user control its inherits ListView. And I have a table has 500000 records. For performance fill the listview, when form_load i fill first 20 records. When user click scroll down add to 21 record. Every click add to next record. How can i do this with DataReader. And how can i hand event to scroll click. Please help me. My code below;

User Control ;
Dim x As Integer
Dim dbConn As New SqlConnection("server=" + _ServerName + ";database=" + _DatabaseName + ";uid=" + _UserName + ";pwd=" + _PassWord)
Dim strQuery As String = "SELECT * FROM ListeKontrol"
dbConn.Open()
Dim myCommand As New SqlCommand(strQuery, dbConn)
Dim myReader As SqlDataReader = myCommand.ExecuteReader()
While myReader.Read And x < 20
MyBase.Items.Add("")
MyBase.Items(x).SubItems(0).Text = x.ToString
MyBase.Items(x).SubItems.Add("ListeAck")
MyBase.Items(x).SubItems.Add("Alan1")
MyBase.Items(x).SubItems.Add("Alan2")
x = x + 1
End While

S.A.A

AnswerRe: How fill records to listview with datareader Pin
Christian Graus13-Apr-08 21:48
protectorChristian Graus13-Apr-08 21:48 
GeneralRe: How fill records to listview with datareader Pin
Coban_13-Apr-08 22:12
Coban_13-Apr-08 22:12 
GeneralRe: How fill records to listview with datareader Pin
Christian Graus13-Apr-08 22:20
protectorChristian Graus13-Apr-08 22:20 
GeneralRe: How fill records to listview with datareader Pin
Coban_14-Apr-08 0:10
Coban_14-Apr-08 0:10 
GeneralBactracking Pin
BoyPols13-Apr-08 20:55
BoyPols13-Apr-08 20:55 
GeneralRe: Bactracking Pin
Christian Graus13-Apr-08 20:59
protectorChristian Graus13-Apr-08 20:59 
Questionregarding storing the key windows registry in vb.net Pin
vijaylumar13-Apr-08 19:52
vijaylumar13-Apr-08 19:52 
GeneralRe: regarding storing the key windows registry in vb.net Pin
Christian Graus13-Apr-08 20:56
protectorChristian Graus13-Apr-08 20:56 
GeneralRe: regarding storing the key windows registry in vb.net Pin
Dave Kreskowiak14-Apr-08 3:11
mveDave Kreskowiak14-Apr-08 3:11 
GeneralJanusGridEx problem Pin
en.Mahdi13-Apr-08 19:11
en.Mahdi13-Apr-08 19:11 
GeneralRe: JanusGridEx problem Pin
Christian Graus13-Apr-08 19:27
protectorChristian Graus13-Apr-08 19:27 
GeneralRe: JanusGridEx problem Pin
Christian Graus14-Apr-08 10:49
protectorChristian Graus14-Apr-08 10:49 
Generalarray style codeprovider in .net Pin
cstrader23213-Apr-08 16:14
cstrader23213-Apr-08 16:14 
GeneralRe: array style codeprovider in .net Pin
Christian Graus13-Apr-08 16:45
protectorChristian Graus13-Apr-08 16:45 
GeneralRe: array style codeprovider in .net Pin
cstrader23214-Apr-08 1:42
cstrader23214-Apr-08 1:42 
GeneralRe: array style codeprovider in .net Pin
cstrader23214-Apr-08 2:03
cstrader23214-Apr-08 2:03 
GeneralRe: array style codeprovider in .net Pin
Luc Pattyn14-Apr-08 2:13
sitebuilderLuc Pattyn14-Apr-08 2:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.