From: Carlos G. A. <car...@te...> - 2003-10-01 15:13:33
|
Hello: I think i have a sample working now ( i have made a test with SqlClient and it works too ) : DataSet ds = new DataSet("Areas"); adapter.TableMappings.Add("Areas", "BugAreas"); adapter.TableMappings["Areas"].ColumnMappings.Add("IDAREA", "Id"); adapter.TableMappings["Areas"].ColumnMappings.Add("NAME", "Nombre"); adapter.Fill(ds, "Areas"); Console.WriteLine(ds.Tables["BugAreas"].Rows[0]["Nombre"]); Please tell to me if this is what you need to do :). -- Best regards Carlos Guzmán Álvarez Vigo-Spain |