Click here to Skip to main content
15,888,803 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: image in image contol Pin
N a v a n e e t h12-Nov-07 20:10
N a v a n e e t h12-Nov-07 20:10 
GeneralRe: image in image contol Pin
Sonia Gupta12-Nov-07 20:22
Sonia Gupta12-Nov-07 20:22 
GeneralRe: image in image contol Pin
N a v a n e e t h12-Nov-07 21:35
N a v a n e e t h12-Nov-07 21:35 
AnswerRe: image in image contol Pin
InsDev12-Nov-07 20:21
InsDev12-Nov-07 20:21 
GeneralRe: image in image contol Pin
Sonia Gupta12-Nov-07 20:40
Sonia Gupta12-Nov-07 20:40 
GeneralRe: image in image contol Pin
N a v a n e e t h12-Nov-07 21:35
N a v a n e e t h12-Nov-07 21:35 
AnswerRe: Error to bind an array into a grid Pin
Michael Sync12-Nov-07 20:13
Michael Sync12-Nov-07 20:13 
QuestionBind Based on Id's..., [modified] Pin
Member 387988112-Nov-07 19:13
Member 387988112-Nov-07 19:13 
Hi based on my query i am getting records like this:
Id Name PNo PName Link
1 Admin 134 Admin Form1..aspx
2 Gen.M 106 Maste frmPr.aspx
3 Hum.R 165 HR123 frmwo.aspx
4 Salar 201 HRsal frmsa.aspx
7 Cashe 126 Cashe frmCa.aspx
8 Chequ 159 Cheqy frmch.aspx
9 Bills 161 Cash1 frmca.aspx

I can able to bind the Name field properly in that tabtext(arraylist)...,
Similarly i try to bind the Pnames based on the Name field...,

Still that 4th id i can able to bind Names and its Pnames records properly..,
After that id 5th & 6th is not there so its binded 7th,8th,9th Names...,

But here that pnames are not binded based on that Name field...,
Its left that 7th & 8th id, PNames...,
After that its binded that 7th Id PNames In 9th Id...,

How to solve that?,
This is my code:
For Each dr As DataRow In dt.Rows
If Not _Text.Contains(dr("Name").ToString) Then
_Text.Add(dr("Name").ToString)
End If
Next
ts = CType(Me.FindControl("TabStrip1"), JQD.TabStrip)
ts.TabText = _Text 'Binded Names Properly Here No probs
'Binding Pnames on here Getting probs on the following code
Dim _SubTabText As Hashtable = New Hashtable
_Text = New ArrayList
For Each tabtextobj As Object In ts.TabText
Dim tabtext As String = tabtextobj.ToString()
Dim drs() As DataRow = dt.Select("Name='" + tabtext + "'")
Dim _SubText As ArrayList = New ArrayList
For Each dr As DataRow In drs
_SubText.Add(dr("Link")).ToString()
Next
_SubTabText.Add(drs(0)("Id") - 1, _SubText)
Next
ts.SubTabTextCol = _SubTabText


Plz Give Me Some Idea To Solve This One...,



-- modified at 1:31 Tuesday 13th November, 2007

Regards,
Mageshh

AnswerRe: Bind Based on Id's..., Pin
Prateek G12-Nov-07 20:49
Prateek G12-Nov-07 20:49 
QuestionUsing Roles in Web.Config file Pin
nagendrathecoder12-Nov-07 19:11
nagendrathecoder12-Nov-07 19:11 
AnswerRe: Using Roles in Web.Config file Pin
Michael Sync12-Nov-07 20:11
Michael Sync12-Nov-07 20:11 
Questioncarousel control Pin
Prakash_Mishra12-Nov-07 18:50
Prakash_Mishra12-Nov-07 18:50 
AnswerRe: carousel control Pin
Michael Sync12-Nov-07 20:06
Michael Sync12-Nov-07 20:06 
QuestionPaging in Placeholder Pin
.NET- India 12-Nov-07 18:18
.NET- India 12-Nov-07 18:18 
AnswerRe: Paging in Placeholder Pin
N a v a n e e t h12-Nov-07 18:25
N a v a n e e t h12-Nov-07 18:25 
QuestionPay schedule Pin
gunaarun12-Nov-07 18:15
gunaarun12-Nov-07 18:15 
AnswerRe: Pay schedule Pin
Michael Sync12-Nov-07 18:41
Michael Sync12-Nov-07 18:41 
Questionhow can i convert date into format '2007-10-25T11:47:10.515625+05:30' Pin
Vishnu Narayan Mishra12-Nov-07 17:52
Vishnu Narayan Mishra12-Nov-07 17:52 
AnswerRe: how can i convert date into format '2007-10-25T11:47:10.515625+05:30' Pin
N a v a n e e t h12-Nov-07 18:29
N a v a n e e t h12-Nov-07 18:29 
AnswerRe: how can i convert date into format '2007-10-25T11:47:10.515625+05:30' Pin
Jon Sagara12-Nov-07 18:35
Jon Sagara12-Nov-07 18:35 
GeneralRe: how can i convert date into format '2007-10-25T11:47:10.515625+05:30' Pin
Vishnu Narayan Mishra12-Nov-07 20:19
Vishnu Narayan Mishra12-Nov-07 20:19 
QuestionInvalid column name Pin
Milind Panchal12-Nov-07 17:44
Milind Panchal12-Nov-07 17:44 
AnswerRe: Invalid column name Pin
Christian Graus12-Nov-07 17:47
protectorChristian Graus12-Nov-07 17:47 
AnswerInvalid column name Pin
Sarani Ravindran12-Nov-07 17:49
Sarani Ravindran12-Nov-07 17:49 
AnswerRe: Display The Tag value in a textbox Pin
Christian Graus12-Nov-07 17:48
protectorChristian Graus12-Nov-07 17:48 

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.