使用日期选择器选择日期并在消息框中显示消息的代码。但我需要的是代替显示需要在FTP文件夹中创建子文件夹的消息
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
dateTimePicker1.Format = DateTimePickerFormat.Short;
dateTimePicker1.Value = DateTime.Today;
}
private void button1_Click(object sender, EventArgs e)
{
DateTime iDate;
iDate = dateTimePicker1.Value;
MessageBox.Show("Selected date is " + iDate);
}
答案 0 :(得分:1)
document.getElementById('response').innerHTML = "";