Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 您是否能够合并';网络浏览器&x27;在使用Visual Studio的.aspx中?_C#_Html_Asp.net_Visual Studio - Fatal编程技术网

C# 您是否能够合并';网络浏览器&x27;在使用Visual Studio的.aspx中?

C# 您是否能够合并';网络浏览器&x27;在使用Visual Studio的.aspx中?,c#,html,asp.net,visual-studio,C#,Html,Asp.net,Visual Studio,我对编码比较陌生,我正在创建一个网站,我想导入谷歌地图,因为我计划展示局部地区。长话短说,我在谷歌上搜索了微软告诉我如何做到这一点: [System.Runtime.InteropServices.ComVisible(true)] [System.Windows.Forms.Docking(System.Windows.Forms.DockingBehavior.AutoDock)] [System.Runtime.InteropServices.ClassInterface(System.R

我对编码比较陌生,我正在创建一个网站,我想导入谷歌地图,因为我计划展示局部地区。长话短说,我在谷歌上搜索了微软告诉我如何做到这一点:

[System.Runtime.InteropServices.ComVisible(true)] [System.Windows.Forms.Docking(System.Windows.Forms.DockingBehavior.AutoDock)] [System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)] 公共类WebBrowser:System.Windows.Forms.WebBrowserBase

然而,出于某种原因,代码对我来说是白色的(可能是因为.aspx使用的是html,我不知道)。作为一名业余爱好者,我尝试做的第一件事是在工具箱中查找“WebBrowser”,但我看不到它。我还没有找到任何有助于这一点的视频,希望有人能给我一些建议。
谢谢你的时间。

你应该看看谷歌关于地图的文档。简短回答:不行。您应该阅读更多有关html和浏览器一般工作原理的信息。然后看看aspx如何处理客户机-服务器模型。您正在寻找的是一个
iframe
。我建议您在开始之前至少一周内阅读更多教程。好的,谢谢您的回复。