Click here to Skip to main content
15,917,702 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: H-E-L-P Pin
LatinoKid25-May-07 10:12
LatinoKid25-May-07 10:12 
GeneralRe: H-E-L-P Pin
Christian Graus25-May-07 10:26
protectorChristian Graus25-May-07 10:26 
QuestionWord Wrap in GridView Cell Pin
SNarayanan25-May-07 5:08
SNarayanan25-May-07 5:08 
AnswerRe: Word Wrap in GridView Cell Pin
www.Developerof.NET26-May-07 3:22
www.Developerof.NET26-May-07 3:22 
QuestionAjax Problem Pin
Khan.Bangash25-May-07 4:49
Khan.Bangash25-May-07 4:49 
AnswerRe: Ajax Problem Pin
badgrs25-May-07 9:03
badgrs25-May-07 9:03 
AnswerRe: Ajax Problem Pin
Christian Graus25-May-07 10:09
protectorChristian Graus25-May-07 10:09 
QuestionDefine a namespace for the WebPage in .NET 2.0 Pin
Ilia Blank25-May-07 4:30
Ilia Blank25-May-07 4:30 
QuestionCustom DropDownList Pin
John Gathogo25-May-07 2:40
John Gathogo25-May-07 2:40 
AnswerRe: Custom DropDownList Pin
doWhileSomething26-May-07 11:41
doWhileSomething26-May-07 11:41 
GeneralRe: Custom DropDownList Pin
John Gathogo28-May-07 4:13
John Gathogo28-May-07 4:13 
GeneralRe: Custom DropDownList Pin
doWhileSomething28-May-07 7:19
doWhileSomething28-May-07 7:19 
Questionerror while adding connectionstring dynamically Pin
mnarayana325-May-07 2:25
mnarayana325-May-07 2:25 
AnswerRe: error while adding connectionstring dynamically Pin
Sherin Iranimose25-May-07 2:50
Sherin Iranimose25-May-07 2:50 
GeneralRe: error while adding connectionstring dynamically Pin
mnarayana325-May-07 2:58
mnarayana325-May-07 2:58 
GeneralRe: error while adding connectionstring dynamically Pin
mnarayana325-May-07 3:03
mnarayana325-May-07 3:03 
here is the code in home.aspx:

SqlDataSource ds = new SqlDataSource();

ds.ConnectionString = ConfigurationSettings.connectionStrings["ConnectionString2"].connectionString;
ds.SelectCommand = "SELECT DEPTNO, DNAME FROM DEPT1 where deptno=@deptno";

here is the code in web.config:

<connectionstrings>
<add name="ConnectionString" connectionstring="Data Source=localhost;Persist Security Info=True;User ID=hr;Password=narayana;Unicode=True"
="" providername="System.Data.OracleClient">
<add name="ConnectionString2" connectionstring="Data Source=localhost;Persist Security Info=True;User ID=hr;Password=narayana;Unicode=True"
="" providername="System.Data.OracleClient">


i alreadymentioned my error that what i am getting. try to help me asap. TIA
AnswerRe: error while adding connectionstring dynamically Pin
doWhileSomething26-May-07 11:44
doWhileSomething26-May-07 11:44 
Questiondrop down in grid view Pin
tauras8125-May-07 1:47
tauras8125-May-07 1:47 
AnswerRe: drop down in grid view Pin
Sherin Iranimose25-May-07 1:59
Sherin Iranimose25-May-07 1:59 
QuestionCan not connect to remote SQL server Pin
eahyde25-May-07 1:33
eahyde25-May-07 1:33 
QuestionGoogle search in aspx Pin
jithbiz003325-May-07 1:02
jithbiz003325-May-07 1:02 
AnswerRe: Google search in aspx Pin
Chetan Ranpariya25-May-07 1:10
Chetan Ranpariya25-May-07 1:10 
JokeRe: Google search in aspx Pin
Sandeep Akhare25-May-07 1:32
Sandeep Akhare25-May-07 1:32 
GeneralRe: Google search in aspx Pin
Chetan Ranpariya25-May-07 2:02
Chetan Ranpariya25-May-07 2:02 
QuestionFireFox Mozilla ....? Pin
PavanPareta25-May-07 1:00
PavanPareta25-May-07 1:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.