Click here to Skip to main content
16,004,944 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: some vector and graphic problem Pin
mehdi001626-Jul-07 1:51
mehdi001626-Jul-07 1:51 
Questionsome vector and graphic problem Pin
mehdi001625-Jul-07 8:07
mehdi001625-Jul-07 8:07 
AnswerRe: some vector and graphic problem Pin
Paul Conrad25-Jul-07 9:39
professionalPaul Conrad25-Jul-07 9:39 
QuestionLinking a .Net 2003 DataGrid with a query Pin
ford8625-Jul-07 7:25
ford8625-Jul-07 7:25 
AnswerRe: Linking a .Net 2003 DataGrid with a query Pin
Dave Kreskowiak25-Jul-07 8:26
mveDave Kreskowiak25-Jul-07 8:26 
QuestionRe: Linking a .Net 2003 DataGrid with a query Pin
ford8625-Jul-07 8:37
ford8625-Jul-07 8:37 
AnswerRe: Linking a .Net 2003 DataGrid with a query Pin
Paul Conrad25-Jul-07 9:37
professionalPaul Conrad25-Jul-07 9:37 
AnswerRe: Linking a .Net 2003 DataGrid with a query Pin
Dave Kreskowiak25-Jul-07 9:43
mveDave Kreskowiak25-Jul-07 9:43 
ford86 wrote:
That's what I'm doing right now, but I don't want the DataMember to be a table but rather a query. Is there a way to to this?


No, there isn't. Any query is going to return the results in either a DataSet (multiple tables) or a DataTable object. If your query is returning data from a single table, you can keep it in a DataTable and bind the DataGridView to that.


ford86 wrote:
That's why I did a Query in MSAcces, but I can't use it as a dataSource for the grid.


Of course you can!! The exact same query is going to return results in a DataTable or DataSet.

Seriously, you need to pickup a book on VB.NET and/or ADO.NET and work through it.




A guide to posting questions on CodeProject[^]

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


AnswerRe: Linking a .Net 2003 DataGrid with a query Pin
Naji El Kotob25-Jul-07 10:58
Naji El Kotob25-Jul-07 10:58 
GeneralRe: Linking a .Net 2003 DataGrid with a query Pin
Paul Conrad25-Jul-07 11:26
professionalPaul Conrad25-Jul-07 11:26 
QuestionUpdate datagrid in VB.net on Windows form Pin
Cory Kimble25-Jul-07 6:56
Cory Kimble25-Jul-07 6:56 
AnswerRe: Update datagrid in VB.net on Windows form Pin
Dave Kreskowiak25-Jul-07 7:05
mveDave Kreskowiak25-Jul-07 7:05 
QuestionWhy does not Command Prompt window have WndProc ? Pin
Ky Nam25-Jul-07 6:48
Ky Nam25-Jul-07 6:48 
AnswerRe: Why does not Command Prompt window have WndProc ? Pin
Colin Angus Mackay25-Jul-07 6:52
Colin Angus Mackay25-Jul-07 6:52 
AnswerRe: Why does not Command Prompt window have WndProc ? Pin
Dave Kreskowiak25-Jul-07 7:02
mveDave Kreskowiak25-Jul-07 7:02 
QuestionAuto Scroll Pin
HelpMePlease!25-Jul-07 6:40
HelpMePlease!25-Jul-07 6:40 
AnswerRe: Auto Scroll Pin
Ky Nam25-Jul-07 6:54
Ky Nam25-Jul-07 6:54 
GeneralRe: Auto Scroll [modified] Pin
HelpMePlease!25-Jul-07 7:20
HelpMePlease!25-Jul-07 7:20 
GeneralRe: Auto Scroll Pin
Dave Kreskowiak25-Jul-07 7:35
mveDave Kreskowiak25-Jul-07 7:35 
AnswerRe: Auto Scroll Pin
Luc Pattyn25-Jul-07 11:58
sitebuilderLuc Pattyn25-Jul-07 11:58 
QuestionHow to populate a treeview from a File Pin
Edward LaPinski25-Jul-07 5:41
Edward LaPinski25-Jul-07 5:41 
AnswerRe: How to populate a treeview from a File Pin
Dave Kreskowiak25-Jul-07 7:01
mveDave Kreskowiak25-Jul-07 7:01 
GeneralRe: How to populate a treeview from a File Pin
Edward LaPinski27-Jul-07 11:04
Edward LaPinski27-Jul-07 11:04 
GeneralRe: How to populate a treeview from a File Pin
Dave Kreskowiak28-Jul-07 13:12
mveDave Kreskowiak28-Jul-07 13:12 
Questionhow can i reuse this code with multi text boxes w/o rewriting it [modified] Pin
Jeffrey Shane25-Jul-07 5:34
Jeffrey Shane25-Jul-07 5:34 

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.