我試圖在標籤中顯示輸出,並保留之前輸入的所有數據的記錄。也許在某種下拉菜單中?顯示標籤中的輸出
如何保存所有輸入的數據?
任何人都可以幫我嗎?
感謝,
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DatabaseSQLApp
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
}
private void btnStrings_Click(object sender, EventArgs e)
{
string firstName;
firstName = textBox1.Text;
MessageBox.Show(firstName);
}
private void label1_Click(object sender, EventArgs e)
{
}
}
}
爲什麼不使用備忘錄呢? – Cynede 2011-05-23 17:51:07