摘要:
//查询 //查询指定字符串出现的个数,类似于模糊查询select count(*) from Book where Name like '%字符串%' db.Book.Where(x => x.Name.Contains(txtName.Text.Trim())).Count(); //接收查询的数据 List bk = db.Book.ToList(); dataGridView1.... 阅读全文
摘要:
Navigator 跳转分为两个状态 跳转时关闭当前页 跳转时不跳转当前页 用redirect属性指定 阅读全文
摘要:
.JSPage({ data: { input_data: [ { id: 1, unique: "unique1" }, { id: 2, unique: "unique2" }, ] }, //前部插入元素函数 addToFront: function (e) { //console.log(this.data.inpu... 阅读全文
摘要:
List list = new List(); for (int i = 1; i < 5; i++) { ReceiptTableDetail model = new ReceiptTableDetail(); model.FeeName = ((... 阅读全文
摘要:
int left = 39; int top = 39; 阅读全文
摘要:
//窗体加载事件 //内容居中 dataGridView1.RowsDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; //列名居中 dataGridView1.ColumnHeadersDefaultCel 阅读全文
摘要:
private void button1_Click(object sender, EventArgs e) { //查询数据库内容并绑定 string sql= "select* from employee"; dataGridView1.DataSource = SqliteHelper.Exe 阅读全文
摘要:
//使用getJSON AJAX 阅读全文
摘要:
General; Request URL; Request Method: Status Code: Remote Address: Response Headers; Cache-Control: Content-Length: Content-Type: Date: Server: X-Powered-By: R... 阅读全文