What is COM+? What is equivalent for COM+ in .Net?
What is COM+? What is equivalent for COM+ in .Net? ...
What is COM+? What is equivalent for COM+ in .Net? ...
Can anyone tell a book which covers a in-depth coverage of .NET Framework (2.0, 3.5 or 4.0)? ...
Hello guys, my application uses Drag & Drop operations. Everything worked perfect. Recently, some user changed system options: Control Panel --> Folder Options --> Single click to open an item (point to select). And now all my drag & drop operations worked TWICE. How could it be ? What should I change to avoid that type of behaviour ?...
What is difference between Generic List and Arraylist Generic List Vs HashTable Generic List Vs No Generic? ...
I have a script file containing 1000 lines of data and some of the lines contain some date string in the form of dd/mm/yyyy hh:mm:ss format. My objective is to find out the lines which contain a date of the following pattern "Value=10/08/2010 13:39:37", ENDITEM, Some example lines which contains dates in the script are "Name=s_1_1_8...
Hi , I am writting a website using .net in some of my pages I need to use datagrid for showing some datas and for binding my data to datagrid I use object datasource something like below : //this is public class userData { private long userid = 0; private string username = null; private long amounts = 0; private DateTi...
There are PublishingWeb.PagesList and PublishingWeb.PagesListName properties, but other list's urls also vary by site language. Those that I found are translated are: Documents Images Pages Workflow Tasks There is additional API in SP2010, but how can I handle this in 2007? ...
I have a textbox which can be left blank or contain a date. If the textbox has a date I want the 2nd textbox's value to be set to the value of a session variable. I need this to happen before the update sql is performed on postback. This is the code I have. But the textbox is coming back as nothing. Whether it has a value in it or n...
What benefit does your code receive if you decorate it with attributes demanding specific Security permissions? ...
I have written a console application in .Net 3.5 to test a component that seems to be erroring randomly (The best kind). The interesting thing is that it seems to die regularly when I double click the exe, but when I open a command prompt and execute the same application from there with the same parameter selection (I.E. non, because you...
Hi, As I know Application.Restart() restarts an application and creates new Instance of an Application. Does this instance will creates in new process, or old process will be used? Thanks for an answer. ...
I'm working on a unit test in a project using the MOQ-framework, C# 4.0, MVC2.0 The test is similar to the one below. But as soon as i run this test i'm getting a strange error. I've checked all the referenced System.Web.mvc assemblies and there all at version 2.0.0, so it seems to me that those can't cause the issue. [TestMethod] ...
I have a WCF service. And in my mobile application I generated a Web References. I notice that for some fields it also generates a myFieldSpecified bool. For example, i have a class Quantity that contains an int quantity. on the mobile side it also generates a bool quantitySpecified. What is the purpose of this specified field? ...
I'm trying the following string tl = " aaa, bbb, ccc, dddd eeeee"; var tags = new List<string>(); tags.AddRange(tl.Split(',')); tags.ForEach(x => x = x.Trim().TrimStart().TrimEnd()); var result = String.Join(",", tags.ToArray()); But it doesn't work, the tags always come back as " aaa", " bbb". How can I trim all elemen...
IP I have 1 NIC with a primary IP and a secondary IP configured on it, is it possible to launch a new WebBrowser in .Net and initiate the web requests through the secondary IP instead of the primary IP? ...
I have a transparent proxy, for instance one generated by WCF: ChannelFactory<ICalculator> channelFactory = new ChannelFactory<ICalculator>( new NetNamedPipeBinding(), "net.pipe://localhost/WcfTransparentProxy/Calculator" ); ICalculator calculator = channelFactory.CreateChannel();...
Where can I get the current Linq provider for NHibernate? I am also using the current release of Fluent NHibernate (1.1). Will the current Linq provider (once I find it) play nicely with fluent? ...
I want to convert a string to an object property value, whose name I have as a string. I am trying to do this like so: string modelProperty = "Some Property Name"; string value = "SomeValue"; var property = entity.GetType().GetProperty(modelProperty); if (property != null) { property.SetValue(entity, Convert.ChangeType(valu...
Hi Is it possible to save two objects in the tag property of a treeview node? If so, how can I do so Thanks bornagaindeveloper ...
What is the difference between XmlArrayAttribute and XmlArrayItemAttribute? Please explain both sides (i.e. serialzing and deserialzing). ...