Click here to Skip to main content
15,908,015 members
Home / Discussions / C#
   

C#

 
AnswerRe: DataGrid .. DataSet .. Datatable Pin
PIEBALDconsult23-Oct-08 12:42
mvePIEBALDconsult23-Oct-08 12:42 
AnswerRe: DataGrid .. DataSet .. Datatable [modified] Pin
nelsonpaixao23-Oct-08 14:42
nelsonpaixao23-Oct-08 14:42 
I am going to make it simply afterwords read more about it and download sample codes. Big Grin | :-D

A DataGridView is use to display/report data the you have stored somewhere.
DGV is a gentlemen because display everthing regardless of the kind of datatable or dataset, meening that you dont need to create a "suit" that matches 100% your dataset scheme, it loads everthing!!!
For exemple, you can display/report data in crystal reports to, but here, you have to create a dataset scheme to fit your data!!!

A Dataset is a scheme, like: id(int),f_name(string),l_name(string),birth_date(date), it has to match the scheme of what you are loading, a sql databable for exemple, the fields as to be the same kind to fit!

A Datatable is part of a database, nothing here very fancy to know. Sometimes in C# in runtime you dont need to create the database and after the datatable, if you only need 1 datatable.

So, like you see DGV displays data from a datatable that as a dataset scheme, but in others objects like a crystal_report, you need to make a scheme to match the scheme of the datatable you are loading!!! got it???Confused | :confused:

Dead | X| Good Luck

nelsonpaixao@yahoo.com.br

trying to help & get help

modified on Thursday, October 23, 2008 8:58 PM

QuestionConnection to Exchange server Pin
boiDev23-Oct-08 11:13
boiDev23-Oct-08 11:13 
QuestionCustom Event Throwing Null When Called? Pin
Abydosgater23-Oct-08 7:31
Abydosgater23-Oct-08 7:31 
AnswerRe: Custom Event Throwing Null When Called? Pin
Gareth H23-Oct-08 7:41
Gareth H23-Oct-08 7:41 
GeneralRe: Custom Event Throwing Null When Called? Pin
Abydosgater23-Oct-08 7:52
Abydosgater23-Oct-08 7:52 
GeneralRe: Custom Event Throwing Null When Called? Pin
Gareth H23-Oct-08 8:03
Gareth H23-Oct-08 8:03 
GeneralRe: Custom Event Throwing Null When Called? Pin
Abydosgater23-Oct-08 8:05
Abydosgater23-Oct-08 8:05 
AnswerRe: Custom Event Throwing Null When Called? Pin
DaveyM6923-Oct-08 8:13
professionalDaveyM6923-Oct-08 8:13 
AnswerRe: Custom Event Throwing Null When Called? Pin
Abydosgater23-Oct-08 8:34
Abydosgater23-Oct-08 8:34 
GeneralRe: Custom Event Throwing Null When Called? Pin
DaveyM6923-Oct-08 8:48
professionalDaveyM6923-Oct-08 8:48 
GeneralRe: Custom Event Throwing Null When Called? Pin
DaveyM6923-Oct-08 9:04
professionalDaveyM6923-Oct-08 9:04 
AnswerRe: Custom Event Throwing Null When Called? Pin
Giorgi Dalakishvili23-Oct-08 8:55
mentorGiorgi Dalakishvili23-Oct-08 8:55 
AnswerRe: Custom Event Throwing Null When Called? Pin
Abydosgater24-Oct-08 2:32
Abydosgater24-Oct-08 2:32 
QuestionPossible to hide mouse cursor in window that belongs to another program? Pin
vigylant23-Oct-08 5:35
vigylant23-Oct-08 5:35 
AnswerRe: Possible to hide mouse cursor in window that belongs to another program? Pin
Michael Bookatz23-Oct-08 6:49
Michael Bookatz23-Oct-08 6:49 
GeneralRe: Possible to hide mouse cursor in window that belongs to another program? Pin
vigylant23-Oct-08 6:53
vigylant23-Oct-08 6:53 
GeneralRe: Possible to hide mouse cursor in window that belongs to another program? Pin
Michael Bookatz23-Oct-08 6:58
Michael Bookatz23-Oct-08 6:58 
GeneralRe: Possible to hide mouse cursor in window that belongs to another program? Pin
vigylant23-Oct-08 7:02
vigylant23-Oct-08 7:02 
GeneralRe: Possible to hide mouse cursor in window that belongs to another program? Pin
Dan Neely23-Oct-08 7:02
Dan Neely23-Oct-08 7:02 
GeneralRe: Possible to hide mouse cursor in window that belongs to another program? Pin
Michael Bookatz23-Oct-08 7:06
Michael Bookatz23-Oct-08 7:06 
GeneralRe: Possible to hide mouse cursor in window that belongs to another program? Pin
Anthony Mushrow23-Oct-08 12:42
professionalAnthony Mushrow23-Oct-08 12:42 
AnswerRe: Possible to hide mouse cursor in window that belongs to another program? Pin
Dave Kreskowiak23-Oct-08 7:55
mveDave Kreskowiak23-Oct-08 7:55 
GeneralRe: Possible to hide mouse cursor in window that belongs to another program? Pin
Dan Neely23-Oct-08 8:24
Dan Neely23-Oct-08 8:24 
GeneralRe: Possible to hide mouse cursor in window that belongs to another program? Pin
Dave Kreskowiak23-Oct-08 9:11
mveDave Kreskowiak23-Oct-08 9:11 

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.