コード例 #1
0
 private void SendDatatoExcel_Load(object sender, EventArgs e)
 {
     ftpServerIP      = "www.krishnapatnamport.com";
     ftpUserID        = "*****@*****.**";
     ftpPassword      = "******";
     ftpfoldername    = "ContainerSearch";
     txtServerIP.Text = ftpServerIP;
     txtUsername.Text = ftpUserID.Normalize();
     txtPassword.Text = ftpPassword.Normalize();
     //this.Text += "  " + ftpServerIP;
     PresentTimer.Start();
 }
 private void GenerateExcelandUploadinFTPAutoTimeSchedule_Load(object sender, EventArgs e)
 {
     ftpServerIP      = "www.krishnapatnamport.com";
     ftpUserID        = "*****@*****.**";
     ftpPassword      = "******";
     ftpfoldername    = "ContainerSearch";
     txtServerIP.Text = ftpServerIP;
     txtUsername.Text = ftpUserID.Normalize();
     txtPassword.Text = ftpPassword.Normalize();
     //this.Text += "  " + ftpServerIP;
     PresentTimer.Start();
     FileName = @"E:\ContainerSearch\ContainerList.xls";//ContainerList.xls
 }