From 45e4ed0684b7208eadbfee065b436badc81bc59c Mon Sep 17 00:00:00 2001 From: Duncan Mak Date: Wed, 24 Jul 2002 17:54:38 +0000 Subject: [PATCH] Line up the titles. svn path=/trunk/gtk-sharp/; revision=6149 --- sample/DbClient/client.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sample/DbClient/client.cs b/sample/DbClient/client.cs index de132f768..5855c1d6f 100644 --- a/sample/DbClient/client.cs +++ b/sample/DbClient/client.cs @@ -85,7 +85,7 @@ class Client { ArrayList dataList = Conn.SelectAll (); - tableau = new Gtk.Table ((uint) dataList.Count + 1, 3, true); + tableau = new Gtk.Table ((uint) dataList.Count + 1, 3, false); DrawTitles (tableau); tableau.ColSpacings = 10; uint i = 1; @@ -114,12 +114,12 @@ class Client { label = new Label (String.Empty); label.Markup = "Name"; label.UseMarkup = true; - t.Attach (label, 0, 2, 0, 1); + t.Attach (label, 1, 2, 0, 1); label = new Label (String.Empty); label.Markup = "Address"; label.UseMarkup = true; - t.Attach (label, 0, 3, 0, 1); + t.Attach (label, 2, 3, 0, 1); } static void Db_Insert () @@ -299,7 +299,7 @@ class IdConnection : IDisposable public IdConnection () { cnc = new SqlConnection (); - string connectionString = "hostaddr=192.168.1.2;" + + string connectionString = "hostaddr=80.24.221.71;" + "user=monotest;" + "password=monotest;" + "dbname=monotest";