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

Visual Basic

 
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 
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 
All you need to do is fill a table and return it. It sounds like you're making this much harder than it needs to be. You can right-click the dataset in the designer and pick View Code (I think that's what it is!) and you'll get a partial class code window opened up. That's where you can put your code.

I've got an idea. Watch the "Forms over Data Video Series" here[^]. It covers a bunch of what you're asking about, though the titles of each video don't appear to have anything to do with what you're asking. In these videos, you'll actually see how to add queries to datasets.



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 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 
GeneralRe: Getting error message : system.data.dataexception Pin
Dave Kreskowiak16-Jan-08 2:18
mveDave Kreskowiak16-Jan-08 2:18 
QuestionRe: Getting error message : system.data.dataexception Pin
Central_IT16-Jan-08 2:49
Central_IT16-Jan-08 2:49 

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.