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...
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-...
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
...
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(...
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...
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 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'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. ...
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...
I have successfully added a databound dropdownlist to my site via standard design...
--------------------.aspx---------------------------------------------------------------------------------...
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...
Hi,
I am using ASP.NET 2.0
I am creating a XML document on the fly. I need to save this file after it has been created.
Please, can someone show me how to save a dynamic generated xml ...
Any help calling a user-defined SQL function (defined in a MS-SQL 2000 database) using the SqlHelper classes/methods? I am able to call the function just like a SQL query from inside Query An...
When I worked in Framework 1.1 and wanted to get a value of a cell in a grid I would use this:
grdDataGrid.Items(iCount).Cells(13).Text
I want to do the same thing in Framework 2.0.
Wha...
Hello Experts,
I'm not sure where can I ask questions regarding Microsoft ajax...
My issue is really simple.
I have 2 update panels on the page (upanel1 and upanel2) and I would like to p...
I've been bashing a keyboard for hours on this seemingly simple task: I have created many Web Services before, and published them using FTP to my Web Server with few problems. Today, my comp...
hello,
I am having a problem reading the registry. The following line returns NULL.
RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\MyCompany");
Windows XP 64 bit
IIS ru...
Hello
I want some expert to help me and tell me
i have an a form has a print butoon that print a an invoice , what i need is to know if the user print the invoice or not because there is a ...
Hi I have the following ASP.NET page
<form id="form1" runat="server">
<div>
<asp:SqlDataSource ID="SqlDataSource1" SelectCommandType="StoredProcedure"
SelectComman...
Im reading a simple textfile with some danish text and characters, which shows rigth in notepad. When reading by TextReader the special danish characters are translated to some unreadable ones...
I am using VS2005 (without SP1) and have the following problem.
I have a page that is using report viewer and need to use a number of different report definitions. Because I have not got SP1 ...
I have placed an executable in c:\inetpub\wwwroot
I would like this application to read the web.config file in that folder and read its AppSettings using the ConfigurationManager namespace.
...
I need to store Word, Adobe PDF, and HTML documents into a SQL Server 2000 database. I was hoping someone could share an example of uploading and retrieving document images written in VB using...
I have a ASP.NET 2.0 Web application. I have a SQL Server 2000 Database as my backend. I'm using the gridview control with multiple key fields 9 to be exact. My question is what is the maximum...
Hi,
We are writing transactions and rollbacks if update queries are not successful, but have been writing this in vb.net. Is it not better to write this at the database, stored procedure l...