overDeveloper
Programmer
I ahve the follwoing code in a control:
I try to even screw up the connection for the adapter and it does not error out... it's like it is not even trying it... see anything wrong?
[/code]
Code:
<%@Import namespace="System.Data"%>
<%@Import namespace="System.Data.SqlClient"%>
<script language="C#" runat="server">
DataSet nodeDS = new DataSet();
dataSet GetNodes() {
SqlDataAdapter nodeAptr = new Sql........
nodeAptr.Fill(nodeDS, "nodes");
return nodeDS;
}
</script>
<asp:Repeater id="rptr_nodes" runat="server" datasource="<%#GetNodes()%>">
.......
</asp:Repeater>
I try to even screw up the connection for the adapter and it does not error out... it's like it is not even trying it... see anything wrong?
[/code]