Dear all,
How can I make sure that when a user closes an application, there will be no leftovers?
I wrote a vb.net application, however, I can see that even after the application was clo...
In ASP.NET 2.0 with C#
I have a repeater bind to XMLdatasource.
I have the following binding:
<asp:Repeater runat="server" ID="RPModels" DataSourceID="XMLModels" >
<ItemTemplate>
...
I have VS2005 installed on my system. I wrote a simple vb.net application with test form. I built the application successfully. However when I try to run the executable file on my PC i get the...
I have some values stored in my Web.Config and I would like to retrieve those values at runtime.
They look something like this:
<appSettings>
<add key="Value1" value="abc"/>
<add ke...
I have successfully added a databound dropdownlist to my site via standard design...
--------------------.aspx---------------------------------------------------------------------------------...
c#, generic queue, xml
I want to create a simple message queue using the system.collections.generic class specifically queue<type>. I want to store a message in the queue. I want to get the...
I have a SqlDataSource that pulls data from a stored procedure and returns 1 row with 3 values
Week
Start_Date
End_Date
When the page loads I would like to call the SqlDataSource and p...
I'm using asp.net 2.0 login controls I want to use the login name in the backend c# code, how can I get the value of login name in the code behind
<asp:LoginName ID="LoginName1" runat="ser...
I have a datargid that populates depending on a search criteria. I would like to know if it is possible at all to display a graphic next to the text or within the same column as text. I am d...
I was to use code written in C# from an Excel VBA Function. I have written a simple c# object like this:
using System;
using System.Collections.Generic;
using System.Text;
using System....
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...
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 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...
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 ...
Hi EE
can someone please help me. i am trying to get a clear definition as to how i need to implement the dippose method in my class. what i need is a clear defined list of what qualifies a...
Hi,
I am using datagridview in one my purchase order screen. I have completed Add, Update, Delete buttons for this grid but the problem is I must have a control like when moving from row to r...
I have a very simple contact form page that doesn't even have any controls on it. It has input text boxes that I would like to handle in my code-behind. I'm trying to invoke __doPostBack on my...
Hi Experts,
I have written a windows service to perform several tasks for my client a few times a day.
I first wrote the thing as a normal exe and then converted it to a Service. The co...
I am getting an error - Error: unable to load assembly when using Caspol.
Background: I have the 1st part of this in Assembly zone but did not realise this was not for .net assembly but Ass...
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 Dear Experts:
I am using FCK editor for ASP.NET in my content management system.
I use this to insert the content in FCK editor into database:
protected void ButtonSubmit_Click(...
I have a generic ICollection (lets say List<object>). I want to create a System.Collections.ObjectModel.KeyedCollection<string, object> from it.
How can I "convert" the ICollection to a Ke...
I am trying to generate client proxies for 2 endpoints using wsdl thus:
wsdl /out:Proxies.cs /shareTypes https://my.com/longpath/endpoint1.asmx https://my.com/longpath/subdir/endpoint2.asmx
...
I need to execute a javascript function when a page loads for the first time. I need it to only execute on the first page load and not on postbacks. Therefore, the way I see it, the code tha...
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...