Someone123
New member
- Joined
- Apr 9, 2022
- Messages
- 2
- Programming Experience
- Beginner
I'm making a project through and I'm trying to add review feature in it.
I can add the review easily but I got stuck when I tried showing reviews.
It only shows 2-3 words from each reviews only.
I thought the datatable may have incomplete info but it had complete info after checking with msgbox
Then I used a existing label to check if it work and it did. It showed the whole review but
I always get trouble showing whole review when I try to add them dynamically.
I can add the review easily but I got stuck when I tried showing reviews.
It only shows 2-3 words from each reviews only.
I thought the datatable may have incomplete info but it had complete info after checking with msgbox
Then I used a existing label to check if it work and it did. It showed the whole review but
I always get trouble showing whole review when I try to add them dynamically.
VB.NET:
For i As Integer = 1 To noofreview
Dim label6 As New Label
label6.Location = New Point(xside, yside)
Label6.ForeColor = Color.White
Label6.Font = New Font("", 15, FontStyle.Regular)
dynamicPanel7.Controls.Add(Label6)
Label6.Text = datatable(i - 1)(0)
yside = yside + 30
Dim label8 As New Label
dynamicPanel7.Controls.Add(label8)
label8.Location = New Point(xside, yside)
Label8.ForeColor = Color.White
label8.Font = New Font("", 10, FontStyle.Regular)
label8.Text = datatable(i - 1)(1)
yside = yside + 50
Next