Click here to Skip to main content
14,669,072 members
Home » Discussions » ASP.NET
   

ASP.NET

 
GeneralRe: Rowspan in html table according to the record from DB.... Pin
Brij17-Mar-10 2:25
mentorBrij17-Mar-10 2:25 
AnswerRe: Rowspan in html table according to the record from DB.... Pin
Member 450194017-Mar-10 2:27
MemberMember 450194017-Mar-10 2:27 
AnswerRe: Rowspan in html table according to the record from DB.... Pin
<<Tash18>>17-Mar-10 2:51
Member<<Tash18>>17-Mar-10 2:51 
GeneralRe: Rowspan in html table according to the record from DB.... Pin
Member 450194017-Mar-10 3:01
MemberMember 450194017-Mar-10 3:01 
GeneralRe: Rowspan in html table according to the record from DB.... Pin
<<Tash18>>17-Mar-10 19:32
Member<<Tash18>>17-Mar-10 19:32 
AnswerRe: Rowspan in html table according to the record from DB.... Pin
Member 450194018-Mar-10 4:39
MemberMember 450194018-Mar-10 4:39 
GeneralRe: Rowspan in html table according to the record from DB.... Pin
<<Tash18>>19-Mar-10 20:03
Member<<Tash18>>19-Mar-10 20:03 
AnswerRe: Rowspan in html table according to the record from DB.... Pin
<<Tash18>>19-Mar-10 21:10
Member<<Tash18>>19-Mar-10 21:10 
Thanx a lot i found another solution for my issue.... actually i used the following code to solve it...
i used String collection to store the value and checked it and printed the table accordingly

ElseIf page = "UserApplication" Then
            If DS.Tables(0).Rows.Count > 0 Then
                InsertPageBreak()
                InsertAppUserHeader()
                Dim nfile As StringCollection = New StringCollection
                Session("sc1") = nfile
                For i = 0 To DS.Tables(0).Rows.Count - 1
                    PopulateAppUsrRow(DS.Tables(0).Rows(i)(0), DS.Tables(0).Rows(i)(1), DS.Tables(0).Rows(i)(2), DS.Tables(0).Rows(i)(3), DS.Tables(0).Rows(i)(4))
                    'DataSetToExcel.Convert(DS, Response)
                Next


Now the Html table gets populated by the following code:

Public Sub PopulateAppUsrRow(ByVal Usrid As String, ByVal Usrname As String, ByVal Grpid As String, ByVal Grpdsc As String, ByVal FncDsc As String)
        If Not Session("sc1").Contains(Usrid) Then
            Session("sc1").Add(Usrid)
            Response.Write("<tr><td align=left>" + Usrid + "</td><td align=left >" + Usrname + "</td><td align=left >" + Grpid + "</td><td align=left >" + Grpdsc + "</td><td align=left >" + FncDsc + "</td></tr>")
        Else
            Response.Write("<tr><td align=left> </td><td align=left >" + Usrname + "</td><td align=left >" + Grpid + "</td><td align=left >" + Grpdsc + "</td><td align=left >" + FncDsc + "</td></tr>")
        End If
    End Sub


Im happy with this kinda output.. any advice is appreciated...

Thanx in advance...
Tash
Questionhow to give access to pages and for controls in asp.net2.0 with c# Pin
developerit17-Mar-10 1:19
Memberdeveloperit17-Mar-10 1:19 
AnswerRe: how to give access to pages and for controls in asp.net2.0 with c# Pin
Brij17-Mar-10 1:59
mentorBrij17-Mar-10 1:59 
GeneralRe: how to give access to pages and for controls in asp.net2.0 with c# Pin
developerit17-Mar-10 21:21
Memberdeveloperit17-Mar-10 21:21 
AnswerRe: how to give access to pages and for controls in asp.net2.0 with c# Pin
Abhijit Jana17-Mar-10 23:04
professionalAbhijit Jana17-Mar-10 23:04 
Questionhow to save image in database using asp.net with c# and display in image control Pin
developerit17-Mar-10 0:15
Memberdeveloperit17-Mar-10 0:15 
AnswerRe: how to save image in database using asp.net with c# and display in image control Pin
Abhijit Jana17-Mar-10 0:29
professionalAbhijit Jana17-Mar-10 0:29 
GeneralRe: how to save image in database using asp.net with c# and display in image control Pin
m@dhu17-Mar-10 0:32
Memberm@dhu17-Mar-10 0:32 
GeneralRe: how to save image in database using asp.net with c# and display in image control Pin
Abhijit Jana17-Mar-10 0:41
professionalAbhijit Jana17-Mar-10 0:41 
AnswerRe: how to save image in database using asp.net with c# and display in image control Pin
m@dhu17-Mar-10 0:30
Memberm@dhu17-Mar-10 0:30 
AnswerRe: how to save image in database using asp.net with c# and display in image control Pin
R. Giskard Reventlov17-Mar-10 0:31
MemberR. Giskard Reventlov17-Mar-10 0:31 
AnswerRe: how to save image in database using asp.net with c# and display in image control Pin
Brij17-Mar-10 0:33
mentorBrij17-Mar-10 0:33 
Questionhow to clear the fields of controls in asp.net with c# Pin
developerit17-Mar-10 0:03
Memberdeveloperit17-Mar-10 0:03 
AnswerRe: how to clear the fields of controls in asp.net with c# Pin
Neh.C17-Mar-10 0:20
MemberNeh.C17-Mar-10 0:20 
GeneralRe: how to clear the fields of controls in asp.net with c# Pin
developerit17-Mar-10 0:53
Memberdeveloperit17-Mar-10 0:53 
Questionsql profiler Pin
ishwarya mahadevan16-Mar-10 23:26
Memberishwarya mahadevan16-Mar-10 23:26 
AnswerRe: sql profiler Pin
Brij16-Mar-10 23:44
mentorBrij16-Mar-10 23:44 
AnswerRe: sql profiler Pin
Abhijit Jana16-Mar-10 23:47
professionalAbhijit Jana16-Mar-10 23:47 

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.