Re: How to Join a table with Other (result) Tables ? Complex one



Thx Guys, i found out..

Private Sub DataGrid1_ItemDataBound(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DataGridItemEventArgs) Handles
DataGrid1.ItemDataBound
If ((e.Item.ItemType <> ListItemType.Header) And (e.Item.ItemType <>
ListItemType.Footer)) Then
Dim MyLabel As Label
MyLabel = CType(e.Item.FindControl("lblStarRating"), Label)
Dim i As Int32
i = Convert.ToInt32(e.Item.Cells(3).Text)
Dim j As Int32 = 0
MyLabel.Text = ""
If i <= 0 Then
MyLabel.Text = "Be the first to rate it!"
Else
For j = 1 To i
'MyLabel.Text += "*"
MyLabel.Text += "<IMG id='IMG1' src='stars.gif' >"

Next
End If
End If

very simple instead of "*" i have placed the html tag to include the image...

Thx a lot for you help

.



Relevant Pages

  • Re: Sender Email id
    ... Thx for ur mail, ... With CDO I'm able to get the sender's email id. ... But if the sender is with in the domain, ... >> Like John Johnson instead of JohnJ@company.com ...
    (microsoft.public.outlook.program_vba)
  • return a value within an event
    ... Private Sub btnSave_Click(ByVal sender As System.Object, ... Thx ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • timer.start and thread
    ... Private Sub Timer1_Tick(ByVal sender As System.Object, ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: return a value within an event
    ... Private Function btnSave_Click(ByVal sender As System.Object, ... Thx ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Events Multi
    ... How can I now witch events happend in the code ... Private Sub btnToetsenbord1_Click(ByVal sender As System.Object, ... Thx ...
    (microsoft.public.dotnet.languages.vb)