There is a big difference that you have to consider first of all, and that is that the session variable is user specific, but a static variable is not.
Despite everything, the person most likely to be fooling you next is yourself.
You can't specify the type for generics with a variable. The point with generics is that the type is known at compile time so that the compiler can generate the code for the created generic type.
--- single minded; short sighted; long gone;
When you use javascript using response.write, the javascript is written before tag That makes the browser ignore the doctype, and the page is displayed in quirks mode. The solution suggested above is the best way to do it. There is also a workaround: write response.write() code before response.write tag. don't know how good this solution is, but it works perfectly well.
Hi, two ideas: 1. I dont think SuspendLayout gets propagated to the form's children; so it stops the form relayouting its direct Controls, but it does not stop those Children from relayouting or repainting themselves when they feel like doing that. 2. For some controls there also is BeginUpdate/EndUpdate which stops the redrawing. Hope this helps.
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }
well.. to reinstall something i'd have to install it first.. my problem is that on target machine there is .net framework 2.0 only.. no CR.. btw. where can i find something to install CR on target machines?!
life is study!!!
1. string.Format("val1 like '{1}' and val2 like '{2}'", str1, str2); Should be string.Format("val1 like '{0}' and val2 like '{1}'", str1, str2); 2. aa'aa should be aa''aa becuase filter behaves same way as a stored procedure would behave.
Seishin# wrote:
btw. you shouldn't use the U in stead od 'you' etc. on this kind of forums (this kind of writing has its name but can't remember it )
Thank you very much.
Regards, Arun Kumar.A