StrataFrame Forum
Back
Login
Login
Home
»
.NET Forums
»
General .NET Discussion
»
Need help decifering a concept...
Need help decifering a concept...
Post Reply
Like
0
Need help decifering a concept...
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
StarkMike
StarkMike
posted 18 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 436,
Visits: 944
Can someone help me decifer this line of code? I saw it somewhere and have used it a couple of times but I'm not sure what the concept is called or why it works.
Me.cboDivisions.Properties.GetDataSourceRowByKeyValue(Me.cboDivisions.EditValue)("LocationID").ToString
If this piece of code were to take up two lines this is what it would look like this
Dim row As DataRowView = Me.cboDivisions.Properties.GetDataSourceRowByKeyValue(Me.cboDivisions.EditValue)
Messagebox.Show(row("LocationID").ToString)
I'm referring to the way I can butt the set of parenthesis together.
Thanks for the help.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Need help decifering a concept...
StarkMike
-
18 Years Ago
Hi Mike, The reason you can butt the parenthasis together is because...
StrataFrame Team
-
18 Years Ago
In CSharp, the indexer properties cannot use the property name, but...
StrataFrame Team
-
18 Years Ago
Thanks Ben! Good stuff!
StarkMike
-
18 Years Ago
No problem :)
StrataFrame Team
-
18 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search