I have a ListGrid that is displaying an MSSQL Time Column as jibberish letters.
The SQL Column is defined as [dtCourt_Time] [time](7) NULL.
The data in this column is '08:30:00.0000000'.
I am calling a vb.net page that is running a MSSQL Sproc to my datasource:
GetCtDateList(parms).Tables(0).WriteXml(Response.OutputStream)
In my isc.DataSource, here is the column along with the column type defined; the errant 'dtCourt_Time' column is bolded and underlined below.:
Here is the ListGrid:
For some reason, the ListGrid is rendering the dtCourt_Time column as "PT8H30M" instead of some form of the actual data: '08:30:00.0000000'.
What could I be doing wrong that is making this column display jibberish letters instead of the actual time?
The SQL Column is defined as [dtCourt_Time] [time](7) NULL.
The data in this column is '08:30:00.0000000'.
I am calling a vb.net page that is running a MSSQL Sproc to my datasource:
GetCtDateList(parms).Tables(0).WriteXml(Response.OutputStream)
In my isc.DataSource, here is the column along with the column type defined; the errant 'dtCourt_Time' column is bolded and underlined below.:
Code:
var dataCourtDates = isc.DataSource.create({
dataURL: 'DataScripts/GetCtDateList.aspx',
recordXPath: "/NewDataSet/DATA",
autoFetchData: false,
autoDeriveSchema: true,
fields: [
{ name: "iBondCourt_ID", hidden: true },
{ name: "sCourt_Name", title: "Court", type: "text" },
{ name: "dtCourt_Date", title: "CourtDate", type: "date" },
{ name: "dtCourt_Time", title: "CourtTime", type: "time" },
{ name: "sCourt_Room", title: "CourtRoom", type: "text" },
]
});
Code:
isc.ListGrid.create({
ID: "GridCourtDates",
height: "100%",
width: "100%",
dataSource: "dataCourtDates",
autoFetchData: false,
});
What could I be doing wrong that is making this column display jibberish letters instead of the actual time?
Comment