Click here to Skip to main content
16,006,709 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralData Grid HeaderTemplate FooterTemplate and ItemTemplate Pin
AAGTHosting16-Jan-08 9:04
AAGTHosting16-Jan-08 9:04 
GeneralRe: Data Grid HeaderTemplate FooterTemplate and ItemTemplate Pin
Dave Kreskowiak16-Jan-08 9:58
mveDave Kreskowiak16-Jan-08 9:58 
GeneralRe: Data Grid HeaderTemplate FooterTemplate and ItemTemplate Pin
AAGTHosting16-Jan-08 12:19
AAGTHosting16-Jan-08 12:19 
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 
I have searched hi and low for my answer with no success. The dataadapter design gives you a way to create multiple queries. (Fill, Fillby, Update, etc.) But, I don't want to use the designer. I want to code it all. I have the fill. That was easy. How do I create a query method using code.

Reason:
In one part on my program I am getting data from a database and binding it to a datagrid. At one point I want only certain records to show. At other times I want all records to show.
I want to be able to code like this:

if certainFlag = "true" then
adapter.fill(datatable)
else
adapter.allfill(datatable)
endif


How would I code the allfill query?
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 
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 

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.