之前
dv.allownew=true;
dv.allowdelete=true;
cv.allowedit=true;
dataGrid1.DataSouce=dv;
结果在赋值时,
DataView dv=(DataView )dataGrid1.DataSouce;
dv[dataGrid1.CurrentRowIndex].Row["Name"]="1";
可以执行!
dv[dataGrid1.CurrentRowIndex]["Name"]="1";
data.dll异常提示:不能设置Name
哪位知道是什么原因???