How can I make this get a specific users data, Example user enters his 3 digit code in the badge text box so that
only his information is shown. Can I add a where clause to the select command? or is there a better way to do this?
Also is there a good book out there with information about asp.net, c# and oracle.
// string Badge = "100000" + Request.Form["xBadgeTextBox"]; in
default.aspx.cs //"SELECT * FROM CLOCK_HISTORY WHERE BADGE ='" + Badge + "'"; would something like this work?
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionStrings %>"
ProviderName="<%$ ConnectionStrings:ConnectionStrings.ProviderName %>"
SelectCommand="SELECT "CLOCK_IN_TIME", "CLOCK_OUT_TIME" FROM "CLOCK_HISTORY"">
</asp:SqlDataSource>