Click here to Skip to main content
15,902,447 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
The data is pulled from the database. Which makes its selection for the row through the variable data it gets from the session:

Session("data") = "B" 'selects all "B" like rows in database
Works fine on my material label as I use:

<asp:Label ID="materialLabel" runat="server" text='<%# Eval("material") %>'></asp:Label>

The code for the buttons however is called on the Page_Load, where I use the loop.

I will need a loop for the buttons because I need to assign a new Session value for each one after they are pressed, as they will redirect to a new page which will display the information of the selected material.
And it wouldn't be efficient to create a LinkButton_Click handler for each one, as some pages may have 10 or more buttons.

I also checked now in Debug and the buttons actually get assigned the right value, but it want display on the buttons on the site.

If you know another or better solution let me know.
Thanks for your efforts by the way!






-- modified at 21:31 Tuesday 10th April, 2007
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 
GeneralRe: Repaint causes CPU loading and failed test Pin
KevinMac10-Apr-07 15:16
KevinMac10-Apr-07 15:16 
GeneralRe: Repaint causes CPU loading and failed test Pin
VFaul13-Apr-07 3:14
VFaul13-Apr-07 3:14 
GeneralRe: Repaint causes CPU loading and failed test Pin
KevinMac13-Apr-07 3:47
KevinMac13-Apr-07 3:47 
QuestionVB.NET Dynamic WebServices URL Pin
BarcodeMike110-Apr-07 3:30
BarcodeMike110-Apr-07 3:30 
AnswerRe: VB.NET Dynamic WebServices URL Pin
<b<font color="#6EA3C4">MILAN@Cybage10-Apr-07 19:05
<b<font color="#6EA3C4">MILAN@Cybage10-Apr-07 19:05 
Questiondate fomat Pin
amaneet10-Apr-07 2:22
amaneet10-Apr-07 2:22 

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.