|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi All,
Got a new one. I've created a Web Service that hits a Sql Server database - runs fine. When I add a web reference to an aspx all I get is the title. Anybody 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> <asp ataGrid ID="dgrdMaterial" Runat="server" /></body> </HTML> |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > Web Service wont pull data inside an aspx |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|