Tengo ahora este codigo pero lo que sucede que lo ejecuto y no me da ningún error lo que sucede que me aparece en blanco. Muchas gracias.
Código PHP:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script type="text/javascript" src = "js/jquery.js"></script>
<script type="text/javascript" src="js/ddaccordion.js">
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Página sin título</title>
<link rel="stylesheet" type="text/css" href="css/mainstyle.css"/>
<style type="text/css">
.header {background-color: blue;}
.content {border: solid;}
</style>
<link media="all" href="../css/widget04.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="asm" runat="server" />
<asp:SqlDataSource ID="sds1" runat="server" ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=xxxxx ;Integrated Security=True;Connect Timeout=30;User Instance=True" ProviderName="System.Data.SqlClient" SelectCommand="SELECT notTitulo, notContenido FROM Noticias" />
<%--<asp:SqlDataSource ID="DSNoticias" runat="server" ConnectionString=" Data Source=.\SQLEXPRESS;AttachDbFilename=D:\MisProgramas\Prueba\App_Data\Database.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True ProviderName="System.Data.SqlClient" SelectCommand="SELECT notTitulo, notContenido FROM Noticias"></asp:SqlDataSource>--%>
<div>
<ajaxToolkit:Accordion ID="acc1" runat="server"
HeaderCssClass="header" ContentCssClass="content" Width="300px"
DataSourceID="sds1" FadeTransitions="true">
<HeaderTemplate><b>Vendor #<%#DataBinder.Eval(Container.DataItem, "VendorID")%></b></HeaderTemplate>
<ContentTemplate><%#DataBinder.Eval(Container.DataItem, "Name")%></ContentTemplate>
</ajaxToolkit:Accordion>
</div>
</form>
</body>
</html>
y en aspx
Código PHP:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
acc1.DataBind()
End Sub