Click here to Skip to main content
15,891,607 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: FileUpload Control in Usercontrol Pin
Gamzun25-Nov-09 22:28
Gamzun25-Nov-09 22:28 
GeneralRe: FileUpload Control in Usercontrol Pin
Milind R Chavan25-Nov-09 22:30
Milind R Chavan25-Nov-09 22:30 
QuestionDoing Static Analysis, Profiling etc. with VSTS 2008 Dev. Edn. Pin
Reshma.R25-Nov-09 20:31
Reshma.R25-Nov-09 20:31 
AnswerRe: Doing Static Analysis, Profiling etc. with VSTS 2008 Dev. Edn. Pin
sashidhar25-Nov-09 20:33
sashidhar25-Nov-09 20:33 
QuestionGrid view Problem while displaying item template Pin
Amit Patel198525-Nov-09 20:11
Amit Patel198525-Nov-09 20:11 
AnswerRe: Grid view Problem while displaying item template Pin
Nishant Singh25-Nov-09 20:20
Nishant Singh25-Nov-09 20:20 
AnswerRe: Grid view Problem while displaying item template Pin
Vimalsoft(Pty) Ltd25-Nov-09 20:27
professionalVimalsoft(Pty) Ltd25-Nov-09 20:27 
AnswerRe: Grid view Problem while displaying item template Pin
Amit Patel198525-Nov-09 21:25
Amit Patel198525-Nov-09 21:25 
hi all ,

I am using the following thing
is_loggedin is boolean field in database.

for item template


<asp:TemplateField HeaderText="Activate/Deactivate">
<ItemTemplate>
<%# DisplayActive((int)Eval ("is_loggedin")) %>



</ItemTemplate>
</asp:TemplateField>


if (Active &gt; 0)
      {
          return "Active";
      }
      else
      {
          return "Deactive";
      }


but i m getting following exception

invalid cast exception is unhandled by code.

thanks,
amit
QuestionConsuming WCF service for development in advance? Pin
mittalpa25-Nov-09 18:52
mittalpa25-Nov-09 18:52 
AnswerRe: Cross Post - CP Member Please Ignore Pin
Abhijit Jana25-Nov-09 19:04
professionalAbhijit Jana25-Nov-09 19:04 
AnswerRe: Consuming WCF service for development in advance?[Modified] Pin
dan!sh 25-Nov-09 19:18
professional dan!sh 25-Nov-09 19:18 
Question[Message Deleted] Pin
mittalpa25-Nov-09 18:51
mittalpa25-Nov-09 18:51 
AnswerRe: Consuming WCF service for development in advance? Pin
Abhijit Jana25-Nov-09 19:06
professionalAbhijit Jana25-Nov-09 19:06 
QuestionProblem with Gridview Edit Button Pin
wr302825-Nov-09 18:01
wr302825-Nov-09 18:01 
AnswerRe: Problem with Gridview Edit Button Pin
Abhijit Jana25-Nov-09 18:24
professionalAbhijit Jana25-Nov-09 18:24 
GeneralRe: Problem with Gridview Edit Button Pin
wr302825-Nov-09 23:38
wr302825-Nov-09 23:38 
GeneralRe: Problem with Gridview Edit Button Pin
Abhijit Jana25-Nov-09 23:57
professionalAbhijit Jana25-Nov-09 23:57 
GeneralRe: Problem with Gridview Edit Button Pin
wr302826-Nov-09 2:06
wr302826-Nov-09 2:06 
AnswerRe: Problem with Gridview Edit Button Pin
Vimalsoft(Pty) Ltd25-Nov-09 21:21
professionalVimalsoft(Pty) Ltd25-Nov-09 21:21 
GeneralRe: Problem with Gridview Edit Button Pin
wr302826-Nov-09 19:18
wr302826-Nov-09 19:18 
GeneralRe: Problem with Gridview Edit Button Pin
Vimalsoft(Pty) Ltd26-Nov-09 19:40
professionalVimalsoft(Pty) Ltd26-Nov-09 19:40 
AnswerRe: Problem with Gridview Edit Button Pin
carlecomm26-Nov-09 15:10
carlecomm26-Nov-09 15:10 
GeneralRe: Problem with Gridview Edit Button Pin
wr302826-Nov-09 19:19
wr302826-Nov-09 19:19 
Questionhow to fill gridView from TextBox value in asp.net using javascript and Xml Pin
Member 359649725-Nov-09 17:33
Member 359649725-Nov-09 17:33 
AnswerRe: how to fill gridView from TextBox value in asp.net using javascript and Xml Pin
Abhijit Jana25-Nov-09 17:35
professionalAbhijit Jana25-Nov-09 17:35 

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.