This commit is contained in:
@@ -112,7 +112,11 @@ namespace AyaNova.DataList
|
|||||||
{
|
{
|
||||||
|
|
||||||
DataListField AyaField = new DataListField();
|
DataListField AyaField = new DataListField();
|
||||||
var cust = dr.GetString(qSelect.map[f.GetSqlValueColumnName()]);
|
//could be null
|
||||||
|
var rawValue = dr.GetValue(qSelect.map[f.GetSqlValueColumnName()]);
|
||||||
|
if (rawValue != null)
|
||||||
|
{
|
||||||
|
string cust = rawValue.ToString();
|
||||||
if (!string.IsNullOrWhiteSpace(cust))
|
if (!string.IsNullOrWhiteSpace(cust))
|
||||||
{
|
{
|
||||||
JObject j = JObject.Parse(cust);
|
JObject j = JObject.Parse(cust);
|
||||||
@@ -127,6 +131,9 @@ namespace AyaNova.DataList
|
|||||||
AyaField.v = null;
|
AyaField.v = null;
|
||||||
|
|
||||||
row.Add(AyaField);
|
row.Add(AyaField);
|
||||||
|
}else{
|
||||||
|
AyaField.v=null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user