|
|
@ -37,7 +37,7 @@ $if(isGenOperationColumn)
|
|
|
|
if (cols.Count > 0)
|
|
|
|
if (cols.Count > 0)
|
|
|
|
this.${dgv_name}.FirstDisplayedScrollingColumnIndex = cols.Count - 2;
|
|
|
|
this.${dgv_name}.FirstDisplayedScrollingColumnIndex = cols.Count - 2;
|
|
|
|
$end
|
|
|
|
$end
|
|
|
|
${dgv_name}.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.ColumnHeader;
|
|
|
|
${dgv_name}.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells;
|
|
|
|
DataTable data = DbHelperMySQL.Query($"select * from ${sql_table_name}");
|
|
|
|
DataTable data = DbHelperMySQL.Query($"select * from ${sql_table_name}");
|
|
|
|
this.${dgv_name}.DataSource = data;
|
|
|
|
this.${dgv_name}.DataSource = data;
|
|
|
|
|
|
|
|
|
|
|
|