I have BaseForm with 2 buttons on it, both have their Modifiers property set to protected.
I have ConnectionForm which inherits from BaseForm.
From the designer window on the ConnectionForm, I can't change any of the inherited button's properties.
Is this right? I thought 'protected' means I...
I have a click-once deployment win forms project that cannot build successfully because of this error:
Example.dll must be strong signed in order to be marked as a prerequisite.
I don't want to strong sign the Example.dll.
I have gone into 'Project Properties > Publish > Application Files'...
I have just created a Dynamic Data Entities web-site on a SQL database, added the ADO .Net Entities and dragged my tables onto the designer.
I've now run it to see what it's like and it works, but it is very very slow.
The tables are indexed, and running selects from SQL get results back in...
I have an SSIS package that takes in a flat file (csv) and maps the columns of the flat file to the columns in a table. I have an extra column in the table that I want to map to a literal value.
Any ideas how to do this?
I have tried creating a variable, and entering a literal value - but it...
I get the following error about a 3rd of the way through installation:
Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction failed.
Invalid URI: The hostname could not be parsed.
What does this mean? Any ideas how to fix it?
I have a wcf web service with SSL that I am testing on my local development machine. I have an SSL certificate installed on my local machine.
I keep getting this error:
The HTTP request is unauthorized with client authentication scheme 'Basic'. The authentication header received from the...
The word 'undefined' appears as the first element in a UL (before the first LI) on my web page. It is not in my source anywhere. Why is it appearing? How do I get rid of it?!
Inspecting the element at runtime on the page, I see this:
<ul id="foo">
"undefined"
<li id="bar">...
I have inherited a system - in which part of it works like this:
User submits a request -->
Web service is called on the server -->
The web service does some processing and then kicks off a separate process (an executable) to do some time-consuming tasks -->
the web service then tells a...
Not sure if this is the correct forum.
I have a 20Gb SQL file (MDF) that is completely fragmented - causing an overall fragmentation on my VM of 45%.
I've rebuilt all of the indexes through the DBCC command in T-SQL and stopped all SQL services, rebooted and done a windows defrag (from within...
I'm learning web development and I'm a bit confused on the best way to hold information across pages.
Firstly, what is the point of a non-persistent cookie (One that has no expiry date and therefore does not get written to disk)? What I mean is, why not use the session or context?
Why do we...
When I do myObj.GetType().GetFields() I don't see fields from base classes. Is there a way to do this with BindingFlags or another way?
I guess I could do some kind of recursive myObj.GetType().BaseType and get the fields that way but thought there might be an easier way.
Regards
Pete
I'm new to asp .net programming and I am having difficulty with the layout of my pages.
I want a simple input data page with things like Name/DOB/Gender/Hobbies/Etc. What's the best way to lay this out on the page? Using floating divs or a table or both or a different way?
I tried a simple 2...
I'm trying to create a sample application that uses a semaphore to restrict the number of instances allowed to be open on a given machine at any 1 time.
I have got it working as far as it shows a message if the semaphore is full, and closes - but the problem I am having is the semaphore count...
Here's a challenge for you experts:
I've got 3 tables:
Case
CaseID
CaseApp
CaseAppID
CaseID
Type
Date
CaseAppMember
CaseAppMemberID
CaseAppID
So as you can see from the above a Case has many CaseApps and a CaseApp has many CaseAppMembers.
My problem: I...
I am getting an error with the following code. Can anyone help?
Error message:
Only one expression can be specified in the select list when the subquery is not introduced with EXISTS.
DECLARE @StrXML NVARCHAR(MAX)
SET @StrXML =
(
SELECT
(
SELECT 'This', 'is', 'a', 'test 1'
UNION...
I am desperately trying to get an audit solution working with only changed values being sent to the audit table. Here is waht I have so far - can anyone please help with the two lines I've pointed out?
-- Drop objects if they already exist.
IF OBJECT_ID('TestTrigger_Update') IS NOT NULL DROP...
Here's a simple stored procedure:
CREATE PROCEDURE MyProc
AS
BEGIN
DECLARE @Query nvarchar(max)
SET @Query = 'SELECT 123'
EXEC(@Query)
END
Now the following would show '123' in the result window:
EXEC MyProc
But I want to set the output of this stored procedure to another...
I've got some audit tables populated by triggers - each audit table has an Inserted_xxx and Deleted_xxx column for each column in the original table.
Is there a good way to select the Inserted_XXX and Deleted_XXX columns only where they are different?
So if I have a table with 20 columns I...
I have a table called AddressHistory with PersonID, CaseID, StartDate and EndDate.
StartDate is a new column, and I need go through and update all of the StartDate values to be the EndDate of the previous record that belongs to the same Person.
Can't seem to get there on my own :( any help...
I get the impression that a partial class can extend existing (compiled) code. Is this correct?
I've tried to mock up a simple example but I can't do it.
Here's what I did:
1. I created a simple partial class and compiled it.
2. I created a new console app. and added a reference to my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.