摘要:
存储部分: create proc proc_GetUserID @UserName nvarchar(50),@ID int output as begin set @ID = (select ID from UserAccount where UserName = @UserName) end 阅读全文
摘要:
获得列名 select name from syscolumns where id=object_id('ds_field') 或 select col_name(object_id('table'),1) from sysobjects where name='table' --读取库中的所有表名 阅读全文
摘要:
string[] str = new string[dataGridView1.Rows.Count]; int Sum = 0; for(int i=0;i<dataGridView1.Rows.Count;i++) { if(dataGridView1.Rows[i].Selected==tru 阅读全文
摘要:
for (int i = 0; i < dataWonoDefectList.RowCount; i++) { if (dataWonoDefectList.Rows[i].Cells[1].Value.ToString() == "") //判断第一列行等于空值执行隐藏操作 { dataWonoD 阅读全文