Click here to Skip to main content
15,916,945 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Creating Button's Dynamicaly Pin
Dave Kreskowiak9-May-08 9:57
mveDave Kreskowiak9-May-08 9:57 
GeneralRe: Creating Button's Dynamicaly Pin
jacko8739-May-08 10:13
jacko8739-May-08 10:13 
GeneralRe: Creating Button's Dynamicaly Pin
DanB19839-May-08 10:37
DanB19839-May-08 10:37 
GeneralRe: Creating Button's Dynamicaly Pin
Dave Kreskowiak9-May-08 10:41
mveDave Kreskowiak9-May-08 10:41 
QuestionVBA Help, probs really simple Pin
harveyhanson9-May-08 2:21
harveyhanson9-May-08 2:21 
AnswerRe: VBA Help, probs really simple Pin
parth.p9-May-08 2:56
parth.p9-May-08 2:56 
QuestionSelect subset of records from .xml Pin
cstrader2329-May-08 1:40
cstrader2329-May-08 1:40 
AnswerRe: Select subset of records from .xml Pin
Dave Kreskowiak9-May-08 3:27
mveDave Kreskowiak9-May-08 3:27 
cstrader232 wrote:
Is there a way to read a datatable from an .xml file on disk such that the created datatable contains only a subset of the records in the .xml table? Something simlar to the select statement in SQL? Certainly seems like there should be, but I can't seem to find it.


You can't find it because it doesn't exist. The DataTable/DataSet objects load the entire XML file. You don't have the option of selecting just the records you want. You'd have to write you own implementation of this, probably based on using an XmlReader, and build the datatable yourself. Implementing a query language would be the hardest part of doing this.


A guide to posting questions on CodeProject[^]



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




GeneralRe: Select subset of records from .xml Pin
cstrader2329-May-08 6:07
cstrader2329-May-08 6:07 
GeneralRe: Select subset of records from .xml Pin
Dave Kreskowiak9-May-08 7:40
mveDave Kreskowiak9-May-08 7:40 
QuestionHelp with Linq in VB.net Pin
Chinners9-May-08 0:24
Chinners9-May-08 0:24 
AnswerRe: Help with Linq in VB.net Pin
Guffa9-May-08 2:14
Guffa9-May-08 2:14 
GeneralRe: Help with Linq in VB.net Pin
Chinners9-May-08 6:19
Chinners9-May-08 6:19 
GeneralRe: Help with Linq in VB.net Pin
Guffa9-May-08 7:16
Guffa9-May-08 7:16 
GeneralRe: Help with Linq in VB.net Pin
Chinners9-May-08 8:23
Chinners9-May-08 8:23 
Questionexcel sheet problem Pin
asha_s9-May-08 0:19
asha_s9-May-08 0:19 
AnswerRe: excel sheet problem Pin
Dave Kreskowiak9-May-08 3:22
mveDave Kreskowiak9-May-08 3:22 
QuestionExecuting Code at specified time Pin
Ariel Kazeed9-May-08 0:04
Ariel Kazeed9-May-08 0:04 
AnswerRe: Executing Code at specified time Pin
Christian Graus9-May-08 0:25
protectorChristian Graus9-May-08 0:25 
QuestionInformation on Initialimage Pin
nishkarsh_k8-May-08 21:36
nishkarsh_k8-May-08 21:36 
AnswerRe: Information on Initialimage Pin
Christian Graus8-May-08 21:52
protectorChristian Graus8-May-08 21:52 
GeneralRe: Information on Initialimage Pin
nishkarsh_k8-May-08 22:33
nishkarsh_k8-May-08 22:33 
GeneralRe: Information on Initialimage Pin
Christian Graus9-May-08 0:24
protectorChristian Graus9-May-08 0:24 
GeneralRe: Information on Initialimage Pin
nishkarsh_k9-May-08 1:10
nishkarsh_k9-May-08 1:10 
GeneralRe: Information on Initialimage Pin
Dave Kreskowiak9-May-08 3:14
mveDave Kreskowiak9-May-08 3:14 

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.