Click here to Skip to main content
15,913,773 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: about dropdownlist Pin
Rajeshwar Code- Developer13-Aug-09 21:49
Rajeshwar Code- Developer13-Aug-09 21:49 
GeneralRe: about dropdownlist Pin
Abhijit Jana13-Aug-09 21:51
professionalAbhijit Jana13-Aug-09 21:51 
GeneralRe: about dropdownlist Pin
Rajeshwar Code- Developer13-Aug-09 21:55
Rajeshwar Code- Developer13-Aug-09 21:55 
GeneralRe: about dropdownlist Pin
Abhijit Jana13-Aug-09 22:02
professionalAbhijit Jana13-Aug-09 22:02 
GeneralRe: about dropdownlist Pin
Rajeshwar Code- Developer13-Aug-09 22:05
Rajeshwar Code- Developer13-Aug-09 22:05 
AnswerRe: about dropdownlist Pin
Suresh Suthar13-Aug-09 22:07
professionalSuresh Suthar13-Aug-09 22:07 
GeneralRe: about dropdownlist Pin
Rajeshwar Code- Developer13-Aug-09 22:21
Rajeshwar Code- Developer13-Aug-09 22:21 
AnswerRe: about dropdownlist Pin
Abhishek Sur13-Aug-09 22:32
professionalAbhishek Sur13-Aug-09 22:32 
When page loads, first Bind the Data with the dllCountry. Choose appropriate DataTextField and DataValueField.

Now after you finish your load using DataBind, use this.dllCountry.SelectedValue with the DataValueField you want.

Also please check if you have wrote
If(IsPostBack)return; in the Form_Load, so that when the page is posted back the selection remains.

Thumbs Up | :thumbsup:

Abhishek Sur

My Latest Articles
Create CLR objects in SQL Server 2005
C# Uncommon Keywords
Read/Write Excel using OleDB

Don't forget to click "Good Answer" if you like to.

GeneralRe: about dropdownlist Pin
Abhijit Jana13-Aug-09 22:42
professionalAbhijit Jana13-Aug-09 22:42 
GeneralRe: about dropdownlist Pin
Abhishek Sur13-Aug-09 23:15
professionalAbhishek Sur13-Aug-09 23:15 
GeneralRe: about dropdownlist Pin
Rajeshwar Code- Developer13-Aug-09 23:21
Rajeshwar Code- Developer13-Aug-09 23:21 
GeneralRe: about dropdownlist Pin
Abhijit Jana13-Aug-09 23:43
professionalAbhijit Jana13-Aug-09 23:43 
QuestionHow to delete/update GridView using custom data access class Pin
Chesnokov Yuriy13-Aug-09 20:54
professionalChesnokov Yuriy13-Aug-09 20:54 
AnswerRe: How to delete/update GridView using custom data access class Pin
Vimalsoft(Pty) Ltd13-Aug-09 23:09
professionalVimalsoft(Pty) Ltd13-Aug-09 23:09 
QuestionDB is read-only error on the server Pin
Chesnokov Yuriy13-Aug-09 20:49
professionalChesnokov Yuriy13-Aug-09 20:49 
AnswerRe: DB is read-only error on the server Pin
Abhijit Jana13-Aug-09 20:52
professionalAbhijit Jana13-Aug-09 20:52 
GeneralRe: DB is read-only error on the server Pin
Chesnokov Yuriy13-Aug-09 20:59
professionalChesnokov Yuriy13-Aug-09 20:59 
GeneralRe: DB is read-only error on the server Pin
Chesnokov Yuriy13-Aug-09 21:01
professionalChesnokov Yuriy13-Aug-09 21:01 
Questionwebsite name Pin
kavinnagarajan13-Aug-09 20:34
kavinnagarajan13-Aug-09 20:34 
AnswerRe: website name Pin
Abhijit Jana13-Aug-09 20:46
professionalAbhijit Jana13-Aug-09 20:46 
AnswerRe: website name Pin
Suresh Suthar13-Aug-09 20:48
professionalSuresh Suthar13-Aug-09 20:48 
GeneralRe: website name Pin
Abhijit Jana13-Aug-09 20:49
professionalAbhijit Jana13-Aug-09 20:49 
AnswerRe: website name Pin
Abhijit Jana13-Aug-09 20:48
professionalAbhijit Jana13-Aug-09 20:48 
GeneralRe: website name Pin
Suresh Suthar13-Aug-09 21:06
professionalSuresh Suthar13-Aug-09 21:06 
GeneralRe: website name Pin
Abhijit Jana13-Aug-09 21:13
professionalAbhijit Jana13-Aug-09 21:13 

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.