The sample im using is working when i clicked "View Example". It returned query results. However, when i copy the codes and paste them into my Visual Studio, only the Buffer symbol is shown, and i cant see the query results, any idea why?
http://help.arcgis.com/en/webapi/javascript/arcgis/demos/query/query_buffer.html