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

ASP.NET

 
AnswerRe: pagename is ambiguous Pin
minhpc_bk31-Jan-07 13:45
minhpc_bk31-Jan-07 13:45 
QuestionGrid problem Pin
shapper31-Jan-07 6:52
shapper31-Jan-07 6:52 
AnswerRe: Grid problem Pin
minhpc_bk31-Jan-07 13:43
minhpc_bk31-Jan-07 13:43 
GeneralRe: Grid problem Pin
shapper31-Jan-07 14:14
shapper31-Jan-07 14:14 
GeneralRe: Grid problem Pin
minhpc_bk31-Jan-07 14:25
minhpc_bk31-Jan-07 14:25 
GeneralRe: Grid problem Pin
shapper31-Jan-07 14:46
shapper31-Jan-07 14:46 
GeneralRe: Grid problem Pin
minhpc_bk31-Jan-07 14:53
minhpc_bk31-Jan-07 14:53 
GeneralRe: Grid problem Pin
shapper31-Jan-07 15:04
shapper31-Jan-07 15:04 
Hi,

To be honest I am not able to debug and see what is inside container.DataItem("Name").

However, in the code I posted I have the function which creates the DataTable:

Public Shared Function Collaborators() As DataTable

' Create collaborators data table
Dim dtCollaborators As New DataTable

' Add columns to collaborators data table
With dtCollaborators.Columns
.Add(New DataColumn("Name", GetType(String)))
.Add(New DataColumn("Mobile", GetType(String)))
.Add(New DataColumn("Email", GetType(String)))
.Add(New DataColumn("City", GetType(String)))
End With

' Create and add a new collaborator row
Dim drRow01 As DataRow
drRow01 = dtCollaborators.NewRow

' Define collaborator row values
drRow01("Name") = "John"
drRow01("Mobile") = "983498223"
drRow01("Email") = "john@mydomain.com"
drRow01("City") = "New York"

' Add row to collaborators data table
dtCollaborators.Rows.Add(drRow01)

' Create and add a new collaborator row
Dim drRow02 As DataRow
drRow02 = dtCollaborators.NewRow

' Define collaborator row values
drRow02("Name") = "Andrew"
drRow02("Mobile") = "983498223"
drRow02("Email") = "andrew@mydomain.com"
drRow02("City") = "Paris"

' Add row to collaborators data table
dtCollaborators.Rows.Add(drRow02)

' Return collaborators data table
Return dtCollaborators

End Function ' Collaborators

It seems ok, right?

What should I do? How can I see what is inside container.DataItem("Name") as you mentioned?

Thank You,
Miguel
GeneralRe: Grid problem Pin
minhpc_bk31-Jan-07 15:19
minhpc_bk31-Jan-07 15:19 
Questionabt online examination system using asp.net Pin
hardik_7531-Jan-07 6:48
hardik_7531-Jan-07 6:48 
AnswerRe: abt online examination system using asp.net Pin
Christian Graus31-Jan-07 9:26
protectorChristian Graus31-Jan-07 9:26 
AnswerRe: abt online examination system using asp.net Pin
badgrs31-Jan-07 22:22
badgrs31-Jan-07 22:22 
Questionregarding array concept Pin
saravanan0531-Jan-07 6:38
saravanan0531-Jan-07 6:38 
AnswerRe: regarding array concept Pin
ednrgc31-Jan-07 6:45
ednrgc31-Jan-07 6:45 
AnswerRe: regarding array concept Pin
Venkatesh Mookkan31-Jan-07 15:45
Venkatesh Mookkan31-Jan-07 15:45 
QuestionNo Subject Pin
saravanan0531-Jan-07 6:35
saravanan0531-Jan-07 6:35 
QuestionVerify SSN-Names [modified] Pin
gvirden31-Jan-07 6:22
gvirden31-Jan-07 6:22 
AnswerRe: Verify SSN-Names Pin
ednrgc31-Jan-07 6:46
ednrgc31-Jan-07 6:46 
GeneralRe: Verify SSN-Names Pin
gvirden31-Jan-07 6:52
gvirden31-Jan-07 6:52 
GeneralRe: Verify SSN-Names Pin
ednrgc31-Jan-07 6:53
ednrgc31-Jan-07 6:53 
GeneralRe: Verify SSN-Names Pin
gvirden31-Jan-07 6:57
gvirden31-Jan-07 6:57 
GeneralRe: Verify SSN-Names Pin
ednrgc31-Jan-07 6:59
ednrgc31-Jan-07 6:59 
QuestionUrgent: ASP is not able to find the new dll Pin
thomasa31-Jan-07 5:07
thomasa31-Jan-07 5:07 
AnswerRe: Urgent: ASP is not able to find the new dll Pin
Artem Kustikov31-Jan-07 6:38
Artem Kustikov31-Jan-07 6:38 
QuestionDataList and Border-Collapse Pin
RX Maverick31-Jan-07 4:42
RX Maverick31-Jan-07 4:42 

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.