Click here to Skip to main content
15,314,282 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Need to understand a signalr chatting code Pin
Tridip Bhattacharjee12-Jan-15 20:40
professionalTridip Bhattacharjee12-Jan-15 20:40 
AnswerRe: Need to understand a signalr chatting code Pin
Dar Brett13-Jan-15 3:06
MemberDar Brett13-Jan-15 3:06 
QuestionGIF image as progressbar using AJAX modalpopupExtender Pin
sudevsu8-Jan-15 5:17
Membersudevsu8-Jan-15 5:17 
AnswerRe: GIF image as progressbar using AJAX modalpopupExtender Pin
jkirkerx8-Jan-15 7:30
professionaljkirkerx8-Jan-15 7:30 
GeneralRe: GIF image as progressbar using AJAX modalpopupExtender Pin
sudevsu8-Jan-15 10:21
Membersudevsu8-Jan-15 10:21 
GeneralRe: GIF image as progressbar using AJAX modalpopupExtender Pin
jkirkerx8-Jan-15 11:49
professionaljkirkerx8-Jan-15 11:49 
AnswerRe: GIF image as progressbar using AJAX modalpopupExtender Pin
Vimalsoft(Pty) Ltd12-Jan-15 20:51
professionalVimalsoft(Pty) Ltd12-Jan-15 20:51 
QuestionIf else condition fails, in VB.net Pin
sudevsu7-Jan-15 8:33
Membersudevsu7-Jan-15 8:33 
Hello Experts,

I am wondering if anyone in here can help me understand this simple concept.
if ddl="abc" and fileuplaod1.HasFile Then
   	UploadFile
   	Bool=true
Else if ddl="abc" and FileUpload1.HasFile=false Then
   	Alert asking for fileupload
	Bool=false
Else
	Bool=True

If Bool=True then 
DataBind to Gridview


So in here my second condition executes though one of them is false. How can I stop that?
Your help is much appreciated.
Thanks
Happy Coding!

GeneralRe: If else condition fails, in VB.net Pin
PIEBALDconsult7-Jan-15 9:00
professionalPIEBALDconsult7-Jan-15 9:00 
GeneralRe: If else condition fails, in VB.net Pin
sudevsu7-Jan-15 9:14
Membersudevsu7-Jan-15 9:14 
GeneralRe: If else condition fails, in VB.net Pin
sudevsu7-Jan-15 9:42
Membersudevsu7-Jan-15 9:42 
GeneralRe: If else condition fails, in VB.net Pin
PIEBALDconsult7-Jan-15 9:44
professionalPIEBALDconsult7-Jan-15 9:44 
AnswerRe: If else condition fails, in VB.net Pin
sudevsu7-Jan-15 10:05
Membersudevsu7-Jan-15 10:05 
GeneralRe: If else condition fails, in VB.net Pin
Vimalsoft(Pty) Ltd12-Jan-15 0:29
professionalVimalsoft(Pty) Ltd12-Jan-15 0:29 
GeneralRe: If else condition fails, in VB.net Pin
sudevsu12-Jan-15 2:38
Membersudevsu12-Jan-15 2:38 
GeneralRe: If else condition fails, in VB.net Pin
Vimalsoft(Pty) Ltd12-Jan-15 3:42
professionalVimalsoft(Pty) Ltd12-Jan-15 3:42 
GeneralRe: If else condition fails, in VB.net Pin
sudevsu12-Jan-15 4:32
Membersudevsu12-Jan-15 4:32 
GeneralRe: If else condition fails, in VB.net Pin
Vimalsoft(Pty) Ltd12-Jan-15 5:12
professionalVimalsoft(Pty) Ltd12-Jan-15 5:12 
AnswerRe: If else condition fails, in VB.net Pin
ZurdoDev7-Jan-15 9:11
professionalZurdoDev7-Jan-15 9:11 
QuestionError on clicking Linkbutton of Gridview Pin
sudevsu7-Jan-15 6:47
Membersudevsu7-Jan-15 6:47 
AnswerRe: Error on clicking Linkbutton of Gridview Pin
sudevsu7-Jan-15 7:15
Membersudevsu7-Jan-15 7:15 
AnswerRe: Error on clicking Linkbutton of Gridview Pin
Atish K. Singh26-Jan-15 21:58
professionalAtish K. Singh26-Jan-15 21:58 
QuestionSimple Table Reservation Pin
Vmortis7-Jan-15 2:26
MemberVmortis7-Jan-15 2:26 
AnswerRe: Simple Table Reservation Pin
sudevsu7-Jan-15 6:50
Membersudevsu7-Jan-15 6:50 
GeneralRe: Simple Table Reservation Pin
Vmortis12-Jan-15 6:14
MemberVmortis12-Jan-15 6:14 

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.