Click here to Skip to main content
15,894,540 members
Home / Discussions / C#
   

C#

 
GeneralRe: Plase help me out !!! Pin
mrkeivan1-Apr-06 9:13
mrkeivan1-Apr-06 9:13 
QuestionDifference between XML and HTML Pin
Mohammad Daba'an31-Mar-06 20:18
Mohammad Daba'an31-Mar-06 20:18 
AnswerRe: Difference between XML and HTML Pin
Ravi Bhavnani31-Mar-06 20:36
professionalRavi Bhavnani31-Mar-06 20:36 
AnswerRe: Difference between XML and HTML Pin
Guffa31-Mar-06 20:44
Guffa31-Mar-06 20:44 
Questionproblem with dropdownlist Pin
Prashant Gadhave31-Mar-06 19:17
Prashant Gadhave31-Mar-06 19:17 
AnswerRe: problem with dropdownlist Pin
ricardojb31-Mar-06 19:39
ricardojb31-Mar-06 19:39 
GeneralRe: problem with dropdownlist Pin
Prashant Gadhave31-Mar-06 20:42
Prashant Gadhave31-Mar-06 20:42 
GeneralRe: problem with dropdownlist Pin
ricardojb1-Apr-06 13:09
ricardojb1-Apr-06 13:09 
you are doing that on Page_Load, that only runs when the page loads, that's why it updates when you refresh the page,

if you want to force it to update you need to call DataBind again.

I don't know how you are updating the database, You might need to set the autopostback of controls that update the database to true. In that case you won't need a separate call to the DataBind method because it's executed at the database level, however, it also depends on what you are doing the the dropdownlist, if you want to keep the selection the user makes you need to check the IsPostBack property and not bind the control every time the page loads,again, not knowing more is difficult to say how to do it.
QuestionDockable Panel in WinForms Pin
Majid Shahabfar31-Mar-06 18:30
Majid Shahabfar31-Mar-06 18:30 
AnswerRe: Dockable Panel in WinForms Pin
Ed.Poore31-Mar-06 22:14
Ed.Poore31-Mar-06 22:14 
Questionmulti-project solutions Pin
B I Khan31-Mar-06 17:52
B I Khan31-Mar-06 17:52 
AnswerRe: multi-project solutions Pin
ricardojb31-Mar-06 19:43
ricardojb31-Mar-06 19:43 
QuestionTELNET SESSION Pin
picasso231-Mar-06 15:34
picasso231-Mar-06 15:34 
AnswerRe: TELNET SESSION Pin
Ravi Bhavnani31-Mar-06 16:52
professionalRavi Bhavnani31-Mar-06 16:52 
QuestionC# ComboBox Questions Pin
jdnx31-Mar-06 14:40
jdnx31-Mar-06 14:40 
AnswerRe: C# ComboBox Questions Pin
ricardojb31-Mar-06 19:47
ricardojb31-Mar-06 19:47 
GeneralRe: C# ComboBox Questions Pin
jdnx1-Apr-06 1:27
jdnx1-Apr-06 1:27 
GeneralRe: C# ComboBox Questions Pin
jdnx1-Apr-06 21:07
jdnx1-Apr-06 21:07 
QuestionToolStripTextBox Pin
Sean8931-Mar-06 12:14
Sean8931-Mar-06 12:14 
AnswerRe: ToolStripTextBox Pin
ricardojb31-Mar-06 19:57
ricardojb31-Mar-06 19:57 
AnswerRe: ToolStripTextBox Pin
Ed.Poore31-Mar-06 22:16
Ed.Poore31-Mar-06 22:16 
GeneralRe: ToolStripTextBox Pin
Sean891-Apr-06 2:54
Sean891-Apr-06 2:54 
GeneralRe: ToolStripTextBox Pin
Ed.Poore1-Apr-06 8:48
Ed.Poore1-Apr-06 8:48 
QuestionDataSet.HasChanges won't become True Pin
MohammadAmiry31-Mar-06 11:42
MohammadAmiry31-Mar-06 11:42 
AnswerRe: DataSet.HasChanges won't become True Pin
Jimbo221-Apr-06 1:40
Jimbo221-Apr-06 1:40 

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.