C# DevExpress 调度程序只读

发布于 2025-01-08 01:44:40 字数 267 浏览 1 评论 0原文

.NET4 和 C#。

创建了一个表单,成功使用了 DevExpress 调度程序。我的表单当前有一个登录名,一种类型可以使用调度程序进行读写。但我需要限制另一组的写入能力,基本上是只读的。

我尝试向“存储计划”添加一个单独的 conn 字符串,但这实际上错误说连接已关闭(不知道它是关于什么的,因为它通过向导。)

我显然没有代码,因为我问是否实际上有一个 1 行代码可以切换读或写(我祈祷有)。

如果不是,那么漫长的道路是什么?

非常感谢

.NET4 and C#.

Created a form, used a DevExpress scheduler successfully. My form currently has a login, one type can read and write using the scheduler. But the other group I need to restrict there ability to write, basically read only.

I've tried adding a separate conn string to the "storage sched", but this actually errors saying the connection is closed (no idea what its on about since its through the wizard.)

I have no code obviously because I'm asking if there's actually a 1 line code that toggle read or write (I pray there is).

If not whats the long winded way?

Many thanks

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

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

发布评论

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

评论(1

jJeQQOZ5 2025-01-15 01:44:40

看了一下,似乎有一些方法可以调用来限制访问。需要做的就是将此限制于用户并且应该有效。

Took a look and it seems there are methods which you can call that restrict access. All that needs to be done is restrict this to the users and should work.

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