473,379 Members | 1,201 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Is this normal practice

((CustomerDetail)Parent.Parent.Parent).(null);
Nov 16 '05 #1
3 882
It stinks of bad design. And it's syntactically incorrect (the (null) part).
What are you trying to do?

--
John Wood
EMail: first name, dot, second name at priorganize.com
"george r smith" <gs****@budgetext.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
((CustomerDetail)Parent.Parent.Parent).(null);

Nov 16 '05 #2
Thanks for reply John.
I am not trying to do anything this is an example of code that is being
"thrown over the wall"
george
"John Wood" <sp**@isannoying.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
It stinks of bad design. And it's syntactically incorrect (the (null) part). What are you trying to do?

--
John Wood
EMail: first name, dot, second name at priorganize.com
"george r smith" <gs****@budgetext.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
((CustomerDetail)Parent.Parent.Parent).(null);


Nov 16 '05 #3
Hi

That is not correct, nor it makes sense , another thing would be:
( (CustomerDetail)Parent).Parent.Parent

That MAY makes sense

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"george r smith" <gs****@budgetext.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl...
((CustomerDetail)Parent.Parent.Parent).(null);

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Michele Simionato | last post by:
I think I want "re-entrant exceptions" (not sure if this is the correct name). Consider the following example: class NotSeriousException(Exception): pass def do_this(): raise...
3
by: Rune Froysa | last post by:
Trying something like:: import xmlrpclib svr = xmlrpclib.Server("http://127.0.0.1:8000") svr.test("\x1btest") Failes on the server with:: xml.parsers.expat.ExpatError: not well-formed (invalid...
1
by: Xah Lee | last post by:
Dear functional programing comrades, Among the community of automatons of the IT industry, there is a popular quote about "theory vs practice" that goes something along the lines of "in theory...
21
by: Wladimir Borsov | last post by:
Assume I want to publish a longer article on a web page. One of the paragraphs I want to display with an indent. Read: All text lines of this paragraph should be displayed with (let's say 8) blanks...
49
by: Mal | last post by:
Hi, As I gain knowledge through a lot of trial, error, and usenet posts.. I have a potentially odd question. I am using a commercial access application. It is a front-end / back...
3
by: Wilson Smith | last post by:
Microsoft document says use the Page_Unload event to perform final cleanup work. Like, closing files, closing database connections. Considering the performance of the application is it always...
17
by: | last post by:
I have an app that retrieves data from an Access database. At the moment I have the SQL string as a Const in my app. I understand this is not best practice. I don't want the user to have access to...
3
by: Ray | last post by:
OK, maybe I shoot a more general question to the group since there are so many great programmers here: how do you practice your craft? I do it in the following way: 1. Set aside 30 minutes to...
2
by: samuelberthelot | last post by:
Hi, How can I switch the browser back and forth to fullscreen mode, using javascript on the onclick event of a button ? Thanks
3
by: Robert Brown | last post by:
Hi there, Is it normal for form-based events to fire in "InitializeComponent()". I've got a "DataGridView" on a form and I set its "CellValueChanged" event using the forms designer. Ok, VS...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.