On my local machine using IIS 5 (winxp) and visual Web Developer, I've built a beautiful and well composed website using MVC.
Now to deploy to the testing server. I find out that it does not have MVC installed - Error:-
Parser Error Message: Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyTo...
I have a DataTable which I select from database(Well,these data cross several tables,after the query and putting into a DataTable,it shows at below)
ColumnA ColumnB
a 11
b 33
b 44
a 22
b 55
but I want to transform it into an XML like...
Hi,
I know how to implement multithreading using c#. But I want to know how is it working like.
will only one thread run at a time and when that thread is waiting will it execute the second thread?
If the second thread is executing and the first thread is ready. What will happen?
Which thread will be given the priority?
I am confused...
I am doing projects on ftp. On my client side they have ssh. Until now I done application without ssh, I don't know how to transfer files over ftp when there is ssh over
it.
I want to do it in C# 2.0. How to do it? Any information regarding this will be very helpful.
...
I'm updating an existing page that makes use of the asp.net wizard control. I'm adding an optional step that will allow the user to upload a file.
I'm already past the first issue: I don't actually want to use the file until the wizard's finished button is selected, but I have to upload the file from the new step rather than the fina...
I'm populating a Repeater with a PagedDataSource and after I populate that Repeater, I want to perform some other operations on the subset of data that makes up the page I'm sending to the Repeater (my CurrentPageIndex, PageSize=10).
So my question is how to get at those 10 records?
From reviewing MSDN, it looks like I should be able t...
One of our applications recently got installed in a system that is tightly locked down.
On startup, the application tries to modify the registry at HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\AutoDetect. There are no known references to that location in the source code. In fact the application in question sh...
i have two textbox in asp.net and first for password and second is for matching password .. if user give different value in both textbox , then i want to generate javascript at client side..
...
I'm using Facebox for pretty facebook style popups and I was wondering if there is any way to use it with an update panel inside of it?
I have a div in a page with two drop downs, and the second drop down depends on the selected value of the first drop down. I put these dropdowns inside an UpdatePanel, and I would like to be able to sho...
Hi all,
I need to have different options to optimize performance and speed up web application.
Basically I need for asp.net web applications.
What do you follow while building an web application or website considering performance of the website or web application ?
Please help with suggestions.
Thanks in advance.
...
I can’t made my .NET 2.0 applications (and services) to load their appname.exe.config files on Windows Server 2003 Standard Edition SP2,
I tried to create manifest like this but it didn’t worked
EDIT:
Appname.config is located in the same dir,
App works without any changes on Windows XP, once we move files or use setup to install i...
Hello there, I'm having a problem with subsonic quey. The deal is, I have a View and I want to query it's data to produce something like the following SQL statment:
select * from myView
where (col1 like '%a%' or col2 like '%a%' or col3 like '%a%') and
col4 = 1 and col5 = 2
But instead the query that is submited to the DB is somet...
I'm trying to determine the currently selected portion of the date (or time) editor. I need to to provide custom action when the navigation keys on PDA are use. In particular i want the focus to go to the next control when pressing Right button and having the last portion of the date selected (e.g year). Default behavior is cycling throu...
When setting up the Ajax Control Toolkit's AutoComplete control, it creates an AutoComplete.asmx and a AutoComplete.vb file. The AutoComplete.vb file automatically ends up in the App_Code folder. I was hoping to move all of these styled-classes into a separate namespace, but the compiler simply does not dig it.
Is this possible, or ...
I'm creating menu items in a separate thread and adding them to the menu created in the main thread. I'm using Invoke for that. Getting "Value does not fall within the expected range" exception.
//creating new thread
Thread thread = new Thread(LoadRecentTasks);
thread.IsBackground = true;
...
LinkedList.Contains method. (.NET 2)
How the objects are compared inside? (Equals? CompareTo?)
MSDN tells nothing about.
the situation:
interface IClass
{
string GetName();
}
class Class1 : IClass, IEquatable<Class1>
{
public string FirstName;
public string LastName;
string IClass.GetName() { return FirstName; }
...
we all know the slow way:
foreach..
...
How can I enable/disable an asp.net form/controls selectively or entirely from code-behind?
The following code is not working. Coz there is no Enabled property in this case.
public static void Disable(Page container)
{
for (int i = 0; i < container.Controls.Count; i++)
{
container.Form.Controls[i].Enabled = false;
}...
Hello.
.NET v2
When the List has a very useful (4 me) method AsReadOnly()
the LinkedList does not have such a method.
Is there a way to "quickly" interface an internal LinkedList to read only from the external code?
...
I have a localised ASP.net application (.net 2.0). I wish to concatenate 2 strings retrieved from the resource file together into one element, something like this.
Text="<%$ Resources:Resource, lw_name %>" + <%$ Resources:Resource, lw_required %>"
I have tried using Eval without success. Is what I am trying to do the "correct" approac...