Creating an Online Bible in ASP.NET

At this point, this is not really much of a tutorial, other than to show you some of the neat things that can be done with ASP.Net.
The Book, Chapter and verse DropDownlists are set up with AutoPostBack=”True”, along with Subs triggered by the OnSelectedIndexChanged Event, so that whenever an item is chosen, it can trigger the event and not need to have a ‘Submit’ button to do it.
Past that, you will see that the display portions are done using a DataGrid and a DataList.

The Source Code for the User Control is shown below. Enjoy.
Source Code:

<%@ Import Namespace=”System.Data” %>
<%@ Import Namespace=”System.Data.OleDB” %>


–>

kjv Creating an Online Bible in ASP.NET



<% response.Write (“” & MyBooks.selecteditem.text & “ “) %>

Chapter : <%# Container.DataItem(“chapter”)%>
Verse : <%# Container.DataItem(“verse”)%>

<%# Container.DataItem(“versetext”)%>



Related Posts:

  • No Related Posts
Twitter Digg Delicious Stumbleupon Technorati Facebook Email

No comments yet... Be the first to leave a reply!