Click here to Skip to main content
15,920,614 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Urgent - SSO sign out Pin
Abhishek Sur27-Aug-08 22:07
professionalAbhishek Sur27-Aug-08 22:07 
GeneralRe: Urgent - SSO sign out Pin
Nihal Chand28-Aug-08 1:24
Nihal Chand28-Aug-08 1:24 
QuestionInvoke a web service during installation of a web setup Pin
ravikalyan27-Aug-08 19:03
ravikalyan27-Aug-08 19:03 
AnswerRe: Invoke a web service during installation of a web setup Pin
Abhijit Jana27-Aug-08 19:36
professionalAbhijit Jana27-Aug-08 19:36 
QuestionDynamic Dropdown list Event (SelectedIndexChanged() ) is not firing Pin
Manikkuttan27-Aug-08 18:52
Manikkuttan27-Aug-08 18:52 
AnswerRe: Dynamic Dropdown list Event (SelectedIndexChanged() ) is not firing Pin
UD(IA)27-Aug-08 19:53
UD(IA)27-Aug-08 19:53 
AnswerRe: Dynamic Dropdown list Event (SelectedIndexChanged() ) is not firing Pin
milpo27-Aug-08 19:57
milpo27-Aug-08 19:57 
QuestionThis Probabaly has been asked before but not able to get solution of problem Pin
Rameez Raja27-Aug-08 17:18
Rameez Raja27-Aug-08 17:18 
Hi,all

i have created table Dynamically , and added the linkbutton control to table cells using the folowing code

Dim noOfTimes As Integer = 0
           dim CurrentName As String = Nothing

           Dim trow As TableRow = New TableRow
           For d = 0 To 31
               Dim tbcell As TableCell = New TableCell
               'Iterate to see which cells have a booking against a name
               If testarray(d) = Nothing Then
                   'No booking case
                   CurrentName = Nothing
                   tbcell.BackColor = Color.Yellow
               Else
                   'booking exists, find noOfTimes it is booked for same employee
                   CurrentName = testarray(d)

                   'search subsequent entries for same name
                   for j = d+1 to 31
                         '
                       if testarray(j) = CurrentName then
                         'same name repeated
                         noOfTimes = noOfTimes + 1
                      else
                         'name is not repeated, print name and advance d counter by number of times
                         Response.Write(" Span of " + noOfTimes.ToString() + " " + CurrentName )
                         d = d + noOfTimes
                         noOfTimes = 0
                         'exit for loop using the statement below
                         exit for
                      end if
                   next
                   'Here i added linkbutton code like
                  Dim lnbutton as linkbutton = new linkbutton
                  lnkbutton.text ="Click Here"
                   lnkbutton.postbackurl=""
                    tblcell.controls.add(lnkbutton)

                   tbcell.BackColor = Color.Green
                   tbcell.ColumnSpan = noOfTimes
               End If

               tbcell.Text = " "
               trow.Cells.Add(tbcell)
           Next

           Table1.Rows.Add(trow)
       Next


Linkbutton control is not added to table cells

Please suggest me where iam doing mistake and where i have to put linkbutton code .
any article or help is highly appericated.


Best Regards
Rameez

Thanks in advance
AnswerRe: This Probabaly has been asked before but not able to get solution of problem Pin
N a v a n e e t h27-Aug-08 19:40
N a v a n e e t h27-Aug-08 19:40 
GeneralRe: This Probabaly has been asked before but not able to get solution of problem Pin
Rameez Raja27-Aug-08 21:22
Rameez Raja27-Aug-08 21:22 
GeneralRe: This Probabaly has been asked before but not able to get solution of problem Pin
N a v a n e e t h27-Aug-08 22:34
N a v a n e e t h27-Aug-08 22:34 
QuestionConnection Timeout from one website but NO problem from another Pin
hasanali0027-Aug-08 12:52
hasanali0027-Aug-08 12:52 
AnswerRe: Connection Timeout from one website but NO problem from another Pin
D4ever31-Aug-08 0:09
D4ever31-Aug-08 0:09 
GeneralRe: Connection Timeout from one website but NO problem from another Pin
hasanali0031-Aug-08 0:17
hasanali0031-Aug-08 0:17 
GeneralRe: Connection Timeout from one website but NO problem from another Pin
D4ever31-Aug-08 0:20
D4ever31-Aug-08 0:20 
QuestionBrowser settings Pin
Brij27-Aug-08 8:02
mentorBrij27-Aug-08 8:02 
AnswerRe: Browser settings Pin
Abhishek Sur27-Aug-08 12:00
professionalAbhishek Sur27-Aug-08 12:00 
GeneralRe: Browser settings Pin
Abhijit Jana27-Aug-08 17:56
professionalAbhijit Jana27-Aug-08 17:56 
GeneralRe: Browser settings Pin
Brij27-Aug-08 18:15
mentorBrij27-Aug-08 18:15 
AnswerRe: Browser settings Pin
D4ever28-Aug-08 8:58
D4ever28-Aug-08 8:58 
Question"Export the Data from gridview to Excel". Pin
Rajeshwary27-Aug-08 7:27
Rajeshwary27-Aug-08 7:27 
AnswerRe: "Export the Data from gridview to Excel". Pin
Bassam Saoud27-Aug-08 10:37
Bassam Saoud27-Aug-08 10:37 
QuestionCannot use a leading .. to exit above the top directory. Pin
lune1227-Aug-08 6:15
lune1227-Aug-08 6:15 
AnswerRe: Cannot use a leading .. to exit above the top directory. Pin
Brij27-Aug-08 7:04
mentorBrij27-Aug-08 7:04 
GeneralRe: Cannot use a leading .. to exit above the top directory. Pin
lune1227-Aug-08 8:53
lune1227-Aug-08 8:53 

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.