Notice
Recent Posts
Recent Comments
Link
두근두근이야기
ASP.NET 에서 데이터 베이스와 연결 예제 본문
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:AdventureWorksLT2008ConnectionString %>"
SelectCommand="SELECT id, name, tel FROM Product WHERE (id = 'c')"></asp:SqlDataSource>
<asp:ListBox ID="ListBox1" runat="server" DataSourceID="SqlDataSource1"
DataTextField="id" DataValueField="id"></asp:ListBox>
'IT > IT ::asp.NET' 카테고리의 다른 글
asp.net GridView 에러 (0) | 2014.01.13 |
---|---|
eval 함수 (0) | 2014.01.10 |
ASP.NET, InetMgr에서 연결문자열 항목 없을시 해결방법 (0) | 2014.01.09 |
PostBack시 스크롤 고정 (0) | 2014.01.07 |
iis 설정 (0) | 2013.12.26 |