Click here to Skip to main content
15,900,378 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Does page execution stop on browser close event? Pin
rama charan8-May-07 21:10
rama charan8-May-07 21:10 
QuestionContent management Pin
VaibhavTiparadi8-May-07 20:09
VaibhavTiparadi8-May-07 20:09 
AnswerRe: Content management Pin
Sathesh Sakthivel8-May-07 20:17
Sathesh Sakthivel8-May-07 20:17 
QuestionTouch Screen System Pin
anrorathod8-May-07 19:30
anrorathod8-May-07 19:30 
QuestionBind DropdownList Pin
Mkanchha8-May-07 19:17
Mkanchha8-May-07 19:17 
AnswerRe: Bind DropdownList Pin
anrorathod8-May-07 19:35
anrorathod8-May-07 19:35 
GeneralRe: Bind DropdownList Pin
Mkanchha8-May-07 20:02
Mkanchha8-May-07 20:02 
AnswerRe: Bind DropdownList Pin
Sherin Iranimose8-May-07 19:54
Sherin Iranimose8-May-07 19:54 
Hi Friend,

You want to do following steps.
************************************************
1.Add a new SqlDataSource.
2.In the page load function give
SqlDataSource1.ConnectionString = "server=yourserver;Integrated Security=yes;Database=yourdatabase"
SqlDataSource1.SelectCommand = "SELECT [field1], [field2] FROM [yourdatabase]"

After these in the designe phase you should give connection to drop down list


<asp:DropDownList ID="DropDownList1" runat="server" Width="156px"
DataSourceID="SqlDataSource1" DataTextField="field1">

************************************************************
thats all....
try....







Sherin Iranimose

AnswerRe: Bind DropdownList Pin
Sherin Iranimose8-May-07 20:01
Sherin Iranimose8-May-07 20:01 
AnswerRe: Bind DropdownList Pin
qtuan8-May-07 23:40
qtuan8-May-07 23:40 
GeneralRe: Bind DropdownList Pin
Mkanchha8-May-07 23:56
Mkanchha8-May-07 23:56 
QuestionBinding Events to an UserControl Pin
Rajiya8-May-07 19:16
Rajiya8-May-07 19:16 
AnswerRe: Binding Events to an UserControl Pin
Sandeep Akhare8-May-07 19:28
Sandeep Akhare8-May-07 19:28 
GeneralRe: Binding Events to an UserControl Pin
Rajiya8-May-07 19:48
Rajiya8-May-07 19:48 
GeneralRe: Binding Events to an UserControl Pin
Sandeep Akhare8-May-07 19:59
Sandeep Akhare8-May-07 19:59 
GeneralRe: Binding Events to an UserControl Pin
Sandeep Akhare8-May-07 20:20
Sandeep Akhare8-May-07 20:20 
GeneralRe: Binding Events to an UserControl Pin
Rajiya10-May-07 19:30
Rajiya10-May-07 19:30 
QuestionHttp to Https Redirection Problem [modified] Pin
JustChiragPatel8-May-07 19:11
JustChiragPatel8-May-07 19:11 
AnswerRe: Http to Https Redirection Problem Pin
N a v a n e e t h8-May-07 23:07
N a v a n e e t h8-May-07 23:07 
QuestionHow to limit the length of TextBox when TextMode is Multiline Pin
ravi_chandra8-May-07 18:32
ravi_chandra8-May-07 18:32 
AnswerRe: How to limit the length of TextBox when TextMode is Multiline Pin
Sherin Iranimose8-May-07 19:12
Sherin Iranimose8-May-07 19:12 
Questionhow to make invisible comboBox visible in GridView Pin
AaronNeo8-May-07 18:11
AaronNeo8-May-07 18:11 
AnswerRe: how to make invisible comboBox visible in GridView Pin
Sathesh Sakthivel8-May-07 18:17
Sathesh Sakthivel8-May-07 18:17 
AnswerRe: how to make invisible comboBox visible in GridView Pin
Sherin Iranimose8-May-07 18:22
Sherin Iranimose8-May-07 18:22 
GeneralRe: how to make invisible comboBox visible in GridView Pin
AaronNeo8-May-07 22:58
AaronNeo8-May-07 22:58 

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.