|
|
@@ -359,16 +359,17 @@ namespace Dongke.IBOSS.PRD.Client.PCModule
|
|
|
if (dialogresult.Equals(DialogResult.OK))
|
|
|
{
|
|
|
this.dgvGroutingLine.DataSource = null;
|
|
|
- object obResult = DoAsync(new Dongke.IBOSS.PRD.Basics.DockPanel.AsyncMethod(GetGroutingLine));
|
|
|
- if (obResult != null)
|
|
|
- {
|
|
|
- DataSet dsGroutingLine = (DataSet)obResult;
|
|
|
+ DataSet dsGroutingLine = GetGroutingLine();
|
|
|
+ // object obResult = DoAsync(new Dongke.IBOSS.PRD.Basics.DockPanel.AsyncMethod(GetGroutingLine));
|
|
|
+ //if (obResult != null)
|
|
|
+ //{
|
|
|
+ //DataSet dsGroutingLine = (DataSet)obResult;
|
|
|
if (dsGroutingLine.Tables.Count != Constant.INT_IS_ZERO)
|
|
|
{
|
|
|
this.dgvGroutingLine.DataSource = dsGroutingLine.Tables[0];
|
|
|
this.dgvGroutingLine.ReadOnly = true;
|
|
|
}
|
|
|
- }
|
|
|
+ //}
|
|
|
}
|
|
|
}
|
|
|
}
|