Click here to Skip to main content
16,008,010 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to call/ name file slected Pin
Thomas Stockwell17-Apr-07 14:31
professionalThomas Stockwell17-Apr-07 14:31 
QuestionLink List in VB.Net Pin
nighthawk992317-Apr-07 10:35
nighthawk992317-Apr-07 10:35 
AnswerRe: Link List in VB.Net Pin
Tarakeshwar Reddy17-Apr-07 10:46
professionalTarakeshwar Reddy17-Apr-07 10:46 
QuestionRecord sound using vb.net and vb both Pin
ciacia17-Apr-07 9:47
ciacia17-Apr-07 9:47 
AnswerRe: Record sound using vb.net and vb both Pin
jim_taylor17-Apr-07 10:17
jim_taylor17-Apr-07 10:17 
QuestionHow to collect a print stream Pin
jim_taylor17-Apr-07 9:39
jim_taylor17-Apr-07 9:39 
AnswerRe: How to collect a print stream Pin
Dave Kreskowiak18-Apr-07 3:16
mveDave Kreskowiak18-Apr-07 3:16 
QuestionSetting mailto Pin
TAK7817-Apr-07 9:02
TAK7817-Apr-07 9:02 
I try to set text (pulled from Database) into a HyperLink and set it for an email.
Here is the code I try to use for it, but it only sets the "mailto" as string in front of it.

<asp:HyperLink ID="email" runat="server"
Text='<%# String.Format("mailto:{0}", Eval("email")) %>'></asp:HyperLink>

Using CommandArgument and couldn't set it in the LocationByArea_ItemCommand either

This is what I tryed:

Protected Sub LocationByArea_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.RepeaterCommandEventArgs) Handles LocationByArea.ItemCommand

If String.Compare(e.CommandName, "ListAreas", True) = 0 Then
Dim str As String = e.CommandArgument.ToString()
LocationAreas.SelectParameters("areaID").DefaultValue = e.CommandArgument.ToString()

For Each item As DataListItem In Me.DataList1.Items
Dim email As Object = CType(item.FindControl("email"), HyperLink)
email.NavigateUrl = "mailto:" & email.Text
Next
End If
End Sub

Any suggestions how I could solve this?
AnswerRe: Setting mailto Pin
Dave Kreskowiak17-Apr-07 9:50
mveDave Kreskowiak17-Apr-07 9:50 
QuestionProcessing Checkbox values in table Pin
krk101117-Apr-07 8:04
krk101117-Apr-07 8:04 
AnswerRe: Processing Checkbox values in table Pin
Dave Kreskowiak17-Apr-07 9:48
mveDave Kreskowiak17-Apr-07 9:48 
QuestionTest.sql cannot find my test Pin
reykentj17-Apr-07 7:40
reykentj17-Apr-07 7:40 
AnswerRe: Test.sql cannot find my test Pin
Dave Kreskowiak17-Apr-07 8:45
mveDave Kreskowiak17-Apr-07 8:45 
GeneralRe: Test.sql cannot find my test Pin
reykentj17-Apr-07 9:56
reykentj17-Apr-07 9:56 
QuestionVB.Net Print Queue Enumeration Pin
SQLDiablo17-Apr-07 5:47
SQLDiablo17-Apr-07 5:47 
GeneralRe: VB.Net Print Queue Enumeration Pin
SQLDiablo17-Apr-07 5:49
SQLDiablo17-Apr-07 5:49 
GeneralRe: VB.Net Print Queue Enumeration Pin
Tarakeshwar Reddy17-Apr-07 6:01
professionalTarakeshwar Reddy17-Apr-07 6:01 
AnswerRe: VB.Net Print Queue Enumeration Pin
Tim Carmichael17-Apr-07 6:03
Tim Carmichael17-Apr-07 6:03 
GeneralRe: VB.Net Print Queue Enumeration Pin
SQLDiablo18-Apr-07 2:53
SQLDiablo18-Apr-07 2:53 
GeneralRe: VB.Net Print Queue Enumeration Pin
SQLDiablo18-Apr-07 3:16
SQLDiablo18-Apr-07 3:16 
GeneralRe: VB.Net Print Queue Enumeration Pin
Tim Carmichael18-Apr-07 3:28
Tim Carmichael18-Apr-07 3:28 
QuestionRe: VB.Net Print Queue Enumeration Pin
SQLDiablo18-Apr-07 7:14
SQLDiablo18-Apr-07 7:14 
AnswerRe: VB.Net Print Queue Enumeration Pin
Tim Carmichael18-Apr-07 7:31
Tim Carmichael18-Apr-07 7:31 
GeneralRe: VB.Net Print Queue Enumeration Pin
SQLDiablo18-Apr-07 7:52
SQLDiablo18-Apr-07 7:52 
AnswerRe: VB.Net Print Queue Enumeration Pin
SQLDiablo18-Apr-07 8:55
SQLDiablo18-Apr-07 8:55 

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.