Hi Gilles,
That's exactly what I was asking for, I guess it's the same solution that Alexey proposed, but this mail has make it clearer for me.
Thanks a lot :)
Pablo.
PD: Sorry for attaching my company's vCard before, I think I've removed it now.
Some clarifications, there's no username/pass in the providers.config only in the sqlMap.config
You must put the login/pass in the connectionsString of the dataSource element <dataSource connectionString="..." .../ > but if it is left empty, it's not a problem as you can assign the connectionSting of the datasource via the code as in just after the call to sqlMap = SqlMapper.Configure() you can access the connection string property by sqlMap.DataSource.ConnectionString, you can fill it at this time.
-Cheers
Gilles