Alagappan,
I am not updating the rows in an edit session. I don't need the user to be able to undo the changes. Everything stores correctly the problem only occurs when the attribute table is left open. I either want to close the attribute table or have it refresh after the program runs. I am not sure what code you want to but I have attached the table window code I tried. Any suggestions would be great.
Jeff
if (layer.Name.StartsWith("Pipeline"))
{
try
{
IDataset layerset = (IDataset)layer;
IWorkspace FCwrkSpc = layerset.Workspace;
string path = FCwrkSpc.PathName.ToString();
Commands.SelectionCmds mycommand = new SelectionCmds();
mycommand.SelectKeyID(FCwrkSpc, layerset, layer, "PIPELINE_UTILITY");
IFeatureLayer fLayer = (IFeatureLayer)layer;
//ITableWindow2 iptblwin = new TableWindowClass();
//iptblwin.FindViaLayer(layer);
//iptblwin.Layer = layer;
//iptblwin.Application = esriApp;
//iptblwin.PutPosition(50,50,100,50);
//iptblwin.TableControl.RemoveAndReloadCache();
//iptblwin.Refresh();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message + " " + "Please check you Pipeline Utility layer.");
}
}