asp.net - c# trying to access a public class within the same Website project type -


i have website project type have default.aspx page ,i had defined model , data acess methods in separate folder in respective cs files.the model class public .when try access model class operation in default.aspx.cs this

          list<datamodel> dm=new list<datamodel>();     "the type or namespace cannot bound u missing reference" 

i tried adding model class inside namespace , accessing via namespace still not working same error. had done same thing webapplication project type worked fine.the website build fine.

any help,thanks


Comments

Popular posts from this blog

Java sticky instances of class com.mysql.jdbc.Field aggregating -