TextBox tb = (TextBox)sender各位老兄,帮我解释一下这句话的意思,我不懂,刚学C#希望给点精细的解释.[解决办法]TextBox tb = (TextBox)sender 这句话是说把一个事件参数中的object sender看做TextBox类型的对象来处理. [解决办法]实例化,我一般在DataGrid里面用,因为不能直接取DataGrid里的textboxID,只好先找到e.item, 再把那个textbox实例化才能取到