|
|
|
14
This snippet effectively reads an XML document using XPathDocument (read-only) instead of using the DOM. This snippet returns the full element values in between elements. For example:
root element
code element
This is a test.
/code element
/root element
GetXmlString("/root/code"); //returns 'This is a test.'
root element
code element
This is a test.
/code element
/root element
GetXmlString("/root/code"); //returns 'This is a test.'
7
Write a set of bytes into a 'so-called' binary file. The point is that we use BinaryWriter here and we have a byte array as input.
-7
A function to determine if the input filename is valid on Win32 platforms (that is, it does not include invalid characters, such as :\?...)
-8
Write a set of bytes into a so-called binary file. The point is that we use BinaryWriter here and we have a byte array as input.
10
Set the read-only attribute of a file to true or false.
7
This is a function that receives a dataTable and return it in a pivoted way.
-15
Simple loop through datatable
12
Second example of reading an excel file. Reading with a SELECT syntax.
14
First Example of reading an excel file. Just reading the file and loop throught 10 rows.
I will send the second example soon !!!
I will send the second example soon !!!
-11
Example that shows how to populate a winforms combobox with csharp. It uses Data Access blocks (SqlHelper).







