This commit is contained in:
夏菊 2026-01-28 19:14:53 +08:00
parent 8799bd030d
commit d5fe6816ce
2 changed files with 5 additions and 4 deletions

View File

@ -72,8 +72,9 @@ namespace FineUIPro.Web.PZHGL.GJSX
{
for (int i = 0; i < Grid1.Rows.Count; i++)
{
var state = tb.Rows[i]["state"].ToString().Trim();
var completeDate = tb.Rows[i]["CompleteDate"].ToString();
var state = table.Rows[i]["state"].ToString().Trim();
var completeDate = table.Rows[i]["CompleteDate"].ToString();
var code = table.Rows[i]["CompleteDate"].ToString();
DateTime dtCompleteDate = Convert.ToDateTime(completeDate);
if (Grid1.Rows[i].DataKeys[0] != null && !string.IsNullOrWhiteSpace(state))
{

View File

@ -127,8 +127,8 @@ namespace FineUIPro.Web.PZHGL.GJSX
{
for (int i = 0; i < Grid1.Rows.Count; i++)
{
var state = tb.Rows[i]["state2"].ToString().Trim();
var completeDate = tb.Rows[i]["CompleteDate"].ToString();
var state = table.Rows[i]["state2"].ToString().Trim();
var completeDate = table.Rows[i]["CompleteDate"].ToString();
DateTime dtCompleteDate = Convert.ToDateTime(completeDate);
if (Grid1.Rows[i].DataKeys[0] != null && !string.IsNullOrWhiteSpace(state))
{