Example #1
0
 protected void MyDataGrid_Delete(object source, DataGridCommandEventArgs e)
 {
     string StyleID = dgStyleListAdmin.DataKeys[e.Item.ItemIndex].ToString();
     UDS.Components.DocumentFlow df = new UDS.Components.DocumentFlow();
     df.DeleteNews(Int32.Parse(StyleID));
     df = null;
     Bangding();
 }