my code below, i want my text file to look like this
112321232, name, 02/23/2011
123244445, name2, 02/24/2011
not like this
123123212, name1, 02/24/2011
why is it doing this?
Also how can i get rid of this in when i publish to text file, i hate this
Title : Subject : Author : Manager : Company : Creator : Copyright : Category : Keywords : Comments : Created : 06/14/2011 08:00:57Modified : 06/14/2011 08:00:57================================================== this should be not include in my text file, i want none of this.
theRow = theTable.AddRow()
.ulwbgvdTEXTCHECK.Columns
theRowCell = theRow.AddCell()
String
theRowText = theRowCell.AddText()
Date
strKey = r.Cells.FromKey(c.Key).Key.ToString
Then
strAcct =
", "
Else
strAcct = r.Cells.FromKey(c.Key).Value.ToString() +
If
strName =
strName = r.Cells.FromKey(c.Key).Value.ToString() +
strUnit =
strUnit = r.Cells.FromKey(c.Key).Value.ToString() +
strAPDATE =
strAPDATE = r.Cells.FromKey(c.Key).Value.ToString()
strDate = strAPDATE
strAPDATE = strDate.ToString(
, Globalization.DateTimeFormatInfo.InvariantInfo)
strAPDATE = strAPDATE +
strCREDIT =
strCREDIT = r.Cells.FromKey(c.Key).Value.ToString() +
strRECEPTNUM =
strRECEPTNUM = r.Cells.FromKey(c.Key).Value.ToString() +
strBATCH_NUM =
""
strBATCH_NUM = r.Cells.FromKey(c.Key).Value.ToString().Trim
Next
theRowText.AddContent(strAcct + strName + strUnit + strAPDATE + strCREDIT + strRECEPTNUM + strBATCH_NUM)
f_name = myDocuments +
"Reports\checklog.txt"
'f_name = myDocuments + "Reports\checklog.xps"
PageFuncts.MessageAlert(
, f_name)
Thanks,
RobKapSig
fixed my issue already, it should be outside of the next.
THanks