Skip to content

Commit ba2045b

Browse files
committed
0
1 parent 936e25c commit ba2045b

20 files changed

+8216
-451
lines changed

AddCol.Designer.cs

+8-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AddCol.cs

+5
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ private void button1_Click(object sender, EventArgs e)
3535
col.IsNullable = checkBox1.Checked;
3636
col.IsUnique = checkBox2.Checked;
3737
col.Default = textBox6.Text;
38+
if (string.IsNullOrEmpty(col.Name))
39+
{
40+
MessageBox.Show("请输入列名!");
41+
return;
42+
}
3843
DBUtil.SqlServerIDbAccess iDb = DataTransfer.iDb as DBUtil.SqlServerIDbAccess;
3944
try
4045
{

AddCol.resx

+1,133
Large diffs are not rendered by default.

AddTable.Designer.cs

+58-56
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)