I think I understand well enough what the BindingSource class does - i.e. provide a layer of indirection between a data source and a UI control. It implements the IBindingList interface and therefore also provides support for sorting. And I've used it frequently enough, without too many problems. But I'm wondering if I use it more often ...
What is the meaning of serialization concept in programming languages?
when we use Serializable attribute above a class, what is the meaning?
...
For example,
I have a collection of integers 1 - 10.
I want to dynamically display 4 (can be 5, 6, 7) columns in the datagrid in silverlight.
How can I bind the collection to the datagrid to achieve the following?
C1 C2 C3 C4
R1 1 2 3 4
R2 5 6 7 8
R3 9 10
Cheers
...
When do we need to use .NET Remoting? What is the Serialization usage in .NET Remoting?
...
Hi,
I've craeted a sample with mainView and 2 other views (usercontrols).
I've placed a button "close" on the child view and i want to close that view.
there is a command attached to that button, and when close is pressed i ask the ViewModelLocator to clean it.
BUt- the view still being displayed..
What i'm doing wrong?
How can i clos...
How to make Form Transperent in windows c# ? I have a GridView in my form, which should be visible.
...
I have a large Web Application ( ErPwith 11 subsystem) and I want tocreate a setup for itwith Microsoft WebPI.
Currently We send our application for customers once a week (for weekly updates).
We usefollowing tools in this application, So How to create a setup for out project toconfigure it in client IIS automatically
List item
.netF...
I am trying to create a Soap Web Service Client using the Visual C# 2008 Express IDE. I Do that by Right-Clicking Project Name->Add service Reference->advanced->add web reference(This is because we need to support .NET 2.0 and VS2005 as our development env). Everything is working out fine, and the client is being generated as follows
[S...
Strange System.Data.SqlClient.SqlException
Error at the transport level when sending a request to the server. (Provider: Shared Memory Provider, error: 0 - Since both ends of the canal there are no processes.)
I've got this exception on my Web Site every time after restarting my SqlServer on simple request like this :
if (System.Web....
Hi SO community
I have been issued a problem with security. A bank will not allow use of DLL's in the project. What sort of structure would be needed to allow DataAccess and or the use of external services (like an email client mailchimp, icontct).
has anyone else encountered this sort of problem before? If they have how should the pro...
Hi,
I have a sample ASP.NET application. The appliaction was developed as POC and not following any design and architectural standards.
Now I want to restructure the application. I can see some of the business logic and controls can be reused in future, such as login control.
I have two options for restructuring
I create a Utility ...
Consider this code snippet:
public static class ApplicationContext
{
private static Func<TService> Uninitialized<TService>()
{
throw new InvalidOperationException();
}
public static Func<IAuthenticationProvider> AuthenticationProvider = Uninitialized<IAuthenticationProvider>();
public static Func<IUnitOfWork...
I want to use VARENUM in my IDL in a struct but it was not typedef in wtypes.idl so I can't use?? I thought maybe if I import the header but it causes redefinition conflicts???? Sticks and stones :\
[edit]
VARTYPE seems to be used in place but is that not a typesafety issue thing???
Also this is COM not .NET
o~o
...
I don't know why we need a grid when building a Windows form! What can't we do without a grid control in a Windows form then? Please discuss.
...
I have the following code to retrieve a file using FTP (which works fine).
FtpWebRequest request = (FtpWebRequest)WebRequest.Create(svrPath);
request.KeepAlive = true;
request.UsePassive = true;
request.UseBinary = true;
request.Method = WebRequestMethods.Ftp.DownloadFile;
...
When implementing a microsoft.build.utilities.task how to i get access to the various environmental variables of the build?
For example "TargetPath"
I know i can pass it in as part of the task XML
<MyTask TargetPath="$(TargetPath)" />
But i don't want to force the consumer of the task to have to do that if I can access the variable...
Hi all,
Could someone explain me in depth how the system loads an .NET assembly.
I mean :
what dlls are used : I supposed first mscoree.dll, next mscorwks.dll and mscorjit.dll
what methods in these dlls ?
Thanks a lot !
...
Hello, I want to compare a column value to the current date, using HQL.
I tried
IQuery someQuery = session.CreateQuery(String.Format(
@"Select s.Id
From InventoryProductStateItem s
where s.ValidFrom < current_date()"));
This throws the exception "Incorrect syntax near keyword current_date()"
curre...
hi,
Can I use IsInRole with customized objects??
Like I want to do some operations only for Employee while other only for Managers.
How can I achieve this?
...
I have a string (€#,###.00) which works fine with aDecimal.ToString("€#,###.00") in .NET, i wonder if anyone knows how this could be achieved with javascript
...