Hello,
I've written a simple application that sets every second the mouse position to location (0, 0). Hovewer, when I run this program as a normal user, or as an administrator (RightClick-...
Hello,
I use many dataLists and DropDownlists in my application. I can bind them to a stored procedure with no problems. My issue is, how do I add an empty row so nothing is selected at the...
Hi
I have ten textboxes on a form to which I'd like to paste in data from the clipboard. The clipboard contains 10 cells copies from an Excel spreadsheet or 10 lines from a notepad file. Ho...
I am trying to create HtmlInputFile controls on the fly.
Basically, the user will click a button to upload a file, a postback will happen and an input form should appear.
I want to make ...
I have two user controls. First one has a checkbox and client mailing address. Second one has a client shipping address.
If a user click on the checkbox, I want 2nd user control holding shipp...
I'm having a problem with sessions persisting via cookies going from standard http to https SSL mode. The problem is that my website gets surfed with http://www.mydomain.com. But then when goi...
Morning guys,
Just trying to move an ASP.net web application onto the web server (external people need access) and I get this error:
Configuration Error
Description: An error occurre...
Hi Experts,
How do I check what level of trust a specific dot net assembly is run at?
Please note that my problem is on a client machine which means that I have not developement tools in...
Hi, i am building an ASP.NET application
there is Global.asax file
void Application_Start(object sender, EventArgs e)
{
Session["PermanentlySatOFF"] = result;
}
...
I basically have two questions here...
If an application was developed using .NET Framework 2.0, can it be run on a machine that only has .NET Framework 3.0 installed?
And if an applicat...
I am using Visual Studio 2005, .NET framework 2.0. I am creating an XML file by serializing an object (see code snippet). That works fine, I get the expected output:
<?xml version="1.0"?>...
Hi all,
I have a page that inherits from a master page and what i would like it ot do is that when the page loads i would like the print dialouge to open so that the page can be printed.
...
Hi,
Can you please let me know
1. What is signing of assembly ?
2. Why it is needed ?
3. How it will be done ?
Please provide simple explanation (In Plain English) by which i can un...
Problem sending SMTP mail form my smtp server using asp.net
Error Message:Command not implemented. The server response was: unimplemented (#5.5.1)
I'm trying to get the Oracle Session State provider to work with an existing project. It looks like it should be simple, just install the client and add a few lines to your web.config file. ...
Hi
I've got many textfields which are limited to numbers being entered with the following in the KeyPress handler (got this code from internet)
Dim KeyAscii As Short = Asc(e.Ke...
I have been moving web apps from two old servers to a new box. All has been fine until now.
I have an issue with a site based on .NET 2.0. When the site loads you get " Unrecognized confi...
This is driving me nuts! I have had a sniplet of code that has been working for awhile but now it has stopped working and I can not figure out why. All I am trying to do is convert a TextBox v...
Hi there,
I was wondering, how would I be able to turn off the viewstate on a page?
I've tried:
<%@ Page EnableViewState="false" %>
and
<form runat="server" enableviewstate="false">
...
I have the following code snippet that is working to send an email via smtp. I would like to use an appconfig file to store the host,and to and from email addresses.....I cant seem to figure ...
I have a gridview with an asp:TemplateField containing an ItemTemplate. Inside this ItemTemplate I am trying to embed some data that comes from the database so that the user never sees it, bu...
Can anyone explain and give code example of how to convert a text box contents to a hashed code using System.Security.Cryptography, as simple as possible please, don't want mega security, just...
Hello,
I have an unusual problem related to Windows Services which I havent been able to solve for a few days and thought I should ask here. Any help is very appreciated.
I have built...
In ASP.NET 2.0; how do I define the connection string for a text file (abc.txt) that's in the App_Data folder?
I tried the following code and it does not work.
<add name="ConnStrText...
Hi,
We're developing a web site using asp.net 2.0 that make asynchronous calls Web service applications that we developed. Code is shown as follows:
Dim ws As New service.SamplingService
...