C# DevExpress 调度程序只读
.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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看了一下,似乎有一些方法可以调用来限制访问。需要做的就是将此限制于用户并且应该有效。
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.