•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 423,648 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,143 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 5618 | Replies: 0
![]() |
•
•
Join Date: Jan 2005
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Hi All, Can someone please help me with this...I have a search page which searches for users on the database. I need to get the username first and last names and write them to another page. I am not sure how to do this. an someone please help....so far I have this on my code but it does not seem to work the way I want it to.
Private Sub btnSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSearch.Click
If Page.IsValid Then
If dbconnection(FirstName.Text, LastName.Text) = True Then
Response.Redirect("EmployeeProfile.aspx?FirstName&LastName =" & System.Web.HttpUtility.UrlEncode(FirstName.Text) & _
System.Web.HttpUtility.UrlEncode(LastName.Text))
Else
lblMessage.Text = "Invalid Name!"
End If
End If
End Sub![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- passing parameters in bat file (Visual Basic 4 / 5 / 6)
- Problem in passing parameters (Visual Basic 4 / 5 / 6)
- Passing parameters to a system call (Perl)
- passing parameters to a page (JavaScript / DHTML / AJAX)
- Passing Variables/Parameters - By Ref/Value? (Computer Science and Software Design)
Other Threads in the ASP Forum
- Previous Thread: change image one by one
- Next Thread: Include a file from another website


Linear Mode