我正在尝试将我的html表单连接到通过godaddy.com托管的数据库。我通过SQL Server Management Studio设置了包含表的数据库,并且在Microsoft Visual Studio 2012中制作了html表单。这是不是我可以用js、php或C#做的事情?我只需要一个如何连接它的基本示例,我想我可以弄清楚。<head>
我正在尝试使用javascript循环来更新我的c#代码中的数据。但它只执行一次c#方法。document.getElementById('label').innerHTML = nb1 + " | " + @testClass.add(); ; // calling my c#method and print into a html label
} 它在页面上显示以下内容:this is what is displayed on my htm