The type or namespace name 'function' could not be found?
asp.net, c#
Solution
If i understand you correctly, you have written something like this:
private function ValidateData() {}
If that is correct, then you need to change it to something like this:
private bool ValidateData() {}
where `bool` in this example, is your return type (boolean). If you have no return (then it is not a function). Here is what you would do then:
private void ValidateData() {}
Problem
I am writing a function proc in my C# 2008 ASP.Net application and I get the following error: The type or namespace name 'function' could not be found (are you missing a using directive or an assembly reference) ? Any idea what this means?