SVN r850
SVN-Revision: r850
This commit is contained in:
@@ -78,32 +78,4 @@ namespace Lskj.PubBomAlter
|
||||
{
|
||||
SaveSql = args[8];
|
||||
}
|
||||
if (args.Length > 9 && !string.IsNullOrWhiteSpace(args[9]))
|
||||
{
|
||||
VerifySql = args[9];
|
||||
}
|
||||
if (args.Length > 10)
|
||||
{
|
||||
this.Params = new string[args.Length];
|
||||
for (int i = 10; i < args.Length; i++)
|
||||
{
|
||||
Params[i - 10] = args[i];
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(args[args.Length - 1]))
|
||||
{
|
||||
try
|
||||
{
|
||||
JObject rowObject = JsonConvert.DeserializeObject<JObject>(args[args.Length - 1]);
|
||||
JArray jArray = new JArray();
|
||||
jArray.Add(rowObject);
|
||||
DataTable dataTable = JsonConvert.DeserializeObject<DataTable>(JsonConvert.SerializeObject(jArray));
|
||||
this.MaintabFocusedRow = dataTable.Rows[0];
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user