public void People_Update(Object sender, DataGridCommandEventArgs e)
{string vip = ((TextBox)e.Item.Cells[4].Controls[1]).Text;
if(vip=="")
{
}
我想让vip为空值的时候自动给它赋个0的值..??
{string vip = ((TextBox)e.Item.Cells[4].Controls[1]).Text;
if(vip=="")
{
}
我想让vip为空值的时候自动给它赋个0的值..??
{
vip="0";}