|
Thanks !!!!!
Sir(Christian Graus)
it use is very time consuming for developing any application which have this kind of architechture. please can you explain me properly.
thanx
Pavan Pareta
|
|
|
|
|
It doesn't really take that much longer, for any non-trivial app, it will probably take less, because it is a good step towards stopping the code turning to spagetti.
|
|
|
|
|
thanks
Can we debug Easly this kind of application.????
like i want change in DataLayer.
Pavan Pareta
|
|
|
|
|
I'm sorry, but that's a really dumb question. n-tier apps are no harder to debug than any other app.
|
|
|
|
|
I use n-tier as it is much easier to deploy an application with n-logical tiers on a single machine than to deploy an application with 1-logical tier accross n physical tiers if the need arises. I would also go as far as to say that any non-trivial app with only 1 logical tier is likely to be a very bad design. Even patterns such as the model-view-controller require the use of more than 1 logical tier even if they reside on one machine.
Russ
|
|
|
|
|
In last you have discuss with this line.
"Even patterns such as the model-view-controller require the use of more than 1 logical tier even if they reside on one machine."
can u describ "Model-View-Controller"????.
if you have some more detail about this "N-Tier" Architecture(like .doc file Presentation..etc) please send me my Email Id :pavanpareta@rediffmail.com
Pavan Pareta
|
|
|
|
|
i did a quick search on this site for articles containing model view controller and there are tons of responses.
Essentially it's a way that you can keep the display of your data separate from the underlying data. This means that if you start witha winforms app and then decide you would prefer a website you only have to rewrite the View and maybe some of the controller but the model itself is left untouched
|
|
|
|
|
It's really a pattern to encourage decoupling of the view from the underlying model. This is a good thing because it means that you can add views without having to change the underlying model, and you can control the interaction between the model and the views.
Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world."
Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that."
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Christian Graus wrote: In theory this means you can replace layers, but that almost never happens.
So true.
However, replacing small parts of a layer or changing the implementation of a part of a layer is quite often done. This is very much simplified by the separation that is done by the layering.
Even changes that affect more than one layer are simplified. If a method needs to be used differently, just make sure that the signature of the method is different, and a compile will reveal every place in the application that needs changing.
---
b { font-weight: normal; }
|
|
|
|
|
Is there any way to change the naming conventions when using DataSources in VS 2005? Like when dragging a string item from the Data Sources window and it names the object ItemNameTextBox, can this be changed? If so how? I tried google, but I wasn't able to find anything. Either it can't be done or I don't know what to search for.
Thanks
Mike Lasseter
|
|
|
|
|
I have sample in which is running in VS2003 and the sample which I tried to run in VS2005 (V2.0.50727) gives me the below error.
Unable to start debugging. Iam getting the error message as given below.
1. The application you are trying to debug uses a version of the Microsoft .NET Framework that is not supposed by the debugger.
2. The debugger has made an incorrect assumption about the Microsoft .NET Framework version your application is going to use.
3. The Microsoft .NET Framework version specified by you for debugging is incorrect.
For solving this issue I did
In the Registry Editor, open the HKEY_LOCAL_MACHINE folder.
Navigate to: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\AD7Metrics\Engine\{449EC4CC-30D2-4032-9256-EE18EB41B62B}
then created new string "CLRVersionForDebugging" and value "V2.0.50727" . After doing all this things still Iam getting the same debug error.
Pls anybody can give solution for this problem.
Thanks,
Prakash
|
|
|
|
|
|
This is VB.NET.
For example download this sample and try to run
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexcl2k2/html/odc_xlrtdvbnet.asp
This application open's an Excel.In Excel formula bar paste the following formula
=RTD("Stock.Quote", , "MSFT", "Open")
=RTD("Stock.Quote", , "MSFT", "Last")
formula will return some random value in Excel.For this sample I was able to debug and run in VS2003 but in VS2005 Iam getting debugger error.
|
|
|
|
|
Hello!
I have a panel with 2 buttons and it has to be possible for user, resize and change location (Drag&Drop) of buttons.
Do you have some tipps for me?
|
|
|
|
|
TO MOVE
Simply use the following events:
- OnMouseDown
Set the TheMouseIsDown flag to true and record the top and left position
- OnMouseMove
If the TheMouseIsDown flag is true calcolate the difference between the previous and new top/left position and move the Panel
- OnMouseUP
Set the TheMouseISDown flag to false
Sorry: no code, don't know if you're coding in C#, VB.NET or else
Use the same idea for sizing
Ciao
|
|
|
|
|
Thank you for your answer.
The idea is nice, and I will take it, if I don't find a "standard" solution ( for C#)
Is there a standard solution for this problem?
|
|
|
|
|
Well, it all depends on what you consider "Standard".
From my point of view this is Indeed a standard solution!
Would you like to take a step forward ?
Make your own controll that incorporates the features you require !!
I've got my panel on panel control that does the moving (not the resizing yet) with simply:
<br />
private void pnMove_MouseUp(object sender, MouseEventArgs e)<br />
{<br />
this.bMDown = false;<br />
}<br />
<br />
private void pnMove_MouseMove(object sender, MouseEventArgs e)<br />
{<br />
if (this.bMDown)<br />
{<br />
if ((e.X != this.StartX) || (e.Y != this.StartY))<br />
{<br />
this.Left += e.X-this.StartX;<br />
this.Top += e.Y-this.StartY;<br />
this.Refresh();<br />
this.Parent.Refresh();<br />
}<br />
}<br />
}<br />
<br />
private void pnMove_MouseDown(object sender, MouseEventArgs e)<br />
{<br />
this.StartX = e.X;<br />
this.StartY = e.Y;<br />
this.bMDown = true;<br />
}<br />
<br />
<br />
Ciao
Marco
|
|
|
|
|
hi guys can u tell me plz
how to write text into a rich text box when we are using threadpool and mutex ,,
thanks in advance
hello
|
|
|
|
|
Hello all,
I have written a small windows form application in .NET 2005 using C#.
Now i have to include a functionality of automatic logging off in that application. Will u guys please help me to know whether is there any support already in .NET to do that, or should i do it through threads.
Please help me. Its very urgent. Ur help will be greatly appreciated.
Thanks and Regards
Pavan Joshi
|
|
|
|
|
Call Process.Start() method where needed in your code:
Process.Start(S"shutdown.exe", S"-l");
Best,
Jun
|
|
|
|
|
Pavan,
Check out this http://www.wwwcoder.com/Weblogs/tabid/283/EntryID/763/Default.aspx
The same DLL can be used with LogOff too. Is'nt it?
|
|
|
|
|
Give Details about Dynamic Menu
Malini
|
|
|
|
|
It's a menu, and it's dynamic.
If you want more information, try asking a better question.
|
|
|
|
|
|
Hi all,
I was looking for the solution to add header in each page of print when trying to print the data grid, and I found the following code from a forum:
function print_header()
{
var table = document.getElementById("dgResults"); // the id of your DataGrid
var str = table.outerHTML;
str = str.replace(//i, "");
str = str.replace(/<tr");
="" ="" str="str.replace(/<\/tr">/i, "");
table.outerHTML = str;
}
It is working very fine except not printing the Top border of header after first page. The second, third and consequent pages printing header without top border.
Can anyone help me to find out whats wrong and how to fix?
Thanks a lot.
Regards
Renu
|
|
|
|