  Tonight I finished the installation,  configuration and development of mi first ASP. NET app on Mono 1. 0.  It really was a very simple exercise that made a query to MySql and showed it in the web page,  so,
 here's my code.  Note:  I had to change "  "  to "  and "
 ASP [  Page language= c#  Codebehind= mysqltest. aspx.
cs"  AutoEventWireup= false"  Inherits= ricalo. mysqltest"
 %  [ DOCTYPE HTML PUBLIC " W3C/ DTD HTML 4. 0 Transitional/
EN"  ]  [ html]  [ head]
 [ title] Test[ title]  [ meta name=
GENERATOR"  Content= Microsoft Visual Studio 7. 0"  [ meta name=
CODE_LANGUAGE"  Content= C#  [ meta name= vs_defaultClientScript"
 content= JavaScript"  [ meta name= vs_targetSchema"  content=
 urlLink http: schemas. microsoft. com/ intellisense/ ie5 "
 [ head]  [ body]  [ form id=
Form1"  method= post"  runat= server"  [
p]  Campo 1 del Renglon1 en base de datos urlLink dev@ localhost: br/  ]  [
asp: Label id= Label1"  runat= server" asp:
Label] p]  [ form]  [ body]
 [ html]  CodeBehind using System;  using System. Data;  using System.
Web;  using System. Web. UI;  using System. Web.
UI. HtmlControls;  using System. Web. UI. WebControls;
 using System. Drawing;  using MySql =  ByteFX. Data. MySqlClient;
 namespace ricalo {  public class mysqltest :  System. Web. UI. Page {
 protected Label Label1;  private void Page_Load( object sender,  System. EventArgs e)  {
 MySql. MySqlConnection conn;  MySql. MySqlCommand cmd;  string strConn;  string strCmd;
 strConn =  " User ID= root; Password= pass@
word1; Data Source= localhost; Initial Catalog= dev"  strCmd =
 " SELECT *  FROM Table1"  conn =  new MySql. MySqlConnection(
strConn)  cmd =  new MySql. MySqlCommand(  try {  cmd.
CommandType =  CommandType. Text;  cmd. CommandText =  strCmd;
 cmd. Connection =  conn;  conn. Open(  Label1.
Text =  ( string) cmd. ExecuteScalar(  }
 catch( Exception ex)  {  Console. WriteLine( Error:
 "  +  ex. Message)  }  finally {
 conn. Close(  conn. Dispose(  }  }
 private void InitializeComponent(  {  this. Load +  new System. EventHandler(
this. Page_Load)  }  override protected void OnInit( EventArgs e)  {
 InitializeComponent(  base. OnInit( e)  }  }
 }
