コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void DeleteRow(object sender, CommandEventArgs e)
 {
     if (e.CommandArgument != null)
     {
         string priKeyValue = e.CommandArgument.ToString();
         if (!string.IsNullOrEmpty(priKeyValue))
         {
             ProjectCommunicationLog biz = new ProjectCommunicationLog();
             biz.Delete(int.Parse(priKeyValue));
             // rebind to show new data
             BindCommunicationLog();
         }
     }
 }