|
|
|
|
|
Total Hits: 41 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

You can change data in the cache of a Microsoft Office Excel workbook that is part of a document-level project without running Excel. This makes it possible to change data in Excel workbooks that are stored on a server.
The code to change the data must be outside of the main project assembly that is associated with the document you are working with, for example in an ASP.NET Web page, a console application, or a Windows Forms application....
|
|
|
|
Total Hits: 53 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

You can store XML data in a Microsoft Office Excel workbook or Microsoft Office Word document by creating a custom XML part in a document-level customization. For more information, see Custom XML Parts Overview....
|
|
|
|
Total Hits: 43 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

The BackgroundWorker component replaces and adds functionality to the System.Threading namespace; however, the System.Threading namespace is retained for both backward compatibility and future use, if you choose. For more information, see BackgroundWorker Component Overview....
|
|
|
|
Total Hits: 40 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

To create a button with an image, you must create a custom control that derives from the Windows Forms Control class. To create a button with an image
1.
Create a class that derives from the System.Windows.Forms..::.Control class. 2.
Define properties in the class for button images that show a pressed and not pressed state. 3.
Use the Invalidate method to cause the form to repaint when the button is clicked. 4.
Ov...
|
|
|
|
Total Hits: 49 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

At times, you need to access properties or methods of a control's naming container. For example, during data binding, the naming container makes available a DataItem property containing the data to which controls are bound. You can access the containing control in different ways, depending on context....
|
|
|
|
Total Hits: 63 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

HTML server controls are of two slightly different types. The HTML elements most commonly used in forms are available as individual HTML server controls, such as HtmlInputText, HtmlInputButton, HtmlTable, and so on. These HTML server controls expose their own, control-specific properties that map directly to HTML attributes. However, any HTML element can be converted to a control. In that case, the element becomes an HtmlGenericControl with base class properties such as TagName, Visible, and Inn...
|
|
|
|
Total Hits: 51 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

You can use declarative syntax to set the values of ASP.NET server control properties to a resource value. Alternatively, you can retrieve resource values programmatically. You might do this if the resource value is not known at design time or if you want to set the resource value based on a run-time condition....
|
|
|
|
Total Hits: 49 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

The .NET Compact Framework does not support the Image..::.Clone method, but you can still copy images and parts of images. The following examples show how to do the following:
*
Define a method to create a bitmap. *
Define an overloaded method to copy a bitmap or to copy part of a bitmap. *
Call these methods and draw the images to the screen by overriding the OnPaint method of your form....
|
|
|
|
Total Hits: 46 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

The predefined cultures provided with the .NET Framework and the Windows operating system provide information such as the language and calendar used in a country/region, and the text conventions used to format, parse, and compare strings, dates, and numbers. However, your application can create a custom culture if the predefined cultures do not provide the required information....
|
|
|
|
Total Hits: 47 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

If you want to have a special icon for your control appear in the Toolbox, you can specify a particular image by using the ToolboxBitmapAttribute. This class is an attribute, a special kind of class you can attach to other classes. For more information about attributes, see Attributes Overview in Visual Basic for Visual Basic and Attributes (C# Programming Guide) for Visual C#....
|
|
|
|
Total Hits: 43 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

The Output window displays status messages for various features in the integrated development environment (IDE). These include build errors that occur when a project is compiled, and the results when T-SQL syntax in a stored procedure is checked against a target database. Certain IDE features, such as the external tools features or commands invoked in the Command window, deliver output to special Output Window panes. Output from external tools, such as .bat or .com files, normally displayed in t...
|
|
|
|
Total Hits: 49 | Today: 0
|
Author: Microsoft Corporation
|
Rating:
|
|

You can catch the DBConcurrencyException object to assist in resolving issues arising from concurrency violations. The DBConcurrencyException object returns the data row that caused the error. For more information, see DBConcurrencyException Members....
|
|
|
|
|
|