如何将详细信息视图列转换为大写

发布于 2024-09-27 04:19:41 字数 185 浏览 1 评论 0原文

我需要能够将DetailsView(插入)中的所有输入字段转换为大写。我该怎么做?我的 SQL 查询和整个插入语句发生在 ASP.NET 中,而不是在代码后面,所以我不确定是否可以在 ASP 中动态执行此操作。

我在 CSS 中使用了 Text-Transform,使它们对于用户来说看起来是大写的,但它仍然在字段中以小写形式输入详细信息。

I need to be able to convert all input fields in a DetailsView (Insert) to uppercase. How do I do this? My SQL query and the whole insert statement takes place in ASP.NET, and not in code behind so I'm not sure if I can dynamically do this in ASP.

I've used Text-Transform in CSS to make them look uppercase for the user, but it still enters the details in lower case in the field.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

秋千易 2024-10-04 04:19:41

做了一个厚颜无耻的工作 - SQL 查询现在只是将所有内容转换为大写。

Done a cheeky work around - the SQL query simply converts everything to upper case now.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文