你把时间取出来,进行转换了
Response.Redirect("WebForm1.aspx?Date=" + dgItem.Cells(0).Text)
在WebForm1中取出条件进行查询就是了

解决方案 »

  1.   

    你的那个链接不是已经关联了delete命令了吗
    在后面直接写这个事件调用
    e.Item.Cells[0].Text取出相关数据
      

  2.   

    在datagrid的EditCommand事件里,如果你的linkbutton放在第0列,
    ctype(e.Item.Cells(0).control(0),linkbutton).text可以取到值
      

  3.   

    改sub day_check(s as object,e as datagridcommandEventArgs)
    info.text=ctype(e.Item.Cells(0).control(0),linkbutton).text
    end sub
    提示:“control”不是“System.Web.UI.WebControls.TableCell”的成员。