Click here to Skip to main content
15,925,723 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generaloutlook 2007 Pin
C. L. Phillip16-Jan-08 8:21
C. L. Phillip16-Jan-08 8:21 
GeneralRe: outlook 2007 Pin
Dave Kreskowiak16-Jan-08 9:55
mveDave Kreskowiak16-Jan-08 9:55 
GeneralExport data from DataGridView to excel Pin
hassanasp16-Jan-08 7:19
hassanasp16-Jan-08 7:19 
GeneralRe: Export data from DataGridView to excel Pin
Dave Kreskowiak16-Jan-08 8:09
mveDave Kreskowiak16-Jan-08 8:09 
Generalcreating table adapter queries with code not designer Pin
Cory Kimble16-Jan-08 4:02
Cory Kimble16-Jan-08 4:02 
GeneralRe: creating table adapter queries with code not designer Pin
Dave Kreskowiak16-Jan-08 4:44
mveDave Kreskowiak16-Jan-08 4:44 
GeneralRe: creating table adapter queries with code not designer Pin
Cory Kimble16-Jan-08 6:16
Cory Kimble16-Jan-08 6:16 
GeneralRe: creating table adapter queries with code not designer Pin
Dave Kreskowiak16-Jan-08 6:34
mveDave Kreskowiak16-Jan-08 6:34 
Cory Kimble wrote:
So, how do I distinguish between fill and allfill with different sql statements but, the same adapter?


I don't get where the problem is. You write two methods. One that returns the columns you want based on a condition, and one that returns the columns you want without a condition. There shouldn't be a flag anywhere that tells a single method which statement to execute.

Or, are you asking how to you write the SQL statement to return all the columns based on a condition??

Or are you asking how you're going to know which method to call??



A guide to posting questions on CodeProject[^]



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




GeneralRe: creating table adapter queries with code not designer Pin
Cory Kimble16-Jan-08 10:02
Cory Kimble16-Jan-08 10:02 
GeneralRe: creating table adapter queries with code not designer Pin
Dave Kreskowiak16-Jan-08 11:12
mveDave Kreskowiak16-Jan-08 11:12 
GeneralRe: creating table adapter queries with code not designer Pin
Cory Kimble18-Jan-08 7:25
Cory Kimble18-Jan-08 7:25 
GeneralRe: creating table adapter queries with code not designer Pin
Dave Kreskowiak19-Jan-08 4:46
mveDave Kreskowiak19-Jan-08 4:46 
GeneralRe: creating table adapter queries with code not designer Pin
Cory Kimble21-Jan-08 11:16
Cory Kimble21-Jan-08 11:16 
Generalvb.net table names from sql server Pin
Cory Kimble16-Jan-08 3:55
Cory Kimble16-Jan-08 3:55 
GeneralRe: vb.net table names from sql server Pin
Dave Kreskowiak16-Jan-08 4:42
mveDave Kreskowiak16-Jan-08 4:42 
Generalautoscrollposition Pin
Smithers-Jones16-Jan-08 3:32
Smithers-Jones16-Jan-08 3:32 
GeneralRe: autoscrollposition Pin
Dave Kreskowiak16-Jan-08 4:38
mveDave Kreskowiak16-Jan-08 4:38 
GeneralRe: autoscrollposition Pin
Smithers-Jones16-Jan-08 5:29
Smithers-Jones16-Jan-08 5:29 
GeneralRe: autoscrollposition Pin
Dave Kreskowiak16-Jan-08 6:17
mveDave Kreskowiak16-Jan-08 6:17 
GeneralRe: autoscrollposition Pin
Smithers-Jones16-Jan-08 6:28
Smithers-Jones16-Jan-08 6:28 
GeneralRe: autoscrollposition Pin
Dave Kreskowiak16-Jan-08 6:45
mveDave Kreskowiak16-Jan-08 6:45 
GeneralRe: autoscrollposition Pin
Smithers-Jones16-Jan-08 7:06
Smithers-Jones16-Jan-08 7:06 
GeneralRe: autoscrollposition Pin
Smithers-Jones16-Jan-08 7:13
Smithers-Jones16-Jan-08 7:13 
GeneralRe: autoscrollposition Pin
Dave Kreskowiak16-Jan-08 10:10
mveDave Kreskowiak16-Jan-08 10:10 
QuestionGetting error message : system.data.dataexception Pin
Central_IT16-Jan-08 1:15
Central_IT16-Jan-08 1:15 

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.