示例#1
0
    protected void  Button8_Click(object sender, EventArgs e)
    {
        int      row    = Convert.ToInt16(Textbox7.Text.Trim());
        int      column = Convert.ToInt16(Textbox8.Text.Trim());
        GridCell cell   = GridWeb2.WorkSheets[0].Cells[row, column];
        GridCommentCollection comments = GridWeb2.WorkSheets[0].Comments;

        comments.RemoveAt(row, column);
    }
示例#2
0
    protected void  Button7_Click(object sender, EventArgs e)
    {
        int      row    = Convert.ToInt16(Textbox7.Text.Trim());
        int      column = Convert.ToInt16(Textbox8.Text.Trim());
        GridCell cell   = GridWeb1.WorkSheets[0].Cells[row, column];
        GridCommentCollection comments = GridWeb1.WorkSheets[0].Comments;
        GridComment           comment  = comments[comments.Add(cell.Name)];

        comment.Note = Textbox9.Text.Trim();
    }