[ 01011011 @ 02.02.2006. 22:08 ] @
Warning 1 'System.Configuration.ConfigurationSettings.AppSettings' is obsolete: 'This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings' C:\Projekte\connvision\Sharepoint\Egl\Businesscard\Businesscard.ProcessManager\Businesscard.ProcessManager\MainForm.cs I SADA kada ovo skontam da se promjenilo u novoj verziji uradim sledece... Code: SqlConnection myConnection = new SqlConnection(System.Configuration.ConfigurationManager.AppSettings["RLIConnectionString2"].ToString()); i opet ne radi... onda mi daje ovaj error... - $exception {"Object reference not set to an instance of an object."} System.Exception {System.NullReferenceException} Na toj istoj liniji... ne kontam... u web.config fajlu imam.... Code: <add name="RLIConnectionString2" connectionString="Data Source=DIGIMON;Initial Catalog=RLI;Persist Security Info=True;User ID=sa;Password=********" providerName="System.Data.SqlClient" /> Sve bi trebalo da radi. ali i ipak ne :( Pomoc./.. umalo da ostavim apssword :) [Ovu poruku je menjao 01011011 dana 02.02.2006. u 23:08 GMT+1] |