I have been trying to compile the project fr开发者_如何转开发om http://www.shabdar.org/google-maps-user-control-for-ASP-Net-part1.html but it is complaining
- The name 'hidEventName' does not exist in the current cont
- The type or namespace name 'GoogleObject' could not be found (are you missing a using directive or an assembly reference?)
I have copied the required files. What am I missing?
Just downloaded the project from the link you specified, opened it in Visual Studio 2010, did the requested conversion, compiled and run it without any problems.
What version of VS are you using?
-you delete GoogleMapForASPNet.ascx, and creat new WebUserControl, set name =GoogleMapForASPNet.ascx you coppy code last GoogleMapForASPNet.ascx into this. now it's ok
-The type or namespace name 'GoogleObject' -> you not coppy forder app_code , you coppy two file .cs into project-> ok!
精彩评论