... Make a Generic Search Form in an ASP. NET Web Application This tutorial will show you how to add a unique search Web Form to your Web application that can be set up using session variables and ... Updating the Data Grid with the New Page Number Private Sub dgSearch_PageIndexChanged(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridPageChangedEve...
Ngày tải lên: 24/12/2013, 06:17
... Visual Basic .NET Desktop Application Another useful utility that takes advantage of being data driven is a standard search form that you can use for any number of tables, such as customers, ... OleDb.OleDbDataAdapter Dim dtSearch As DataTable = New DataTable() odaSearch = New _ OleDb.OleDbDataAdapter("Select " & Me.KeyField & ", " & Me.Searc...
Ngày tải lên: 26/01/2014, 11:20
Tài liệu Creating a Class That Participates in an Automatic Transaction ppt
... participate automatically in an existing transaction, to start a new transaction, or to not participate in a transaction. The following steps prepare a class to participate in an automatic transaction: ... participate in an automatic transaction. Once an object is marked to participate in a transaction, it will automatically execute within a transaction. The obj...
Ngày tải lên: 24/12/2013, 05:15
Tài liệu Ứng dụng tin tức đơn giản với ASP.NET docx
... command.Parameters.Add(new SqlParameter("@KeyName", category.KeyName)); command.Parameters.Add(new SqlParameter("@Name", category.Name)); command.Parameters.Add(new SqlParameter("@Description", ... name valid? if (!ValidateKey(category.KeyName)) throw new BusinessException(String.Format(Resources.Strings.InvalidKeyName, category.KeyName)); // ok , now save...
Ngày tải lên: 13/12/2013, 01:16
Tài liệu CHƯƠNG II: CÁC LỚP SỬ DỤNG TRONG ASP.NET docx
... chuỗi link , tham số ghi sau dấu ? Các tham số được khai báo cách nhau bởi dấu &, giá trị c a mỗi tham số đặt sau dấu = < ;a href=”FileName.aspx? var1=value1&var2=value2&…”> Text ... action=”FileName.aspx? var1=value1&var2=value2&…”> Các phần tử c a form < /Form& gt; < ;Form method=”Get or Post” action=”FileName.aspx? var1=value1&var2=value2&am...
Ngày tải lên: 15/02/2014, 18:20
Tài liệu Use a Single Windows Form to Update Multiple Lookup Tables Just about every database application pptx
... single form to maintain any of your simple lookup tables, again using a Windows Form. You have a number of simple lookup tables in your application, and it is a pain to have to create a form ... e As System.EventArgs) Handles lstLookupTables.SelectedIndexChanged Dim dtData As New DataTable() Try ' Update the data adapter and data table to reflect the new da...
Ngày tải lên: 14/12/2013, 20:16
Tài liệu Creating a Generic Class docx
... Greater than zero The current instance is greater than the value of the parameter As an example, consider the Circle class that was described in Chapter 7, “Creating and Managing Classes and Objects,” ... stored in an assembly. An assembly is a file that usually has the “.dll” suffix. Other projects and applications can make use of the items in a class library by adding...
Ngày tải lên: 24/12/2013, 09:16
Tài liệu Creating a Generic Method pdf
... using a type parameter in a manner similar to that used when defining a generic class. In this way, you can define generalized methods that are typesafe, and avoid the overhead of casting (and ... Creating a Generic Method As well as defining generic classes, you can also use the .NET Framework to create generic methods. A generic method allows you to specify pa...
Ngày tải lên: 24/12/2013, 09:16
Tài liệu Building a Windows IT Infrastructure in the Cloud pdf
... machine— maybe a demo laptop, for example. Of course, we’ve only scratched the surface of what the EC2 command-line tools can do. You can also, for instance, upload a raw disk image and attach ... an already configured instance as another disk drive—and that’s just the beginning. But this is a book about IT virtualization, not scripting or programming, and that subject alone could go...
Ngày tải lên: 17/02/2014, 08:20