How to Use an XPath on a DataSet
This small snippet shows how to use a XPath on a DataSet. Here are the used classes: DataRowDataSetXmlDataDocumentXmlNodeListXmlNode Here’s the XML file: One Three Four Two Finally, here’s the code:
This small snippet shows how to use a XPath on a DataSet. Here are the used classes: DataRowDataSetXmlDataDocumentXmlNodeListXmlNode Here’s the XML file: One Three Four Two Finally, here’s the code:
I got a request from a developer the other day to produce a SQL statement with the resultset flopped. In other words, he wanted the rows to appear as columns
Often, in code, you find yourself constraining values doing something like: if(val < MIN) val = MIN;else if(val > MAX) val = MAX; This simple template function will do that
To find out if the correct version of Java .exe is installed in a system, type the following at the command line: java -fullversion
Before J2SE 1.5, Java had primtive data types with wrappers around them, so programmers had to convert from one type to another manually: public void manualConversion() {int a = 12;Integer
Say you’ve got a function: void f1( int iData){cout
Sometimes you need to update or insert into a view. But say your view has multiple tables like the outemp view: create or replace view outemp asselect EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,dnamefrom emp e
With the release of Microsoft Visual Studio.NET, you can now set multiple breakpoints on a single line. Example 1: Breakpoints on expressions in the for loop statement: for (InitExpression; ConditionExpression;
Setting topmost forms is easier with .NET than with previous Windows languages, since you no longer have to refer to an API call. Simply setting the .topmost form property to