Hi,
I have an issue with the stack limit in my webservice.
I was suggested to read this article by fellow members of this forum, but I do not have an idea how to run the EDITBIN.
I am using VS2008 on Windows 7 (IIS7)
Thanks!
...
I have a typed dataset in my project. I would like to populate a datatable with only one row instead of all rows. The selected row must be based on the primary key column. I know I could modify the designer code to achive this functionality however if I change the code in the designer I risk that this code will be deleted when I update m...
I have tried every combination to allow unauthenticated access to WCF as in "Local System" accounts, in IIS without success. Here is what I've most recently tried:
wsHttpBinding with Message security and mode set to "None". IIS anonymous access enabled, all others disabled, folder level access at default (but granted read access to "Use...
I'm trying to add image tags to a WPF image and I'm not having much luck. I'd like to do it through databinding if at all possible. Can I set a resource with a DataTemplate to take care of this?
Here's what I've been playing with to no avail:
<Image Margin="25,4,14,46"
Name="MainImage"
Stretch="Uniform"
...
How to differentiate between two select new fields e.g. Description
c.Description and lt.Description
DataTable lDt = new DataTable();
try
{
lDt.Columns.Add(new DataColumn("AreaTypeID", typeof(Int32)));
lDt.Columns.Add(new DataColumn("CategoryRef", typeof(Int32)));
lDt.Columns.Add(new DataColumn("De...
Given this example:
// Create an arary of car objects.
car[] arrayOfCars= new car[]
{
new car("Ford",1992),
new car("Fiat",1988),
new car("Buick",1932),
new car("Ford",1932),
new car("Dodge",1999),
new car("Honda",1977)
};
I tried something like this:
for (int i = ...
Hi,
I use C# 3.5 DotNet Framework and Linq.
I have 2 Views which have the same result-schema, but in linq that are different objects of course.
How can I convert List a to List b?
...
Hi.... I have a master page which has a timer control with an asynchronous postback trigger. I need to display a popup window everytime when the timer is triggered. How I can achieve this using client script.... I tried via., Response.Write and thru Page.ClientScript.RegisterStartupScript(Page.GetType(), "alert", " alert('test popup');...
How do I Retrieve a list of computers in a FOLDER in a domain.
lets say i have maydomain.dom as my domain
and I have a folder containing some computers.
...
I'm trying to perform two-way data binding on the controls in my user control, which is hosted inside a FormView template:
<asp:ObjectDataSource runat="server" ID="ObjectDataSource"
TypeName="WebApplication1.Data" SelectMethod="GetItem" UpdateMethod="UpdateItem">
</asp:ObjectDataSource>
<asp:FormView runat="server" ID="FormView" Da...
I am trying to add a Silverlight application running on the .Net 4 Application Pool as a child application of a ASP.Net application running on the Classic .Net Application Pool. I receive several configuration errors due to the Silverlight application inheriting configuration elements from the parent application. Does anyone know of an...
Hi everybody,
I write a countdown timer in jQuery and i need to keep some datas in a session when countdown ends. Datas have to be sent to server to update. How can i handle this situation. I am new in jQuery and asp.net so could you explain this briefly
...
Simple one: Want to add a LibraryContainer to a Surface ScatterView. Know I have to add the container inside a ScatterViewItem to get the rotate/move features.. but the SVI adds a rectangle box around the control, and it does not size correctly. Think I'm missing something simple but can't figure it... My current XAML is as follows:
...
What is in and not in equals in LINQ to SQL?
For example
select * from table in ( ...)
and
select * from table not in (..)
What is equal to the above statement in LINQ to SQL?
...
I'm updating a set of objects, but the update fails on a SqlException that says "Incorrect Syntax near 'Where'".
So I crack open SqlProfiler, and here is the generated SQL:
exec sp_executesql N'UPDATE [dbo].[Addresses]
SET
WHERE ([AddressID] = @p0) AND ([StreetAddress] = @p1) AND ([StreetAddress2] = @p2) AND ([City] = @p3) AND ([...
Now that I'm working on my newer application that uses MEF with the MVVM light toolkit, I've run into a case where I can't load specific plugins because they rely on a part that isn't getting exported. That part isn't getting exported because it's a View, and the View isn't resolved with MEF (yet).
It seems that every time I play with ...
I had originally created a windows form to be a dialog of my projects main form. Now the dialog is getting complex enough that it needs to be started in its own process. Is there a way to do this in code or do i need to create a new project and link my files to it?
...
I have an application that is running on .net 3.5 SP1 and that is supposed to check if .net 4 is installed.
Actually, I'm more interested if MSBuild v4 is installed, which would boil down to a simple File.Exists(@"C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe");
However, apart from the fragility of the 4.0.30319 Version (an...
Hi,
i have to develop a mechanism to check two object properties for changes.
All properties which are needed to check are marked with an attribute.
Atm i
- read all properties from acutal object via linq
- read the corresponding property from old object
- fill an own object with the two properties (old and new value)
In Code the call...
I run a dual monitor setup.
To get from monitor 1 to 2 (or vice-versa) requires lots of unnecessary mouse movement.
My thought was to leverage a extra mouse button (I have two) and have the mouse hyper-jump (apologies to Star Trek) from the XY coordinates on monitor 1 to the same XY coordinates on monitor 2.
How would I go about doing...