Click here to Skip to main content
15,914,795 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questiondoes anyone have a combined tree & grid control? Pin
nred3331-Oct-04 18:01
nred3331-Oct-04 18:01 
AnswerRe: does anyone have a combined tree & grid control? Pin
bbt8031-Oct-04 18:49
bbt8031-Oct-04 18:49 
GeneralThreading help! Pin
kaptaintens31-Oct-04 11:31
kaptaintens31-Oct-04 11:31 
GeneralRe: Threading help! Pin
bl4ck1c331-Oct-04 13:37
bl4ck1c331-Oct-04 13:37 
GeneralRe: Threading help! Pin
kaptaintens31-Oct-04 13:46
kaptaintens31-Oct-04 13:46 
GeneralVb.Net & Yahoo Pin
Meysam.Khayatan31-Oct-04 8:56
Meysam.Khayatan31-Oct-04 8:56 
GeneralNested Loops Pin
compkitty729-Oct-04 5:43
compkitty729-Oct-04 5:43 
GeneralRe: Nested Loops Pin
Nicholas Cardi29-Oct-04 5:53
Nicholas Cardi29-Oct-04 5:53 
You might want to try an Exit Sub after each of the if traps. You might be getting stuck in your while loop after one of your conditions has been met.



While DR.Read()
'If i <= 3 0 Then
If User = DR("DTLoginID").ToString() And Pwd = DR("DTPassword").ToString() Then
Response.Redirect("Broadcast.aspx")
Exit Sub ''''<addded code="">>>>
ElseIf User = DR("DTLoginID").ToString() And Pwd <> DR("DTPassword").ToString() Then
MsgBox.alert("The Username and/or Password does not exist; Please Try Again")
Me.txtUser.Enabled = True
' i = i + 1
Exit Sub ''''<addded code="">>>>
ElseIf User <> DR("DTLoginID").ToString() And Pwd <> DR("DTPassword").ToString() Then
MsgBox.alert("The Username and/or Password does not exist; Please Try Again")
Me.txtUser.Enabled = True
' i = i + 1
Exit Sub ''''<addded code="">>>>
End If
'ElseIf i > 3 Then
'MsgBox.alert("No User Exist")
'Response.Redirect("Broadcast.aspx")
Exit Sub ''''<addded code="">>>>
' End If
End While

Best of luck

Forever Developing
GeneralRe: Nested Loops Pin
CotactMayur14-Nov-04 2:46
CotactMayur14-Nov-04 2:46 
GeneralRun-time,design-time component Pin
Edward Diener28-Oct-04 14:17
Edward Diener28-Oct-04 14:17 
GeneralListViewItem Height Pin
sridhar_india28-Oct-04 9:13
sridhar_india28-Oct-04 9:13 
GeneralRe: Killing a process Pin
YXZ28-Oct-04 7:22
YXZ28-Oct-04 7:22 
GeneralRe: Killing a process Pin
Stanciu Vlad29-Oct-04 5:00
Stanciu Vlad29-Oct-04 5:00 
GeneralRe: Killing a process Pin
YXZ29-Oct-04 9:53
YXZ29-Oct-04 9:53 
GeneralHelp Prob: not recognised as MDIContainer Pin
dazzler227-Oct-04 20:28
dazzler227-Oct-04 20:28 
GeneralKilling a process Pin
YXZ27-Oct-04 11:07
YXZ27-Oct-04 11:07 
GeneralRe: Killing a process Pin
Stanciu Vlad27-Oct-04 20:02
Stanciu Vlad27-Oct-04 20:02 
GeneralWindows Media Player v10 Color shading Pin
Tony D. Abel27-Oct-04 7:53
Tony D. Abel27-Oct-04 7:53 
GeneralSqlCEDataAdapter problem. How can I update ? Dataset has the changes. Pin
vasper27-Oct-04 3:27
professionalvasper27-Oct-04 3:27 
Generalcan't see events for my form Pin
sagmam26-Oct-04 1:06
sagmam26-Oct-04 1:06 
GeneralDeploying windows applications Pin
Britnt725-Oct-04 10:53
Britnt725-Oct-04 10:53 
GeneralRe: Deploying windows applications Pin
Steve Maier25-Oct-04 11:12
professionalSteve Maier25-Oct-04 11:12 
GeneralRe: Deploying windows applications Pin
Britnt726-Oct-04 2:02
Britnt726-Oct-04 2:02 
GeneralRe: Deploying windows applications Pin
Steve Maier26-Oct-04 5:31
professionalSteve Maier26-Oct-04 5:31 
GeneralRe: Deploying windows applications Pin
Britnt726-Oct-04 5:37
Britnt726-Oct-04 5:37 

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.