1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <%@ Page Language="C#" Debug="true"%> <script runat="server"> protected void btnAddVisit_Click(object sender, EventArgs e) { InsertNewRecord.Insert(); Response.Redirect("main.aspx"); } </script> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Outreach Log</title> </head> <html xmlns="http://www.w3.org/1999/xhtml"> <body> <form id="form1" runat="server"> <div id="container"> <div id="header" style="text-align: right"> <span style="font-family: Calibri"><a href="main.aspx"><span style="font-family: Calibri; font-size: 10pt;"> Home</span></a><span style="font-family: Calibri; font-size: 10pt;"> </span></span> <h1 style="text-align: center"> <span style="font-family: Calibri"> 2010 Outreach Log</span></h1> </div> <div id="content"> <div id="page" style="text-align: center"> <h1 style="text-align: center"> <span style="font-family: Calibri; font-size: 10pt; color: #ff0066;">Add New Visit for Existing Pt</span></h1> <div class="style1" style="text-align: left"> <span style="font-size: 10pt"> <span style="font-family: Calibri"> <br /> <span style="font-size: 12pt"> Add New visit for this patient?<br /> </span> <span style="font-size: 12pt"> <br /> </span> <span style="font-size: 12pt"> </span><asp:Button ID="btnAddVisit" runat="server" Text="Add New Visit" OnClick="btnAddVisit_Click" /><br /> </span> </span> <br /> <span> <br /> <span style="font-family: Calibri"> <asp:SqlDataSource ID="InsertNewRecord" runat="server" ConnectionString="<%$ ConnectionStrings:Outreach_Log %>" InsertCommand="INSERT INTO Outreach_Log_Det(Outreach_Id) VALUES (@Outreach_Id)" ProviderName="<%$ ConnectionStrings:Outreach_Log.ProviderName %>"> <InsertParameters> <asp:QueryStringParameter Name="Outreach_Id" QueryStringField="@Outreach_Id)" /> </InsertParameters> </asp:SqlDataSource> </span></span> </div> </div> </div> </div> </form> </body> </html>