Click here to Skip to main content
15,921,212 members
Home / Discussions / Database
   

Database

 
QuestionRe: Need a bit of an advice... Pin
Stanciu Vlad22-Oct-05 7:31
Stanciu Vlad22-Oct-05 7:31 
AnswerRe: Need a bit of an advice... Pin
Colin Angus Mackay23-Oct-05 6:02
Colin Angus Mackay23-Oct-05 6:02 
QuestionRe: Need a bit of an advice... Pin
Stanciu Vlad24-Oct-05 6:11
Stanciu Vlad24-Oct-05 6:11 
QuestionUnicode with Sql server 2000 Pin
TheOnlyFalcon21-Oct-05 15:13
TheOnlyFalcon21-Oct-05 15:13 
AnswerRe: Unicode with Sql server 2000 Pin
Anonymous21-Oct-05 22:04
Anonymous21-Oct-05 22:04 
AnswerRe: Unicode with Sql server 2000 Pin
Rob Graham22-Oct-05 11:44
Rob Graham22-Oct-05 11:44 
QuestionImport /Export Sql Server Database Pin
TheOnlyFalcon21-Oct-05 15:10
TheOnlyFalcon21-Oct-05 15:10 
AnswerRe: Import /Export Sql Server Database Pin
Anonymous21-Oct-05 22:07
Anonymous21-Oct-05 22:07 
Create a DataTable, fill it with sql data and

...


Sub DataTable2CSV(ByVal table As DataTable, ByVal filename As String)
DataTable2CSV(table, filename, vbTab)
End Sub
Sub DataTable2CSV(ByVal table As DataTable, ByVal filename As String, _
ByVal sepChar As String)
Dim writer As System.IO.StreamWriter
Try
writer = New System.IO.StreamWriter(filename)

' first write a line with the columns name
Dim sep As String = ""
Dim builder As New System.Text.StringBuilder
For Each col As DataColumn In table.Columns
builder.Append(sep).Append(col.ColumnName)
sep = sepChar
Next
writer.WriteLine(builder.ToString())

' then write all the rows
For Each row As DataRow In table.Rows
sep = ""
builder = New System.Text.StringBuilder

For Each col As DataColumn In table.Columns
builder.Append(sep).Append(row(col.ColumnName))
sep = sepChar
Next
writer.WriteLine(builder.ToString())
Next
Finally
If Not writer Is Nothing Then writer.Close()
End Try
End Sub


QuestionUsing the CONVERT Function Pin
TheMajorRager21-Oct-05 14:43
TheMajorRager21-Oct-05 14:43 
AnswerRe: Using the CONVERT Function Pin
Hesham Amin22-Oct-05 4:41
Hesham Amin22-Oct-05 4:41 
QuestionDataGridViewComboBox selection Pin
Drew McGhie21-Oct-05 8:23
Drew McGhie21-Oct-05 8:23 
QuestionArranging records in Database Pin
ddmcr21-Oct-05 6:17
ddmcr21-Oct-05 6:17 
AnswerRe: Arranging records in Database Pin
Duncan Edwards Jones21-Oct-05 6:36
professionalDuncan Edwards Jones21-Oct-05 6:36 
QuestionFileMaker Server Advanced Pin
Sebastien Lachance21-Oct-05 5:14
Sebastien Lachance21-Oct-05 5:14 
Questionhelp making database application without using sql server Pin
unni_jeevan21-Oct-05 3:53
unni_jeevan21-Oct-05 3:53 
AnswerRe: help making database application without using sql server Pin
André Ziegler21-Oct-05 5:13
André Ziegler21-Oct-05 5:13 
QuestionSQL - DELETE Directive error Pin
ddmcr21-Oct-05 3:30
ddmcr21-Oct-05 3:30 
AnswerRe: SQL - DELETE Directive error Pin
Looney Tunezez21-Oct-05 3:51
Looney Tunezez21-Oct-05 3:51 
GeneralRe: SQL - DELETE Directive error Pin
ddmcr21-Oct-05 3:54
ddmcr21-Oct-05 3:54 
GeneralRe: SQL - DELETE Directive error Pin
André Ziegler21-Oct-05 5:15
André Ziegler21-Oct-05 5:15 
QuestionDisplaying date Pin
Anonymous21-Oct-05 3:25
Anonymous21-Oct-05 3:25 
AnswerRe: Displaying date Pin
Hesham Amin22-Oct-05 4:48
Hesham Amin22-Oct-05 4:48 
GeneralRe: Displaying date Pin
Anonymous23-Oct-05 23:04
Anonymous23-Oct-05 23:04 
Questioncalander value using query Pin
Member 184400621-Oct-05 2:24
Member 184400621-Oct-05 2:24 
QuestionSearching for a list of words Pin
hasanali0021-Oct-05 1:59
hasanali0021-Oct-05 1:59 

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.