按照demo运行报错:Rendering error:No data has been set. Please specify either a DataSet or a DataView to use
我返回的json:
{
"DataSet": {
"Name": "DataSet1",
"Query": {
"CommandText": null,
"DataSourceName": "DataSource1"
},
"Fields": [{
"Name": "AutoID",
"DataField": "AutoID",
"FBz": "AutoID"
}, {
"Name": "arkLotNo",
"DataField": "arkLotNo",
"FBz": "arkLotNo"
}, {
"Name": "arkLotHeight",
"DataField": "arkLotHeight",
"FBz": "arkLotHeight"
}, {
"Name": "arkLotWidth",
"DataField": "arkLotWidth",
"FBz": "arkLotWidth"
}, {
"Name": "arkLotX",
"DataField": "ParkLotX",
"FBz": "ParkLotX"
}, {
"Name": "ParkLotY",
"DataField": "ParkLotY",
"FBz": "ParkLotY"
}, {
"Name": "ParkLotAngle",
"DataField": "ParkLotAngle",
"FBz": "ParkLotAngle"
}, {
"Name": "ParkLotName",
"DataField": "ParkLotName",
"FBz": "ParkLotName"
}, {
"Name": "MapNo",
"DataField": "MapNo",
"FBz": "MapNo"
}, {
"Name": "AreaNo",
"DataField": "AreaNo",
"FBz": "AreaNo"
}, {
"Name": "ProbeNo",
"DataField": "ProbeNo",
"FBz": "ProbeNo"
}, {
"Name": "PlateNo",
"DataField": "PlateNo",
"FBz": "PlateNo"
}, {
"Name": "GroupNo",
"DataField": "GroupNo",
"FBz": "GroupNo"
}]
},
"DataSource": {
"Name": "DataSource1",
"ConnectionProperties": {
"ConnectString": null,
"DataProvider": "DATASET"
}
}
}
麻烦帮我看看,谢谢了 |