Intellisense not finding my method
Posted on 2006-07-16
Here's my class
public class GetListURLs
private string _ConnString;
public GetListURLs(string connection)
this._ConnString = connection;
public DataSet GetList()
DataSet URLs = new DataSet();
SqlConnection Conn = new SqlConnection(this._ConnString);
SqlCommand GetURLsCommand = new SqlCommand("GetURLs", Conn);
GetURLsCommand.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter(GetURLsCommand);
In my aspx code-behind, I can't get to my GetURLs() using Intellisense.
I type DataSet urls = GetListURLs. in my page_load and the only options I get after the dot are "Equals" or "ReferenceEquals"
I have added my Class Library dll into my web site and the using namespace is working for the class library. It is recognizing my class GetListURLs, just not my GetURLs() and I'm not sure why.