nodavies
Member
Hi all,
Got another one that is driving me crazy, I've created a Web Service that hits a SQL server database, and runs without a problem. However, when I call it via this aspx all I get is a title. The web service was included with a web reference without a problem - so I'm kinda at a loss...anyone have any ideas?
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="DisplayMaterial.aspx.vb" Inherits="DisplayMaterial.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<script language="VB" runat="server">
Sub Page_Load(Source As Object, E As EventArgs)
Dim objMaterialService As New DisplayMaterial.localhost.Material()
dgrdMaterial.DataSource = objMaterialService.getMaterial()
dgrdMaterial.DataBind()
End Sub
</script>
<HTML>
<HEAD>
<title>Display Material</title>
</HEAD>
<body>
<h2>Material</h2>
<aspataGrid ID="dgrdMaterial" Runat="server" />
</body>
</HTML>
Got another one that is driving me crazy, I've created a Web Service that hits a SQL server database, and runs without a problem. However, when I call it via this aspx all I get is a title. The web service was included with a web reference without a problem - so I'm kinda at a loss...anyone have any ideas?
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="DisplayMaterial.aspx.vb" Inherits="DisplayMaterial.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<script language="VB" runat="server">
Sub Page_Load(Source As Object, E As EventArgs)
Dim objMaterialService As New DisplayMaterial.localhost.Material()
dgrdMaterial.DataSource = objMaterialService.getMaterial()
dgrdMaterial.DataBind()
End Sub
</script>
<HTML>
<HEAD>
<title>Display Material</title>
</HEAD>
<body>
<h2>Material</h2>
<aspataGrid ID="dgrdMaterial" Runat="server" />
</body>
</HTML>