Re: Global Name for TreeView



You could, potentially, write a class that could be used in both, but the
amount of coding already done in the framework is lost. You would have to
have hte component figure out where it was (configuration would be easiest,
possibly through reflection on its parent, etc.), but it would cost more
time than coding two components.

My suggestion: Move all but the binding info to a class library and code two
GUI components that use the underlying component. It gives you the most
reuse and makes the job a bit easier to complete.


--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
"mr.Hyde" <galileon@xxxxxxxxxxxxxx> wrote in message
news:e8g7pr$ksf$1@xxxxxxxxxxxxxxx
Hi,

My component is working with databse,
one of method fills treeview and
I want to use it in ASP and WinForms also,
but if I join using System.Windows.Forms to this component
will can't use it in ASP and webforms vice'versa,
How I should to do this?

Thanx for help.
Hyde





.



Relevant Pages

  • Re: Is there a better way?
    ... seem to be a better coding choice. ... ASP or JavaScript ... with Windows 2000 Server Resource Kit, Microsoft Press. ... >> To assist you in getting the best answers for FrontPage support see: ...
    (microsoft.public.frontpage.client)
  • Re: Database now returning errors
    ... OK, now that we've covered the hand coding debate, I've still got the ... >> Hey Tom, I know you're not gonna let up on my learning asp coding, so I ...
    (microsoft.public.frontpage.client)
  • Re: how to add items to a basket
    ... Have you done a design or are you trying to jump right into coding? ... If you have not done a design yet you need to think through how the site is ... and session variables use server memory which could impact ... Also see www.aspfaq.com and some of the other ASP sites like www.asp101.com. ...
    (microsoft.public.inetserver.asp.general)
  • Re: Referral Link
    ... 'massive amount of ASP coding' as I've heard. ... without a 'massive amount of ASP ... referrals can fail and disclaim or you may be sued for cheating or ripping ...
    (microsoft.public.frontpage.programming)
  • Re: VS.NET freezes my computer on browser preview?
    ... mouse is working but asp is not responsive. ... it is seemed to me ur coding isn't accurately. ...
    (microsoft.public.vstudio.general)

Loading