User defined delimiter for the csv file.
Obj.dbCsvDelimiter = delimiter_string
| Keyword | Description |
|---|---|
| delimiter_string | Any delimiter string |
In some countries, the default CSV delimiter is ";" instead of ",". So, get to know the locale of your application. If you set the dbCulture property then dbCsvDelimiter will be set for that culture unless override by user.
What is my the default delimiter string in my localtion? Run the following code and find out.
<%@ Import NameSpace="System.Globalization" %>
<%@ Import NameSpace="System.Threading" %>
<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
Dim Cul As String = Thread.CurrentThread.CurrentCulture.Name
Dim C As New CultureInfo(Cul)
Response.Write("My CsvDelimiter = " & C.TextInfo.ListSeparator)
End Sub
</script>
Obj.dbCsvDelimiter = chr(9)
z Class | Tornado Namespace | dbCSVName