I am not sure if this will help... So it is an asp.net application? If it is, then you can use Sessions. Every session is unique for each user
2009/7/3 Vineet <[email protected]> > > This is editing by the author himself: (since google groups doesn't > have edit facility) > ============================================ > The VB forms are in different projects. That's why I am wondering how > to store & retrieve database connection string in app.config > ---Vineet > ============================================= > On Jul 3, 9:51 am, vineet <[email protected]> wrote: > > Dear Friends, > > May I request for a small help regarding VB-MySQL ! > > I have ERP solution in VFP for medium scale businesses. > > I am now converting it to VB-MySQL. > > In this, different users need to login with their ID's. > > So, the connection string can't be defined while writing code. It will > > be different for each session (to be entered from login screen) > > Secondly, there are more that 100 VB.NET <http://vb.net/> forms, each > requiring > > connection string to MySQL. > > If we store conn string in app.config of a particular form, how other > > forms can retrieve it ? > > My query is that, where & how to store the connection string sothat -- > > 1) it will be available to all different VB.NET <http://vb.net/> forms, > and > > 2) connection string to MySQL will be different for every session. > > You are requested to throw some light on the above-mentioned task. > > Thanks, > > Vineet. >
