在MSDN 上,解决了,不用帮忙了,谢谢!

解决方案 »

  1.   

    void AuthorsGridView_RowCommand(Object sender, GridViewCommandEventArgs e)
        {
            // If multiple ButtonField column fields are used, use the
            // CommandName property to determine which button was clicked.
            if(e.CommandName=="Add")
            {
                // Convert the row index stored in the CommandArgument
                // property to an Integer.
                int index = Convert.ToInt32(e.CommandArgument);
                
                // Retrieve the row that contains the button clicked 
                // by the user from the Rows collection.
                GridViewRow row = AuthorsGridView.Rows[index];
                
                // Create a new ListItem object for the author in the row.     
                ListItem item = new ListItem();
                item.Text = row.Cells[2].Text + " " + row.Cells[1].Text;
                
                // If the author is not already in the ListBox, add the ListItem 
                // object to the Items collection of the ListBox control. 
                if(!AuthorsListBox.Items.Contains(item))
                {
                    AuthorsListBox.Items.Add(item);
                }           
            }
      

  2.   

    anyway, thanks for your share.