从左,向右移动按钮下的代码: string[] selectedContents new string[dgvComponentList.SelectedRows.Count];//dgvComponentList为左侧dgv的名字 int index 0; Model.ComponentListInfo model new BT.Assist…
public class SetImg{public List<string> GetImgsrc(){List<string> listImgsrc new List<string>();string sql "select imge from ws"; //查询数据中imge的数据(添加数据格式****.jpg)DataTable dt DBHelper.Select(s…
dgv分页显示 #region 分页显示static int rowsall 0;//总行数 static int pageall 0;//总页数static int page 0;//第几页static int count 20;//返回5行static int start 0;//从第start行开始返回public string selectsql, tablename; public void upPageX(string sql…