... align=”right”>Start Date:</td> <td> < ;asp: textbox id=”txtEventStartDate” columns= 10 Listing 3. 8 Entryform.inc Building the Calendar Application 135 Figure 3. 3 Monthly view of calendar. Before ... value=”2”>2nd< /asp: listitem> < ;asp: listitem value= 3 >3rd< /asp: listitem> < ;asp: listitem value=”4”>4th< /asp: listitem> < ;asp: l...
Ngày tải lên: 12/08/2014, 08:23
... sdrData As SqlDataReader Dim sb As New StringBuilder Dim strColor As String Dim db as New AtWorkUtilities.Database(“server=localhost;” _ & “database=ASPNetProject02;uid=sa;pwd=;”) sdrData ... m_DS.Tables(0).Rows If dr.RowState = DataRowState.Added _ Or dr.RowState = DataRowState.Modified Then ValidateRow(dr) End If Next End Sub ‘ ‘ Checks an individual row for validation rule ‘ compliance...
Ngày tải lên: 12/08/2014, 08:23
ASP.NET at Work: Building 10 Enterprise Projects PHẦN 4 doc
... @ParamDefs = ‘@StartDate datetime, @EndDate datetime’ IF (@StartDate IS NULL) SET @StartDate = CONVERT(datetime, ‘1/1/17 53 ) IF (@EndDate IS NULL) SET @EndDate = CONVERT(datetime, ‘12 /31 /9999 11:59:59’) EXECUTE ... ‘@StartDate datetime, @EndDate datetime’ IF (@StartDate IS NULL) SET @StartDate = CONVERT(datetime, ‘1/1/17 53 ) IF (@EndDate IS NULL) SET @EndDate = CONVERT(datetime, ‘12 /31...
Ngày tải lên: 12/08/2014, 08:23
ASP.NET at Work: Building 10 Enterprise Projects PHẦN 6 docx
... 6. 13. CREATE PROCEDURE sp_Get_Products_By_Category @categoryID int AS Select * from vw_Categories_Products Where CategoryID = @categoryID return @@rowcount Listing 6. 13 sp_Get_Products_By_Category ... EMailSubject.Text emlMsg.BodyFormat = MailFormat.Text emlMsg.Body = EMailMessage.Text Listing 5.5 Code for Error/Denied.aspx.vb (continued) 31 0 Project 5 CREATE VIEW dbo.vw_Categories_...
Ngày tải lên: 12/08/2014, 08:23
ASP.NET at Work: Building 10 Enterprise Projects PHẦN 7 potx
... discussion forums. Building the Online Store Application 38 9 Building the Online Store Application 37 5 <TD>< ;asp: comparevalidator id=”CompareValidator1” runat=”server” ControlToValidate=”Password2” ... fields. Building the Online Store Application 37 3 Creating the Database Class The AtWorkUtilities.Database class code is shown in Listing 7.11. The one change to this cla...
Ngày tải lên: 12/08/2014, 08:23
ASP.NET at Work: Building 10 Enterprise Projects PHẦN 9 pot
... ‘ Public Sub Validate() Dim dr As DataRow ClearErrors() For Each dr In m_DS.Tables(0).Rows If dr.RowState = DataRowState.Added _ Or dr.RowState = DataRowState.Modified Then ValidateRow(dr) End If Next End ... href=”team_create.aspx?id=<%# DataBinder.Eval(Container.DataItem, _ “pkTeamID”) %>”>Update</a> <a href=”team_delete.aspx?id=<%# DataBinder.Eval(...
Ngày tải lên: 12/08/2014, 08:23
ASP.NET at Work: Building 10 Enterprise Projects PHẦN 10 ppt
... align=”right”> Description: </td> <td> < ;asp: textbox id=”txtDescription” rows= 10 Listing 10. 33 task_create.aspx 596 Project 10 ‘ Private Sub ValidateRow(ByVal dr As DataRow) If IsDBNull(dr(“fkTaskID”)) ... Performed</p> < ;asp: label id=”lblMessage” class=”text” runat=”server” /> < ;asp: Repeater id=”rptList” runat=”server”> <HeaderTemplate> L...
Ngày tải lên: 12/08/2014, 08:23
Visual Basic .NET at Work Building 10 Enterprise Projects phần 9 ppt
... security. Start by creating our main project. Make a new ASP. NET Web application in Visual Studio .NET and name it prj10. Rename the standard Form1 default.aspx. This will allow it to come up automatically ... to integrate some of them to create a more complete solution. Our project is mostly ASP. NET with VB code-behind modules. There is also a lot of ADO .NET. This application is fa...
Ngày tải lên: 14/08/2014, 01:20
Visual Basic .NET at Work Building 10 Enterprise Projects phần 1 potx
... Syntax 2 93 XML Schemas 295 XML Namespaces 30 3 The XML Designer 30 5 Creating a Schema 30 6 Let’s Start the Project 31 5 The Data Generator 31 6 The Data Reader 32 5 Enhancing the Project 33 8 Project ... User Authentication Login Screen 33 9 The Project 34 0 Background on Security 34 0 Security Concepts 34 1 Authentication and Authorization 34 3 Forms Authentication and Authori...
Ngày tải lên: 14/08/2014, 01:20
Visual Basic .NET at Work Building 10 Enterprise Projects phần 2 doc
... time that the data has been changed in the database, we refresh the data in the DataSet so that we have an accurate representation of what’s been done to it. This operation has been encapsulated ... so that our own code knows we’re creating a new record (used later when we save the data). Lastly, we update the application’s status line to indicate that a new record was successfully created ....
Ngày tải lên: 14/08/2014, 01:20