Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在显示来自数据库的列,并且它正在从DB using its Key. 但我需要显示one column as a default value1。该列不在数据库中。我创建了BalName.
DB using its Key
one column as a default value
BalName
您可以通过将默认值分配给您的 Sql 或 mysql 查询来执行此操作,例如
select -------, 1 as 'defaultvalue' ---------------
并在网格中使用一列并将该网格列与defaultvalue. 绑定也将与您用于其他字段的绑定相同。
defaultvalue
希望您理解并为您工作。