Click here to Skip to main content
15,879,535 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: parent/child bindingsource save new fails Pin
Eddy Vluggen11-Dec-12 2:21
professionalEddy Vluggen11-Dec-12 2:21 
GeneralRe: parent/child bindingsource save new fails Pin
PrissySC26-Dec-12 2:47
PrissySC26-Dec-12 2:47 
Questionread mail from yahoo using yahoo api in vb.net Pin
puvanar7-Dec-12 23:01
puvanar7-Dec-12 23:01 
AnswerRe: read mail from yahoo using yahoo api in vb.net Pin
Eddy Vluggen9-Dec-12 23:14
professionalEddy Vluggen9-Dec-12 23:14 
QuestionMissing Toolbar Pin
No-e6-Dec-12 6:09
No-e6-Dec-12 6:09 
AnswerRe: Missing Toolbar Pin
Peter_in_27806-Dec-12 13:08
professionalPeter_in_27806-Dec-12 13:08 
AnswerRe: Missing Toolbar Pin
Eddy Vluggen6-Dec-12 14:23
professionalEddy Vluggen6-Dec-12 14:23 
QuestionHow to insert xml to dataset.xsd using vb.net? Pin
Akbarblack5-Dec-12 19:20
Akbarblack5-Dec-12 19:20 
XML
this is my Problem:
I created a dataset xsd called dataset1.xsd,and xml schema called transaksi.xml

transaksi.xml:

<?xml version="1.0" encoding="Windows-1252"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="DataSet1">
<xs:complexType>
<xs:sequence>
<xs:element name="transaksi">
<xs:complexType>
<xs:sequence>
<xs:element name="kd_trans" type="xs:string" />
<xs:element name="tgl" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

dataset1.xsd:

transaksi |
------------
kd_trans |
tgl |


And this is my code :
Sub new()
Dim stream As System.IO.Stream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("transaksi.xml")
dataset11.ReadXml(stream, XmlReadMode.IgnoreSchema)
MsgBox(dataset11.transaksi.Rows.Count)
End sub

Problem:
Why the value is always 0 ?

QuestionDrawing an image onto a form Pin
tuffhamster2-Dec-12 8:13
tuffhamster2-Dec-12 8:13 
AnswerRe: Drawing an image onto a form Pin
Eddy Vluggen3-Dec-12 0:53
professionalEddy Vluggen3-Dec-12 0:53 
Questionprogramming thesis VB.net Pin
enzomatriz30-Nov-12 14:48
enzomatriz30-Nov-12 14:48 
AnswerRe: programming thesis VB.net Pin
Dave Kreskowiak1-Dec-12 3:17
mveDave Kreskowiak1-Dec-12 3:17 
AnswerRe: programming thesis VB.net Pin
Zaf Khan1-Dec-12 10:01
Zaf Khan1-Dec-12 10:01 
QuestionTAPI3 Call Id ?? Pin
trashambishion30-Nov-12 11:20
trashambishion30-Nov-12 11:20 
AnswerRe: TAPI3 Call Id ?? Pin
Eddy Vluggen30-Nov-12 23:36
professionalEddy Vluggen30-Nov-12 23:36 
GeneralRe: TAPI3 Call Id ?? Pin
trashambishion4-Dec-12 9:30
trashambishion4-Dec-12 9:30 
GeneralRe: TAPI3 Call Id ?? Pin
Eddy Vluggen4-Dec-12 10:12
professionalEddy Vluggen4-Dec-12 10:12 
GeneralRe: TAPI3 Call Id ?? Pin
trashambishion6-Dec-12 12:19
trashambishion6-Dec-12 12:19 
QuestionLoad pdf into picturebox binding to dataset Pin
waner michaud30-Nov-12 9:10
waner michaud30-Nov-12 9:10 
AnswerRe: Load pdf into picturebox binding to dataset Pin
Dave Kreskowiak30-Nov-12 12:43
mveDave Kreskowiak30-Nov-12 12:43 
GeneralRe: Load pdf into picturebox binding to dataset Pin
waner michaud4-Dec-12 9:13
waner michaud4-Dec-12 9:13 
GeneralRe: Load pdf into picturebox binding to dataset Pin
Dave Kreskowiak4-Dec-12 12:31
mveDave Kreskowiak4-Dec-12 12:31 
QuestionSaving a form and its contents as an image Pin
tuffhamster30-Nov-12 4:37
tuffhamster30-Nov-12 4:37 
AnswerRe: Saving a form and its contents as an image Pin
Eddy Vluggen30-Nov-12 23:41
professionalEddy Vluggen30-Nov-12 23:41 
GeneralRe: Saving a form and its contents as an image Pin
tuffhamster1-Dec-12 3:18
tuffhamster1-Dec-12 3:18 

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.