This quick demo shows you how to format a string or a decimal into the correct Currency format as defined by the system. It also shows you how to use the System.Globalization.NumberFormatInfo class to alter the appearance of the formatting.
This program is a Web service, which contains Web methods that return a dataset after querying a database (any database) given the connection string, the password, the database, the table, the user ID and the SQL commands.
This code example will demonstrate how to send just an OleDb connection string and a SQL select statement to a web service, which returns a dataset that can be bound to a datagrid.