Click here to Skip to main content
15,910,234 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionEmail attachment from stream Pin
vardanchik1-Nov-05 20:29
vardanchik1-Nov-05 20:29 
QuestionStored Procedure in DotNet Pin
UK_NAIR1-Nov-05 18:50
UK_NAIR1-Nov-05 18:50 
AnswerRe: Stored Procedure in DotNet Pin
Christian Graus1-Nov-05 19:09
protectorChristian Graus1-Nov-05 19:09 
AnswerRe: Stored Procedure in DotNet Pin
Leather992-Nov-05 3:13
Leather992-Nov-05 3:13 
AnswerRe: Stored Procedure in DotNet Pin
Colin Angus Mackay2-Nov-05 3:50
Colin Angus Mackay2-Nov-05 3:50 
QuestionInserting a field name into query Pin
nakins1-Nov-05 15:36
nakins1-Nov-05 15:36 
AnswerRe: Inserting a field name into query Pin
aseef2-Nov-05 1:26
aseef2-Nov-05 1:26 
GeneralRe: Inserting a field name into query Pin
Leather992-Nov-05 3:15
Leather992-Nov-05 3:15 
Yes -as Asif says, without the quotes.

Dim sFieldName as string = cmbField.Text

Dim sSQL as string = "SELECT * FROM MyTable WHERE " & sFieldName & " = 'A Value'"

Note that you need to be wary of SQL Injection attacks etc in this case... Can the user modify the combo text?
QuestionCREATE OLEDBDATAADAPTER WITH WIZARD BUT CANNOT CONFIGURE PARAMETER Pin
MAGICIANMERLIN1-Nov-05 11:54
MAGICIANMERLIN1-Nov-05 11:54 
QuestionGraph control in vb.net 2005 Pin
Mekong River1-Nov-05 11:30
Mekong River1-Nov-05 11:30 
QuestionRotate text Pin
sunita_wagh1-Nov-05 10:38
sunita_wagh1-Nov-05 10:38 
AnswerRe: Rotate text Pin
Briga1-Nov-05 21:37
Briga1-Nov-05 21:37 
QuestionTransitions between Images Pin
rickBeach1-Nov-05 9:54
rickBeach1-Nov-05 9:54 
AnswerRe: Transitions between Images Pin
Christian Graus1-Nov-05 19:13
protectorChristian Graus1-Nov-05 19:13 
GeneralRe: Transitions between Images Pin
rickBeach2-Nov-05 11:57
rickBeach2-Nov-05 11:57 
GeneralRe: Transitions between Images Pin
Christian Graus2-Nov-05 11:59
protectorChristian Graus2-Nov-05 11:59 
QuestionHow to know when a property changes (is dirty)? Pin
Duncan Edwards Jones1-Nov-05 6:29
professionalDuncan Edwards Jones1-Nov-05 6:29 
AnswerRe: How to know when a property changes (is dirty)? Pin
Christian Graus1-Nov-05 19:15
protectorChristian Graus1-Nov-05 19:15 
GeneralRe: How to know when a property changes (is dirty)? Pin
Duncan Edwards Jones1-Nov-05 20:18
professionalDuncan Edwards Jones1-Nov-05 20:18 
GeneralRe: How to know when a property changes (is dirty)? Pin
Leather992-Nov-05 3:19
Leather992-Nov-05 3:19 
GeneralRe: How to know when a property changes (is dirty)? Pin
Duncan Edwards Jones2-Nov-05 3:42
professionalDuncan Edwards Jones2-Nov-05 3:42 
QuestionCreate and access Long file names Pin
Zenly1-Nov-05 2:26
Zenly1-Nov-05 2:26 
AnswerRe: Create and access Long file names Pin
[Marc]1-Nov-05 5:04
[Marc]1-Nov-05 5:04 
GeneralRe: Create and access Long file names Pin
Zenly1-Nov-05 6:28
Zenly1-Nov-05 6:28 
GeneralRe: Create and access Long file names Pin
[Marc]1-Nov-05 6:37
[Marc]1-Nov-05 6:37 

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.