Click here to Skip to main content
15,902,893 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Configuration Pin
WhiteGirl2320-Jul-07 3:12
WhiteGirl2320-Jul-07 3:12 
AnswerRe: Configuration Pin
cutequencher20-Jul-07 4:55
cutequencher20-Jul-07 4:55 
QuestionTable creation in VB.NET Pin
JonCox19-Jul-07 23:57
JonCox19-Jul-07 23:57 
AnswerRe: Table creation in VB.NET Pin
Colin Angus Mackay20-Jul-07 0:17
Colin Angus Mackay20-Jul-07 0:17 
GeneralRe: Table creation in VB.NET Pin
JonCox20-Jul-07 2:58
JonCox20-Jul-07 2:58 
AnswerRe: Table creation in VB.NET Pin
originSH20-Jul-07 0:23
originSH20-Jul-07 0:23 
GeneralRe: Table creation in VB.NET Pin
JonCox20-Jul-07 2:54
JonCox20-Jul-07 2:54 
AnswerRe: Table creation in VB.NET Pin
Naji El Kotob20-Jul-07 3:08
Naji El Kotob20-Jul-07 3:08 
Hi,

You can build a dataset/tables on the fly and saving it as XML.

'--Create DataSet (Database)
Dim DS as new dataset
ds.Tables.Add("Table1")

ds.Tables(0).Columns.Add("ID", System.Type.GetType("System.Int32"))
ds.Tables(0).Columns.Add("Col1", System.Type.GetType("System.String"))

'-- Add Data
Dim dr As DataRow
dr = ds.Tables(0).NewRow
dr.Item("ID") = 1
dr.Item("Col1") = "BMW"

ds.Tables(0).Rows.Add(dr)

'-- Check the added data
For Each tmpdr As DataRow In ds.Tables(0).Rows
MsgBox(tmpdr.Item(1))
Next

'-- save data
ds.WriteXml("c:\mydata.xml")

Hope this helps Wink | ;)



NajiCo http://www.InsideVB.NET[^]

It's nice 2b important, but it's more important 2b nice...

GeneralRe: Table creation in VB.NET Pin
JonCox20-Jul-07 4:29
JonCox20-Jul-07 4:29 
Questionhow to make viewback color of a propertygrid transparent Pin
MartyK200719-Jul-07 22:47
MartyK200719-Jul-07 22:47 
AnswerRe: how to make viewback color of a propertygrid transparent Pin
Dave Kreskowiak20-Jul-07 7:26
mveDave Kreskowiak20-Jul-07 7:26 
GeneralRe: how to make viewback color of a propertygrid transparent Pin
MartyK200722-Jul-07 21:09
MartyK200722-Jul-07 21:09 
GeneralRe: how to make viewback color of a propertygrid transparent Pin
Dave Kreskowiak23-Jul-07 3:29
mveDave Kreskowiak23-Jul-07 3:29 
GeneralRe: how to make viewback color of a propertygrid transparent Pin
MartyK200723-Jul-07 4:00
MartyK200723-Jul-07 4:00 
GeneralRe: how to make viewback color of a propertygrid transparent Pin
Dave Kreskowiak23-Jul-07 12:04
mveDave Kreskowiak23-Jul-07 12:04 
GeneralRe: how to make viewback color of a propertygrid transparent Pin
MartyK200723-Jul-07 21:17
MartyK200723-Jul-07 21:17 
GeneralRe: how to make viewback color of a propertygrid transparent Pin
Dave Kreskowiak24-Jul-07 1:48
mveDave Kreskowiak24-Jul-07 1:48 
GeneralRe: how to make viewback color of a propertygrid transparent Pin
MartyK200724-Jul-07 2:19
MartyK200724-Jul-07 2:19 
QuestionConnectionStrings & Using UNC Paths Offline Pin
NekoGato19-Jul-07 21:55
NekoGato19-Jul-07 21:55 
AnswerRe: ConnectionStrings & Using UNC Paths Offline Pin
Colin Angus Mackay19-Jul-07 23:53
Colin Angus Mackay19-Jul-07 23:53 
QuestionRichtextbox MaxLength Pin
NANCO19-Jul-07 21:43
NANCO19-Jul-07 21:43 
AnswerRe: Richtextbox MaxLength Pin
Colin Angus Mackay19-Jul-07 23:50
Colin Angus Mackay19-Jul-07 23:50 
AnswerRe: Richtextbox MaxLength Pin
cutequencher20-Jul-07 5:13
cutequencher20-Jul-07 5:13 
QuestionHoe to connect crystal report with db dynamically? Pin
help as an alias19-Jul-07 21:04
help as an alias19-Jul-07 21:04 
AnswerRe: Hoe to connect crystal report with db dynamically? Pin
Rupesh Kumar Swami20-Jul-07 0:44
Rupesh Kumar Swami20-Jul-07 0:44 

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.