protected void Button2_Click1(object sender, EventArgs e)
{
StreamWriter myOutputStream = new StreamWriter("Myfile.csv");
foreach (var item in urlLst.Items)
{
myOutputStream.WriteLine(item.ToString());
}
myOutputStream.Close();
}
我正在使用此代码但未获得输出。
答案 0 :(得分:1)
public static void Navigate(Form currentForm, Form nextForm)
{
currentForm.Hide();
nextForm.Show();
}