摘要:
//增加项或列(字段) ListView1.Clear; ListView1.Columns.Clear; ListView1.Columns.Add; ListView1.Columns.Add; ListView1.Columns.Add; ListView1.Columns.Items[0].Caption:='id'; ListView1.Columns.Items[1].Capt... 阅读全文
摘要:
ListView1.Items.Count 阅读全文
摘要:
SqlDataAdapter adapter = new SqlDataAdapter(SelectSql,conn); DataSet ds = new DataSet(); adapter.Fill(ds,"LogAccount"); DataTable DT = ds.Tables["LogAccount"]; 总记录数为:DT.Rows.Count 阅读全文