Tutorials to .com

Tutorials to .com » Dotnet » Control-and-components » .Net Control and components

.Net Control and components Articles


101: Add a DataGrid control to the ComboBox control
See in front of a lot about how to add a ComboBox to the DataGrid control method. All the methods used in the method of VB6.0. I would like to talk about in the post in CSND friends. Now the so-called. NET programmers, I do not know how the case! ...

102: Custom control - picture button
Image button: Idea: To put it simply, is in a picturebox control to place a button control, and then add this button on the picturebox (to ensure that the first drag and drop picturebox, drag after the button), set the background color of the butto...

103: Custom control - xp style button (to set the text color)
Imports System.Drawing Imports System.ComponentModel Public Class winxpbutton Inherits System.Windows.Forms.Button Private my_mouseDown As Boolean = False 'mouse click Private my_mouseHover As Boolean = False 'mouse to the top Private ...

104: The realization of the tree menu with TreeView
The specific method is: to create a database table design tree S_Menu, contains NodeId, ParentId, NodeName, Address, Icon field, other fields may be based on actual operations, the node name will NodeName node in the tree control to show, NodeId nod...

105: Calendar call so that when the page shows
Recently, friends often ask the question: how to do in ASP.NET in Calendar when you want to call, they let it show, select End time automatically hide it, and return a date string into a text input box. Once I saw a line popular UserControl with VB...

106: Use nested Repeater control
This procedure applies to: • Microsoft ASP.NET • Microsoft VS.NET official version Introduction This article describes how to use nested Repeater control to display hierarchical data. Of course, you can apply this technology to a list...

107: Page DataList control to achieve
DataList control function is very powerful, he supported the choice of editing, the realization of the method is also very simple, but a headache for most of the DataGrid control is that it is not the same as built-in paging features, so a control w...

108: Null value can be used to show that the timing of control 3
public DateInput () ( / / The call is the Windows.Forms Form Designer necessary. InitializeComponent (); tbMonth.ContextMenu = mnu; tbYear.ContextMenu = mnu; tbDay.ContextMenu = mnu; this.Height = 21; this.Value = DateTime.Now; this.DateFor...

109: Null value can be used to show that the timing of control 5
private void tbDay_KeyPress (object sender, System.Windows.Forms.KeyPressEventArgs e) ( if (this.DesignMode) return; TextBox obj = (TextBox) sender; obj.SelectedText = ""; string strValue = obj.Text.Trim (); int iLen = strValue.ToSt...

110: COM components do not use pop-up database connection dialog box
Search today, when SQL Server Help file, just click on the Using the OLE DB Connection Dialog Box page. Using the OLE DB Connection Dialog Box OLE DB specifies that each provider must provide a dialog box for defining connections to its data sourc...

111: Custom control to achieve in the WEB incident and automatically saves the value of
using System; using System.Web.UI; using System.Web.UI.WebControls; using System.ComponentModel; using System.Collections.Specialized; namespace MyWebControls ( / / / <summary> / / / Create a class derived from WEBCONTROL / / / Implem...

112: ASP.NET Component Design Step by Step (3)
Custom control (custom control) entry In the server-side logic in the implementation of the components, asp.net application is the basic building block. In order to be able to implement in asp.net environment, certain conditions must be met. In or...

113: On how to operate the controls or the other form variables
On how to operate the controls or the other form variables! In fact, there are many solutions, where only a brief summary. For other methods, please advise! 1. The definition of global variables In fact, this relatively simple method is also well...

114: web component design, using interfaces (IPostBackDataHandler) data have the problem of return
1. IPostTest.cs assembly source files 1using System; 2using System.Web.UI; 3using System.Web.UI.WebControls; 4using System.ComponentModel; 5, 6namespace MyWebControl 7 ( 8 / / / <summary> 9 / / / IPostTest summary. 10 / / / </ sum...

115: Create your own dividing line of control (LineH, LineV)
Ago to develop software using Delphi, if the need to put a dividing line interface, and its own well TBevel can meet this requirement. Turning now to the. NET platform, he can not find the corresponding control (after all, each painting in the Paint...

116: ASP.NET Component Design Step by Step (6)
asp.net page through the post if the request to the server, the framework cycle will be generated to comply with the event, call control, and control (if they support the return) will return to load the data, and mapped into the server-side control ...

117: The control of Active Directory objects
Method a LDIFDE.exe, for the bulk import and export Active Directory object. LDIFDE can use a new user record into the directory, or to a specific user-specific information to export to a text file. LDIFDE default output mode is used (read from the...

118: With regard to the registration and license control solution to the problem
Given some time ago, Microsoft caught in the delegation of authority control, and the Internet is also very difficult to find a solution to the problem, this two-day forum has also asked friends along, there have been similar issues, especially the ...

119: Response.ContentType control of the output file type (to discuss the issue of downloading files)
Server to the client packet types can be text / html text, it could be a gif / jpeg graphics files, so before each transmission, we must inform the client to transfer file types, the general default for the "Text / Html "type. <% Respo...

120: Prepared with. NET Properties window RAD interactive components (a)
I. Summary: This article will tell you how to develop with. NET Properties window RAD components interact Second, the contents: Introduction What can you do with the properties window Basic knowledge: Use Attribute to custom attribute window di...


Page 6 of 10
[1]   [2]   [3]   [4]   [5]   [6]   [7]   [8]   [9]   [10]