Extending the Existing CLR Type
Yes, you read that right. With .NET 3.0, you can extend any existing CLR type by adding one or more public methods to it?without recompiling the library. These new members
Yes, you read that right. With .NET 3.0, you can extend any existing CLR type by adding one or more public methods to it?without recompiling the library. These new members
Ever notice how your data isn’t filtered properly even though you’ve set the Row Filter Expression correctly? For example, suppose you have this code: DataView dv = ds.Tables[0].DefaultView; dv.RowFilter =”location=11″;
To test your TrAX application without involving your live business processes, simply build an identical transformation. You can do this using the newTransformer() method?without any arguments. The following code is
Unlike other routines, this one doesn’t need to pass the length of the returned string for later trimming in VBA. This is because the Delphi function also tricks VBA into
The easiest most and most efficient way to update XML documents is to use non-extractive parsers (such as VTD-XML) because they support incremental content update. Suppose you have the following
Use the following query to determine the version and build information for Microsoft SQL Server: select @@microsoftversion / 0x01000000 as version, cast(cast(@@microsoftversion as binary(2)) as int) as build; The query
To make your mouse pointer appear to be trembling, you first create a form with ScaleMode = 3 – Pixel. Then use the following code: Option ExplicitPrivate Type POINTAPI X
Suppose you’ve retrieved data from a datasource and you want to display the value of field1. Normally, you’d do this by using the <%# DataBinder.Eval(Container.DataItem,”field1″) %> in the aspx/ascx file.
The following code shows you how to use the DOMImplementationLS and DOMConfiguration classes to validate an XML document only when an XML Schema is present: DOMImplementationLS DOMiLS=null;//get a LSParserLSParser LSP=DOMiLS.createLSParser(DOMImplementationLS.MODE_SYNCHRONOUS,