Click here to Skip to main content
15,908,020 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSplit a String? Pin
Kasi Viswanathan29-Oct-07 2:05
Kasi Viswanathan29-Oct-07 2:05 
AnswerRe: Split a String? Pin
N a v a n e e t h29-Oct-07 2:09
N a v a n e e t h29-Oct-07 2:09 
AnswerRe: Split a String? Pin
ps.srinivasan29-Oct-07 2:21
ps.srinivasan29-Oct-07 2:21 
AnswerRe: Split a String? Pin
r a j u u29-Oct-07 2:57
r a j u u29-Oct-07 2:57 
AnswerRe: Split a String? Pin
Guffa29-Oct-07 3:37
Guffa29-Oct-07 3:37 
GeneralRe: Split a String? Pin
Kasi Viswanathan31-Oct-07 2:08
Kasi Viswanathan31-Oct-07 2:08 
QuestionRegarding use of class in tab control Pin
achichandu29-Oct-07 1:40
achichandu29-Oct-07 1:40 
QuestionBased on Tabe Record Have to bind arraylist and case statement..., Pin
Member 387988129-Oct-07 1:38
Member 387988129-Oct-07 1:38 
Hi I have declared static arraylist and its contained operations In Select Case (Url)...,
Now I like to display those based on table records...,
Plz any one help me how to fill that table records in this code...,
My Asp.Net code
Sub MenusLoad()
Dim _Text As ArrayList = New ArrayList
'Here From That Table MainDesc Have to Fill
_Text.Add("Admin")
_Text.Add("Gen.Master")
Dim ts As JQD.TabStrip = CType(Me.FindControl("TabStrip1"), JQD.TabStrip)
ts.TabText = _Text
'Here Based on that MainDesc, Link_Title Have to Fill
Dim _SubTabText As Hashtable = New Hashtable
_Text = New ArrayList
_Text.Add("User Rights-Group")
_Text.Add("User Rights-IND")
_SubTabText.Add(0, _Text)

_Text = New ArrayList
_Text.Add("Company")
_SubTabText.Add(1, _Text)
' Like This i am loding subtabs on here...,
ts.SubTabTextCol = _SubTabText
AddHandler ts.SelectionChanged, AddressOf Me.ts_SelectionChanged
End Sub
'Here based on that subtabs i am loding my url...,
Private Sub ts_SelectionChanged(ByVal sender As Object, ByVal e As JQD.TabStrip.SelectionChangedEventArgs)
Dim TabPos As Integer = e.TabPosition
Dim SubPos As Integer = e.SubTabPosition
Select Case (TabPos)
'Here Based On that MainDesc And Link_Title, Link_URL Have to Fill
Case 0
If (SubPos = 0) Then
src = "frmuserrights.aspx"
End If
If (SubPos = 1) Then
src = "frmAuthentication.aspx"
End If
Case 1
If (SubPos = 0) Then
src = "frmCompanyMasterDetails.aspx"
End If
End Select
Session("src") = src
End Sub

My Table:
SELECT dbo.tblAdminAuthenticationsub.userid, dbo.tblMainTab.MainId, dbo.tblMainTab.MainDesc,
dbo.tblAdminPageurl.Pageno, dbo.tblAdminPageurl.Link_Title, dbo.tblAdminPageurl.Link_URL
FROM dbo.tblAdminAuthenticationsub INNER JOIN dbo.tblAdminPageurl ON
dbo.tblAdminAuthenticationsub.pageno = dbo.tblAdminPageurl.Pageno INNER JOIN dbo.tblMainTab ON
dbo.tblAdminPageurl.MainId = dbo.tblMainTab.MainId WHERE dbo.tblAdminAuthenticationsub.userid = 10010053
order by dbo.tblMainTab.MainId

UserId MaiId MainDesc PageNo Link_Title Link_Url
10010053 1 Admin 102 Page Accumulation frmpageaccumulation.aspx
10010053 1 Admin 103 User Rights Old frmAuthentication.aspx
10010053 2 Gen.Master 152 Bank details of Company frmBankMasterForCompany.aspx
10010053 2 Gen.Master 153 Bank details of clients frmBankMasterForWorkOrder.aspx
10010053 3 HR 129 Activity Card frmtimecardmain.aspx
-- modified at 8:28 Monday 29th October, 2007

Regards,
Magi

AnswerRe: Plz Help Me..., Pin
N a v a n e e t h29-Oct-07 2:08
N a v a n e e t h29-Oct-07 2:08 
GeneralRe: Plz Help Me..., Pin
Member 387988129-Oct-07 2:39
Member 387988129-Oct-07 2:39 
AnswerRe: Plz Help Me..., Pin
Abhijit Jana29-Oct-07 2:13
professionalAbhijit Jana29-Oct-07 2:13 
Questionusing dropdownlist Pin
Rinki Mukheraji29-Oct-07 1:00
Rinki Mukheraji29-Oct-07 1:00 
AnswerRe: using dropdownlist Pin
InsDev29-Oct-07 1:06
InsDev29-Oct-07 1:06 
GeneralRe: using dropdownlist Pin
Rinki Mukheraji29-Oct-07 1:11
Rinki Mukheraji29-Oct-07 1:11 
GeneralRe: using dropdownlist Pin
InsDev29-Oct-07 1:22
InsDev29-Oct-07 1:22 
AnswerRe: using dropdownlist Pin
soni uma29-Oct-07 1:09
soni uma29-Oct-07 1:09 
GeneralRe: using dropdownlist Pin
Rinki Mukheraji29-Oct-07 1:12
Rinki Mukheraji29-Oct-07 1:12 
GeneralRe: using dropdownlist Pin
soni uma29-Oct-07 1:26
soni uma29-Oct-07 1:26 
GeneralRe: using dropdownlist Pin
Vipin.d29-Oct-07 2:57
Vipin.d29-Oct-07 2:57 
GeneralRe: using dropdownlist Pin
soni uma29-Oct-07 3:10
soni uma29-Oct-07 3:10 
GeneralRe: using dropdownlist Pin
Vipin.d29-Oct-07 3:21
Vipin.d29-Oct-07 3:21 
GeneralRe: using dropdownlist Pin
Rinki Mukheraji29-Oct-07 3:37
Rinki Mukheraji29-Oct-07 3:37 
QuestionGridView Insert with javascript Pin
sofiz.p29-Oct-07 0:54
sofiz.p29-Oct-07 0:54 
AnswerRe: GridView Insert with javascript Pin
N a v a n e e t h29-Oct-07 0:59
N a v a n e e t h29-Oct-07 0:59 
QuestionRe: GridView Insert with javascript Pin
sofiz.p29-Oct-07 20:19
sofiz.p29-Oct-07 20:19 

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.