如何将我定义的DateExpires转换成用户选择时间。这个是写在这个事件里: 
protected void btnSave_Click(object sender, EventArgs e)
{
}
同时希望大神能帮我把里面内容给补充完整,它是保存DateExpires这个字段,以及文本框为tbDateExpire

解决方案 »

  1.   

    DateExpires=DateTime.Parse(tbDateExpire.Text)
      

  2.   

    你定义的DateExpires内容是什么?文本框tbDateExpire是用户选择的时间吗?
      

  3.   

    是的!这个就是我要做的东西,就是用户选择好时间后我点击保存,能将它保存到数据库里去。
    而这个是对所有的东西进行保存的Update方法;
      

  4.   

    RELIST SELECTED ITEMS
    Make a SELECT ALL dropdownlist above checkboxes in My Inventory list. This should be similar to GMAIL select all ddl.
    add this RELIST SELECTED ITEMS to my-inventory list SELECT ALL dropdownlist, user selects items by checkbox, then chooses this
    Relist Selected Items from dll.
    On select, popup prompt "Enter the date to relist to" user must input date as MM-DD-YYYY and click RELIST button.
    On RELIST button click, change button to spinner/loading.gif. On finish, refresh page, popup prompt ,RELIST IS COMPLETED. Thank you for relisting!I have a question about this task. If user select items, input data and click RELIST button, What should we do next? Save values of input to database(save to which field?) or something else?You should update/modify the ExpireDate and change Status of lead to ACTIVE这个就是我的任务