DBGrid.datasourcename:=datasource1
datasource1.dataset:=table1
table1.tablename:='bb'我又用bde 的StoredProc 控件调用了sql server里的一个存储过程,该过程会对表bb进行insert操作!
程序运行正常,我现在想在表bb的insert完成后马上刷新DBGrid表格。
试过用DBGrid.refresh方法但没效果!
试过用table.refresh方法但运行出错,提示:“table does not support this operation because it is not uniquely indexed.”
请各大侠指教!