|
Dictionary<int, Dictionary<string, object>> modifiedDict = Grid1.GetModifiedDict();
for (int i = 0, count = Grid1.Rows.Count; i < count; i++)
{
if (modifiedDict.ContainsKey(i))
{
Dictionary<string, object> rowDict = modifiedDict[i];
string strwhere = "1=1";
if (.......)
{
str+= ..... }
else
{
str += ........
}
FINE.BLL.New_Fin_business bll = new FINE.BLL.New_Fin_business();
DataTable table = bll.GetList(str).Tables["ds"];
DataRow rowData = table.Rows[i];
UpdateSourceDataRow(rowDict, rowData);
}
} |
|