Click here to Skip to main content
15,944,737 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionvs 2010 access files Pin
sc steinhayse15-May-12 5:24
sc steinhayse15-May-12 5:24 
AnswerRe: vs 2010 access files Pin
Not Active15-May-12 9:11
mentorNot Active15-May-12 9:11 
GeneralRe: vs 2010 access files Pin
sc steinhayse15-May-12 9:22
sc steinhayse15-May-12 9:22 
GeneralRe: vs 2010 access files Pin
Not Active15-May-12 9:27
mentorNot Active15-May-12 9:27 
QuestionHow to get items from SQL Server and add it to dropdown list ?? Pin
Pradip Gophane15-May-12 2:10
professionalPradip Gophane15-May-12 2:10 
AnswerRe: How to get items from SQL Server and add it to dropdown list ?? Pin
Pete O'Hanlon15-May-12 2:29
mvePete O'Hanlon15-May-12 2:29 
AnswerRe: How to get items from SQL Server and add it to dropdown list ?? Pin
Not Active15-May-12 3:19
mentorNot Active15-May-12 3:19 
AnswerRe: How to get items from SQL Server and add it to dropdown list ?? Pin
vvashishta15-May-12 20:27
vvashishta15-May-12 20:27 
Create a SQLDataClient obejcts to Interact With Database.. like SQLCommand, SQLConnection, SQLDataAdapter and one Datatable.

Write SQL Query and bind it with SQLCommand Object along with Type of Query either a Text or StoredProcedure. Then provide a Connection to that SQLCommand object.
And finally execute the query with ocmd.ExecuteNonQiery..


now put the output in Datatable like as:
oDA.SeelctCommand = oCmd;
oDA.Fill(oDT);

Now we have data in Data Table object (oDT).

No w bind it to your dropdown list..
like ddlTest.DataSource = oDT;
ddlTest.DataBind();
- Happy Coding -
Vishal Vashishta

QuestionSession value lost Pin
Member 378917315-May-12 0:47
Member 378917315-May-12 0:47 
SuggestionRe: Session value lost Pin
Not Active15-May-12 1:09
mentorNot Active15-May-12 1:09 
AnswerRe: Session value lost Pin
Sandeep Mewara15-May-12 1:34
mveSandeep Mewara15-May-12 1:34 
GeneralRe: Session value lost Pin
Member 378917318-May-12 20:34
Member 378917318-May-12 20:34 
AnswerRe: Session value lost Pin
jkirkerx15-May-12 10:42
professionaljkirkerx15-May-12 10:42 
GeneralRe: Session value lost Pin
Member 378917318-May-12 19:44
Member 378917318-May-12 19:44 
GeneralRe: Session value lost Pin
jkirkerx19-May-12 10:19
professionaljkirkerx19-May-12 10:19 
AnswerRe: Session value lost Pin
vvashishta15-May-12 20:33
vvashishta15-May-12 20:33 
GeneralRe: Session value lost Pin
Member 378917318-May-12 20:42
Member 378917318-May-12 20:42 
QuestionHow can i connect and insert data to oracle database without installing oracle client? Pin
buffering8314-May-12 22:25
buffering8314-May-12 22:25 
AnswerRe: How can i connect and insert data to oracle database without installing oracle client? Pin
Sandeep Mewara15-May-12 1:31
mveSandeep Mewara15-May-12 1:31 
GeneralRe: How can i connect and insert data to oracle database without installing oracle client? Pin
buffering8315-May-12 14:01
buffering8315-May-12 14:01 
QuestionGet List of google/yahoo groups in asp.net Pin
Muhammad Rashid Khan14-May-12 18:50
Muhammad Rashid Khan14-May-12 18:50 
AnswerRe: Get List of google/yahoo groups in asp.net Pin
Richard MacCutchan14-May-12 23:14
mveRichard MacCutchan14-May-12 23:14 
QuestionDiscussion For My ASP.NET MVC "Reusable Components" Question Pin
AspDotNetDev14-May-12 18:07
protectorAspDotNetDev14-May-12 18:07 
AnswerRe: Discussion For My ASP.NET MVC "Reusable Components" Question Pin
jkirkerx15-May-12 10:51
professionaljkirkerx15-May-12 10:51 
GeneralRe: Discussion For My ASP.NET MVC "Reusable Components" Question Pin
AspDotNetDev15-May-12 15:22
protectorAspDotNetDev15-May-12 15:22 

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.