Click here to Skip to main content
16,005,281 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralArray to listbox an back to an array Pin
Fatboy581-Apr-08 23:58
Fatboy581-Apr-08 23:58 
GeneralRe: Array to listbox an back to an array Pin
Luc Pattyn2-Apr-08 0:59
sitebuilderLuc Pattyn2-Apr-08 0:59 
GeneralRe: Array to listbox an back to an array Pin
Fatboy582-Apr-08 1:15
Fatboy582-Apr-08 1:15 
GeneralRe: Array to listbox an back to an array Pin
Luc Pattyn2-Apr-08 1:18
sitebuilderLuc Pattyn2-Apr-08 1:18 
GeneralRe: Array to listbox an back to an array Pin
Fatboy582-Apr-08 1:24
Fatboy582-Apr-08 1:24 
GeneralRe: Array to listbox an back to an array Pin
Luc Pattyn2-Apr-08 1:29
sitebuilderLuc Pattyn2-Apr-08 1:29 
Generaldatabase display in windows application Pin
tanya20011-Apr-08 23:05
tanya20011-Apr-08 23:05 
GeneralRe: database display in windows application Pin
Vimalsoft(Pty) Ltd2-Apr-08 2:38
professionalVimalsoft(Pty) Ltd2-Apr-08 2:38 
try this

Dim cn as new SqlConnection(.......)<br />
dim da as new SqlDataAdapter(......)<br />
DropDownList.SelectedItem.text & " And Flag=1",cn)<br />
Dim dt as new Datatable<br />
da.Fill(dt)<br />
'No more Dispose, remember automatic garbage collection<br />
Datagrid1.DataSource = dt <br />

remember when you use a datatable, and binding it to a datagrid, you can only use the DataSource Property.

this will do

Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


GeneralConverting Msflexgrid content to Excel Pin
aaraaayen1-Apr-08 20:30
aaraaayen1-Apr-08 20:30 
GeneralRe: Converting Msflexgrid content to Excel Pin
Dave Kreskowiak2-Apr-08 3:34
mveDave Kreskowiak2-Apr-08 3:34 
Questionweb service access control Pin
Ismaeel1-Apr-08 16:08
Ismaeel1-Apr-08 16:08 
GeneralRe: web service access control Pin
Dave Kreskowiak2-Apr-08 3:32
mveDave Kreskowiak2-Apr-08 3:32 
GeneralFind PivotTable in Excel Pin
Bomb_shell1-Apr-08 9:58
Bomb_shell1-Apr-08 9:58 
GeneralRe: Find PivotTable in Excel Pin
ne0h1-Apr-08 19:56
ne0h1-Apr-08 19:56 
GeneralRe: Find PivotTable in Excel Pin
Mitch F.1-Apr-08 20:15
Mitch F.1-Apr-08 20:15 
GeneralRe: Find PivotTable in Excel Pin
Bomb_shell2-Apr-08 15:14
Bomb_shell2-Apr-08 15:14 
QuestionMustInherit UserControl [modified] Pin
vocaris1-Apr-08 9:39
vocaris1-Apr-08 9:39 
GeneralRe: MustInherit UserControl Pin
Dave Kreskowiak2-Apr-08 3:29
mveDave Kreskowiak2-Apr-08 3:29 
QuestionTextFieldParser language question Pin
Vinny_681-Apr-08 4:48
Vinny_681-Apr-08 4:48 
GeneralRe: TextFieldParser language question Pin
Luc Pattyn1-Apr-08 5:38
sitebuilderLuc Pattyn1-Apr-08 5:38 
GeneralRe: TextFieldParser language question Pin
Vinny_682-Apr-08 2:06
Vinny_682-Apr-08 2:06 
GeneralRe: TextFieldParser language question Pin
Luc Pattyn2-Apr-08 2:27
sitebuilderLuc Pattyn2-Apr-08 2:27 
GeneralNew to VB - NewFile Dialog / SaveFile Dialog help needed. Pin
Adam.m.Nelson1-Apr-08 3:30
Adam.m.Nelson1-Apr-08 3:30 
GeneralRe: New to VB - NewFile Dialog / SaveFile Dialog help needed. Pin
Mitch F.1-Apr-08 9:59
Mitch F.1-Apr-08 9:59 
GeneralRe: New to VB - NewFile Dialog / SaveFile Dialog help needed. Pin
Adam.m.Nelson1-Apr-08 10:33
Adam.m.Nelson1-Apr-08 10:33 

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.