Click here to Skip to main content
15,898,134 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Key board shortcuts are not displayed on the form until user press Alt Key Pin
Dave Kreskowiak22-Jan-08 5:00
mveDave Kreskowiak22-Jan-08 5:00 
GeneralSearch a word in a .txt file and add some content [modified] Pin
HenrydeSousa21-Jan-08 14:41
HenrydeSousa21-Jan-08 14:41 
GeneralRe: Search a word in a .txt file and add some content Pin
Steven J Jowett22-Jan-08 5:19
Steven J Jowett22-Jan-08 5:19 
GeneralRe: Search a word in a .txt file and add some content Pin
HenrydeSousa24-Jan-08 6:00
HenrydeSousa24-Jan-08 6:00 
QuestionRe: VB6 - getting contents of registry entry [modified] Pin
mla15421-Jan-08 11:58
mla15421-Jan-08 11:58 
QuestionRe: VB6 - getting contents of registry entry [modified] Pin
mla15422-Jan-08 4:43
mla15422-Jan-08 4:43 
GeneralDisplaying data in a gridview programatically Pin
solarthur0121-Jan-08 11:26
solarthur0121-Jan-08 11:26 
GeneralRe: Displaying data in a gridview programatically Pin
Usharva21-Jan-08 19:34
Usharva21-Jan-08 19:34 
Hi!

I dint understand why you are using ExecuteReader? It returns single record right?

If you want to bind more than one record get data to datatable directly and bind to the gridview

'GridView1.DataSource = mytable' after this line add the following line
'GridView1.databind()'
Generalnumber of rows retrieved using a select statement and a table adapter Pin
AAGTHosting21-Jan-08 9:23
AAGTHosting21-Jan-08 9:23 
GeneralRe: number of rows retrieved using a select statement and a table adapter Pin
Steven J Jowett21-Jan-08 10:38
Steven J Jowett21-Jan-08 10:38 
GeneralRe: number of rows retrieved using a select statement and a table adapter Pin
AAGTHosting21-Jan-08 12:52
AAGTHosting21-Jan-08 12:52 
GeneralRe: number of rows retrieved using a select statement and a table adapter Pin
Steven J Jowett21-Jan-08 22:16
Steven J Jowett21-Jan-08 22:16 
GeneralRe: number of rows retrieved using a select statement and a table adapter Pin
AAGTHosting21-Jan-08 12:57
AAGTHosting21-Jan-08 12:57 
GeneralSet ListView Item to Selected Pin
VFaul21-Jan-08 7:45
VFaul21-Jan-08 7:45 
GeneralRe: Set ListView Item to Selected Pin
VFaul21-Jan-08 8:41
VFaul21-Jan-08 8:41 
GeneralRestricting multiple instance of application Pin
manisghouri21-Jan-08 2:11
manisghouri21-Jan-08 2:11 
GeneralRe: Restricting multiple instance of application Pin
Steven J Jowett21-Jan-08 2:26
Steven J Jowett21-Jan-08 2:26 
GeneralRe: Restricting multiple instance of application Pin
manisghouri21-Jan-08 3:11
manisghouri21-Jan-08 3:11 
GeneralRe: Restricting multiple instance of application Pin
Steven J Jowett21-Jan-08 4:15
Steven J Jowett21-Jan-08 4:15 
GeneralRe: Restricting multiple instance of application Pin
manisghouri21-Jan-08 10:17
manisghouri21-Jan-08 10:17 
GeneralRe: Restricting multiple instance of application Pin
Steven J Jowett21-Jan-08 10:36
Steven J Jowett21-Jan-08 10:36 
GeneralRe: Restricting multiple instance of application Pin
nlarson1121-Jan-08 11:32
nlarson1121-Jan-08 11:32 
QuestionHow to add "" in VB.NET message box Pin
Jats_4ru21-Jan-08 2:06
Jats_4ru21-Jan-08 2:06 
GeneralRe: How to add "" in VB.NET message box Pin
Luc Pattyn21-Jan-08 2:08
sitebuilderLuc Pattyn21-Jan-08 2:08 
AnswerRe: How to add "" in VB.NET message box Pin
Guffa21-Jan-08 12:18
Guffa21-Jan-08 12:18 

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.