Click here to Skip to main content
15,910,878 members
Home / Discussions / C#
   

C#

 
Question(Nishant)plz solve this issue Pin
Nishant.Chauhan8011-Jun-14 21:58
Nishant.Chauhan8011-Jun-14 21:58 
AnswerRe: (Nishant)plz solve this issue Pin
Pete O'Hanlon11-Jun-14 22:19
mvePete O'Hanlon11-Jun-14 22:19 
GeneralRe: (Nishant)plz solve this issue Pin
Nishant.Chauhan8011-Jun-14 23:00
Nishant.Chauhan8011-Jun-14 23:00 
AnswerRe: (Nishant)plz solve this issue Pin
OriginalGriff11-Jun-14 22:39
mveOriginalGriff11-Jun-14 22:39 
GeneralRe: (Nishant)plz solve this issue Pin
Nishant.Chauhan8011-Jun-14 23:02
Nishant.Chauhan8011-Jun-14 23:02 
GeneralRe: (Nishant)plz solve this issue Pin
Pete O'Hanlon11-Jun-14 23:12
mvePete O'Hanlon11-Jun-14 23:12 
GeneralRe: (Nishant)plz solve this issue Pin
Nishant.Chauhan8011-Jun-14 23:21
Nishant.Chauhan8011-Jun-14 23:21 
GeneralRe: (Nishant)plz solve this issue Pin
OriginalGriff11-Jun-14 23:48
mveOriginalGriff11-Jun-14 23:48 
GeneralRe: (Nishant)plz solve this issue Pin
Nishant.Chauhan8011-Jun-14 23:54
Nishant.Chauhan8011-Jun-14 23:54 
GeneralRe:plz solve this issue Pin
Nishant.Chauhan8011-Jun-14 23:57
Nishant.Chauhan8011-Jun-14 23:57 
QuestionGetExternalLoginInfoAsync return null on server in google-plus auth in mvc5 Pin
aree21411-Jun-14 19:44
aree21411-Jun-14 19:44 
QuestionLoad .srt file into datagrid Pin
ZinusMero11-Jun-14 15:43
ZinusMero11-Jun-14 15:43 
AnswerRe: Load .srt file into datagrid Pin
Richard MacCutchan11-Jun-14 21:45
mveRichard MacCutchan11-Jun-14 21:45 
GeneralRe: Load .srt file into datagrid Pin
ZinusMero15-Jun-14 15:19
ZinusMero15-Jun-14 15:19 
AnswerRe: Load .srt file into datagrid Pin
joost.versteegen11-Jun-14 21:50
joost.versteegen11-Jun-14 21:50 
GeneralRe: Load .srt file into datagrid Pin
ZinusMero15-Jun-14 15:20
ZinusMero15-Jun-14 15:20 
Questioninline conditional asp.net c# Pin
greyhawk11-Jun-14 10:38
greyhawk11-Jun-14 10:38 
AnswerRe: inline conditional asp.net c# Pin
OriginalGriff11-Jun-14 21:37
mveOriginalGriff11-Jun-14 21:37 
AnswerRe: inline conditional asp.net c# Pin
Swinkaran12-Jun-14 15:51
professionalSwinkaran12-Jun-14 15:51 
The syntax is correct.

The reason is very simple. It is always showing "Inactive" because the Convert.ToInt32(Eval("Active"))may not have assigned a value. If you are reading this values from you class file. You need to check where you assign the value.

Explaining further, If you assign a value to the "Active" in or after Page_Load() event, that will not be reflected in your aspx page(unless you Rebind() the controls again). You need to consider the ASP.Net Page cycle and related events. The controls should be rendered and assigned in proper sequence.
QuestionObserver pattern for real time scenario Pin
Suraj Rai11-Jun-14 8:52
Suraj Rai11-Jun-14 8:52 
AnswerRe: Observer pattern for real time scenario Pin
Pete O'Hanlon11-Jun-14 10:04
mvePete O'Hanlon11-Jun-14 10:04 
Questionabstract class Pin
Member 1087879011-Jun-14 8:37
Member 1087879011-Jun-14 8:37 
AnswerRe: abstract class Pin
Pete O'Hanlon11-Jun-14 8:55
mvePete O'Hanlon11-Jun-14 8:55 
SuggestionRe: abstract class Pin
Richard Deeming11-Jun-14 9:15
mveRichard Deeming11-Jun-14 9:15 
GeneralRe: abstract class Pin
Pete O'Hanlon11-Jun-14 9:18
mvePete O'Hanlon11-Jun-14 9:18 

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.