从SQL视图中检索数据元素 [英] Retrieving a data element from a SQL View

查看:72
本文介绍了从SQL视图中检索数据元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是ASP.NET的新手。我的公司使用的是3.5。这是我的困境。我正在使用VB

 

我正在使用User.Identity.Name来提取Page_Load上用户的用户ID。然后,我想要获取该用户ID并将其与SQL Server视图的列进行对比,以查看它是否存在于视图中(以及其他条件)。我的问题就在于此。

I'm a complete novice in ASP.NET. My company is using 3.5. Here's my dilemma. I'm using VB
 
I'm using User.Identity.Name to pull in the user ID of the user on the Page_Load. I then want to take that User ID and bump it against a SQL Server view's column to see if it exists within the view (alongside other conditions). And there in lies my issue.

推荐答案

嗨Cornerman8,

Hi Cornerman8,

如果您在ASP中遇到问题.NET,你应该在
ASP.NET论坛中创建你的主题。

If you encounter a issue in ASP.NET, you should create your thread in the ASP.NET Forum.

最诚挚的问候,


这篇关于从SQL视图中检索数据元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆