Click here to Skip to main content
15,895,142 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: record like in pascal Pin
vykintasv2-Jan-08 11:18
vykintasv2-Jan-08 11:18 
GeneralRe: record like in pascal Pin
Colin Angus Mackay2-Jan-08 12:41
Colin Angus Mackay2-Jan-08 12:41 
GeneralMy SQl adapter is not behaving normal Pin
Vimalsoft(Pty) Ltd2-Jan-08 3:18
professionalVimalsoft(Pty) Ltd2-Jan-08 3:18 
GeneralRe: My SQl adapter is not behaving normal Pin
Dave Kreskowiak2-Jan-08 5:16
mveDave Kreskowiak2-Jan-08 5:16 
GeneralRe: My SQl adapter is not behaving normal Pin
Vimalsoft(Pty) Ltd2-Jan-08 7:11
professionalVimalsoft(Pty) Ltd2-Jan-08 7:11 
GeneralRe: My SQl adapter is not behaving normal Pin
Dave Kreskowiak2-Jan-08 7:34
mveDave Kreskowiak2-Jan-08 7:34 
GeneralRe: My SQl adapter is not behaving normal Pin
Vimalsoft(Pty) Ltd2-Jan-08 9:11
professionalVimalsoft(Pty) Ltd2-Jan-08 9:11 
GeneralRe: My SQl adapter is not behaving normal Pin
Dave Kreskowiak2-Jan-08 9:32
mveDave Kreskowiak2-Jan-08 9:32 
That's hardly a descriptive error, but...

The reason it fails is because of the parameterized WHERE clause. The SqlCommandBuilder cannot use the WHERE clause you've specified. You'll have to generate the remaining commands yourself, leaving out the parameterized WHERE clause and specifying just the Primary Key in the WHERE clause and it should work. It also doesn't work with SELECT commands that return multiple result sets and/or gets data from multiple tables at once.

This is why I don't use the Wizards to do my data layers.



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




GeneralRe: My SQl adapter is not behaving normal Pin
Vimalsoft(Pty) Ltd3-Jan-08 5:13
professionalVimalsoft(Pty) Ltd3-Jan-08 5:13 
GeneralVB.NET Multithreading question [modified] Pin
SimulationofSai2-Jan-08 0:49
SimulationofSai2-Jan-08 0:49 
GeneralRe: VB.NET Multithreading question Pin
Dave Kreskowiak2-Jan-08 7:44
mveDave Kreskowiak2-Jan-08 7:44 
GeneralRe: VB.NET Multithreading question Pin
SimulationofSai2-Jan-08 18:28
SimulationofSai2-Jan-08 18:28 
GeneralRe: VB.NET Multithreading question Pin
Dave Kreskowiak3-Jan-08 6:56
mveDave Kreskowiak3-Jan-08 6:56 
Generalslow performance on 1st add new row to datatable Pin
Eunice (VB junior)1-Jan-08 22:32
Eunice (VB junior)1-Jan-08 22:32 
GeneralRe: slow performance on 1st add new row to datatable Pin
Dave Kreskowiak2-Jan-08 7:37
mveDave Kreskowiak2-Jan-08 7:37 
Generalsecurity issue Pin
Tauseef A1-Jan-08 22:32
Tauseef A1-Jan-08 22:32 
GeneralRe: security issue Pin
Vimalsoft(Pty) Ltd2-Jan-08 3:01
professionalVimalsoft(Pty) Ltd2-Jan-08 3:01 
Questionhow can i append one word file to another Pin
koolprasad20031-Jan-08 19:17
professionalkoolprasad20031-Jan-08 19:17 
AnswerRe: how can i append one word file to another Pin
Vimalsoft(Pty) Ltd2-Jan-08 3:06
professionalVimalsoft(Pty) Ltd2-Jan-08 3:06 
Generalhelp for folder compression Pin
Senthil S1-Jan-08 19:17
Senthil S1-Jan-08 19:17 
GeneralRe: help for folder compression [modified] Pin
Nilesh Hapse1-Jan-08 23:59
Nilesh Hapse1-Jan-08 23:59 
GeneralCreate custom folder while setup my application Pin
Mekong River1-Jan-08 15:56
Mekong River1-Jan-08 15:56 
GeneralRe: Create custom folder while setup my application Pin
Dave Kreskowiak2-Jan-08 5:07
mveDave Kreskowiak2-Jan-08 5:07 
GeneralRe: Create custom folder while setup my application Pin
Mekong River2-Jan-08 17:53
Mekong River2-Jan-08 17:53 
QuestionHow to view an msg file? Pin
ninkk1-Jan-08 4:51
ninkk1-Jan-08 4:51 

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.