Click here to Skip to main content
15,894,646 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Gridview refreshes Pin
m@dhu22-Feb-10 23:59
m@dhu22-Feb-10 23:59 
AnswerRe: Gridview refreshes Pin
Brij23-Feb-10 0:34
mentorBrij23-Feb-10 0:34 
QuestionDeserialize following Xml.???? Pin
ashishtango22-Feb-10 23:10
ashishtango22-Feb-10 23:10 
AnswerRe: Deserialize following Xml.???? Pin
Palash Biswas23-Feb-10 17:10
Palash Biswas23-Feb-10 17:10 
Questionconnectionstring Pin
arkiboys22-Feb-10 22:56
arkiboys22-Feb-10 22:56 
AnswerRe: connectionstring Pin
The Man from U.N.C.L.E.22-Feb-10 23:02
The Man from U.N.C.L.E.22-Feb-10 23:02 
GeneralRe: connectionstring Pin
arkiboys22-Feb-10 23:44
arkiboys22-Feb-10 23:44 
AnswerRe: connectionstring Pin
Sanjay Jaiswal 123456723-Feb-10 1:20
Sanjay Jaiswal 123456723-Feb-10 1:20 
 <asp:DropDownList ID="ddl" runat="server"></asp:DropDownList>

ConnectionStringSettingsCollection a = ConfigurationManager.ConnectionStrings;
        ListItem lst = new ListItem();
        foreach (ConnectionStringSettings s in a)
        {
            lst = new ListItem(s.ConnectionString, s.ConnectionString);
            ddl.Items.Add(lst);
        }
        ddl.Items.RemoveAt(0);

you can use any loop once it is populated in ConnectionStringSettingsCollection.
it populates one connection string from machine.config file. so i have removed 1st one.

Hope this will be helpful for u. Laugh | :laugh:
QuestionHandling database locally using Cache Pin
sjs4u22-Feb-10 21:28
sjs4u22-Feb-10 21:28 
AnswerRe: Handling database locally using Cache Pin
Chetan Patel22-Feb-10 21:40
Chetan Patel22-Feb-10 21:40 
GeneralRe: Handling database locally using Cache Pin
sjs4u22-Feb-10 21:53
sjs4u22-Feb-10 21:53 
QuestionRepeater Control! Pin
Sr...Frank22-Feb-10 20:43
Sr...Frank22-Feb-10 20:43 
AnswerRe: Repeater Control! Pin
m@dhu22-Feb-10 21:19
m@dhu22-Feb-10 21:19 
AnswerRe: Repeater Control! Pin
R. Giskard Reventlov22-Feb-10 21:20
R. Giskard Reventlov22-Feb-10 21:20 
Questionapplication object Pin
santhosh-padamatinti22-Feb-10 20:17
santhosh-padamatinti22-Feb-10 20:17 
AnswerRe: application object Pin
m@dhu22-Feb-10 20:37
m@dhu22-Feb-10 20:37 
GeneralRe: application object Pin
Chetan Patel22-Feb-10 21:44
Chetan Patel22-Feb-10 21:44 
AnswerRe: application object Pin
enjoycrack22-Feb-10 21:55
enjoycrack22-Feb-10 21:55 
QuestionHow to change the drag highlight style while drag and drop using webparts? Pin
damubooks22-Feb-10 19:54
damubooks22-Feb-10 19:54 
Questionforms authentication problem in mozilla Pin Pin
rahuuul1722-Feb-10 19:40
rahuuul1722-Feb-10 19:40 
Answersame person Pin
Not Active22-Feb-10 21:10
mentorNot Active22-Feb-10 21:10 
GeneralRe: same person Pin
rahuuul1722-Feb-10 22:05
rahuuul1722-Feb-10 22:05 
Questionforms authentication problem in mozilla Pin
Amit Spadez22-Feb-10 19:38
professionalAmit Spadez22-Feb-10 19:38 
AnswerMessage Removed Pin
22-Feb-10 19:42
rahuuul1722-Feb-10 19:42 
GeneralRe: forms authentication problem in mozilla Pin
Not Active22-Feb-10 21:07
mentorNot Active22-Feb-10 21:07 

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.