nein, ich habe im Designer eine SQLDatasource erstellt und dabei tauchte mein DB-Name auf. Der Designer fügt das dann der Web.config zu.
Ausprobiert.... und funktioniert :-) Chris > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Auftrag von Thomas Bandt > Gesendet: Mittwoch, 3. August 2005 15:20 > An: [email protected] > Betreff: RE: [Asp.net] AW: [Asp.net] AW: [Asp.net] Connectionstring für > Access MDB > > > hi, > > ist das irgendwo dokumentiert? > > gruß > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Chris > > Sent: Wednesday, August 03, 2005 2:48 PM > > To: [email protected] > > Subject: [Asp.net] AW: [Asp.net] AW: [Asp.net] > > Connectionstring für Access MDB > > > > Jetzt hab ichs... so gehts: > > > > <add name="dddd" > > connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data > > Source=|DataDirectory|\TarifeDb.mdb;Persist Security > > Info=True" > > providerName="System.Data.OleDb" /> > > > > > -----Ursprüngliche Nachricht----- > > > Von: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > > Auftrag von Pessner, Andreas > > > Gesendet: Mittwoch, 3. August 2005 14:39 > > > An: [email protected] > > > Betreff: [Asp.net] AW: [Asp.net] Connectionstring für Access MDB > > > > > > > > > Da Du den ja sowieso in ner Code Datei auslesen und > > verarbeiten wirst - würde ich in die Web.Config nur die wichtigsten > > > Daten - ab der Website rein nehmen - und ansonsten das in > > der Code Datei (CS/VB) verarbeiten. > > > > > > Server.Mappath(...) glaube ich war der Befehl dazu. > > > > > > -----Ursprüngliche Nachricht----- > > > Von: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Im Auftrag von Chris > > > Gesendet: Mittwoch, 3. August 2005 14:31 > > > An: [email protected] > > > Betreff: [Asp.net] Connectionstring für Access MDB > > > > > > Hallo, > > > > > > weiß jemand, wie ich den Connectionstring in der Web.config > > so definieren > > > kann, dass er relativ zum App-Verzeichnis ist? > > > > > > > > > Auf diese Weise sucht er unter > > C:\WINDOWS\system32\~\App_Data\TarifeDb.mdb > > > > > > <connectionStrings> > > > <add name="cnnTarife" > > connectionString="Provider=Microsoft.Jet.OLEDB.4.0; Data > > Source=~/App_Data/TarifeDb.mdb;" > > > providerName="Microsoft.Jet.OLEDB.4.0"/> > > > </connectionStrings> > > > > > > Chris > > > > > > _______________________________________________ > > > Asp.net Mailingliste, Postings senden an: > > > [email protected] > > > An-/Abmeldung und Suchfunktion unter: > > > http://www.glengamoi.com/mailman/listinfo/asp.net > > > > > > _______________________________________________ > > > Asp.net Mailingliste, Postings senden an: > > > [email protected] > > > An-/Abmeldung und Suchfunktion unter: > > > http://www.glengamoi.com/mailman/listinfo/asp.net > > > > _______________________________________________ > > Asp.net Mailingliste, Postings senden an: > > [email protected] > > An-/Abmeldung und Suchfunktion unter: > > http://www.glengamoi.com/mailman/listinfo/asp.net > > > > > _______________________________________________ > Asp.net Mailingliste, Postings senden an: > [email protected] > An-/Abmeldung und Suchfunktion unter: > http://www.glengamoi.com/mailman/listinfo/asp.net _______________________________________________ Asp.net Mailingliste, Postings senden an: [email protected] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/asp.net
