Click here to Skip to main content
15,915,328 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRe: active window title Pin
GuildfordG10-Apr-07 19:32
GuildfordG10-Apr-07 19:32 
AnswerRe: active window title Pin
Dave Kreskowiak11-Apr-07 5:26
mveDave Kreskowiak11-Apr-07 5:26 
QuestionSystem.Management Pin
amaneet10-Apr-07 18:44
amaneet10-Apr-07 18:44 
AnswerRe: System.Management Pin
Dave Kreskowiak11-Apr-07 5:22
mveDave Kreskowiak11-Apr-07 5:22 
QuestionA Question about time processing in vb.net Pin
thanhtc24910-Apr-07 16:57
thanhtc24910-Apr-07 16:57 
AnswerRe: A Question about time processing in vb.net Pin
Christian Graus10-Apr-07 17:13
protectorChristian Graus10-Apr-07 17:13 
AnswerRe: A Question about time processing in vb.net Pin
amaneet10-Apr-07 18:37
amaneet10-Apr-07 18:37 
QuestionLooping through buttons and assign names Pin
TAK7810-Apr-07 12:34
TAK7810-Apr-07 12:34 
Hi!
I have a DataList which pulls info from the database and assigns the values into the labels. Now each row also includes a button, and I try to assign the text value to the buttons from the labels text, but I can't get it to work.
Here is the code I got:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

For i As Integer = 0 To DataList1.Items.Count - 1

Dim linktext As String
linktext = (CType(Me.DataList1.Items(i).FindControl("materialLabel"), Label).Text)

CType(Me.DataList1.Items(i).FindControl("LinkButton"), LinkButton).Text = linktext

Next

End Sub
AnswerRe: Looping through buttons and assign names Pin
Christian Graus10-Apr-07 13:31
protectorChristian Graus10-Apr-07 13:31 
GeneralRe: Looping through buttons and assign names Pin
TAK7810-Apr-07 14:09
TAK7810-Apr-07 14:09 
GeneralRe: Looping through buttons and assign names Pin
Christian Graus10-Apr-07 14:13
protectorChristian Graus10-Apr-07 14:13 
GeneralRe: Looping through buttons and assign names Pin
TAK7810-Apr-07 14:58
TAK7810-Apr-07 14:58 
GeneralRe: Looping through buttons and assign names Pin
Christian Graus10-Apr-07 15:05
protectorChristian Graus10-Apr-07 15:05 
GeneralRe: Looping through buttons and assign names [modified] Pin
TAK7810-Apr-07 15:22
TAK7810-Apr-07 15:22 
GeneralRe: Looping through buttons and assign names Pin
Christian Graus10-Apr-07 17:07
protectorChristian Graus10-Apr-07 17:07 
QuestionLooking for a scheduler plug in Pin
NewbieDave10-Apr-07 7:54
NewbieDave10-Apr-07 7:54 
QuestionCan VBScript be converted to VB.NET? Pin
Zach Burnett10-Apr-07 6:31
Zach Burnett10-Apr-07 6:31 
AnswerRe: Can VBScript be converted to VB.NET? Pin
Tim Carmichael10-Apr-07 10:30
Tim Carmichael10-Apr-07 10:30 
GeneralRe: Can VBScript be converted to VB.NET? Pin
Zach Burnett11-Apr-07 5:48
Zach Burnett11-Apr-07 5:48 
QuestionError: The value for column 'x' in table 'x' is DBNull. Pin
CCG310-Apr-07 6:29
CCG310-Apr-07 6:29 
AnswerRe: Error: The value for column 'x' in table 'x' is DBNull. Pin
J$10-Apr-07 8:32
J$10-Apr-07 8:32 
GeneralRe: Error: The value for column 'x' in table 'x' is DBNull. Pin
CCG310-Apr-07 8:54
CCG310-Apr-07 8:54 
Questionhyperterminal to front end Pin
manni_n10-Apr-07 4:18
manni_n10-Apr-07 4:18 
QuestionRepaint causes CPU loading and failed test Pin
VFaul10-Apr-07 3:39
VFaul10-Apr-07 3:39 
AnswerRe: Repaint causes CPU loading and failed test Pin
KevinMac10-Apr-07 15:14
KevinMac10-Apr-07 15:14 

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.