'How to query from table's view in .Net C#? [closed]

How to query on table's view in .Net C# web application ?

for example, here [View_App_Academic] is my table view. My code is listed below. under db scheme, I am not able to see the view due to my user privilege.

string strquery = "select * from [dbo].[View_App_Academic] where recruitment_id=" + 
RecruitDropDownList.Text + " and ref_no='" + RefDropDownList.Text + "'";

SqlCommand objCMD = new SqlCommand(strquery, conn);


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source