I have tried a bit back and forth but can't find an easy, fast and reliable way of solving my problem (nor one that works). I was hoping someone out there might have tackled this themselves ea...
So I've got a HTTPWebRequest based app written in C# that posts to php page. The file makes it to the web site no problem, but the form variables are blank. The names of the form variables are...
I have a dataset with Day, month, and year as columns. I want to add a new column called DT that adds all three columns. A similar question on VB.net has also been posted, but Im not getting...
I found the below - which gets the max value of an array - but ow do I get the minimum value of the array?
Experts,
I have various books that I'd like to store in an ArrayList. I know how to add elements to an single dimension ArrayList, but not a multi-dimensional one.
Here's what I need
...
I changed the code below to use SelectedItem. I wanted to remove the loop.
But my one line of code doesnt work. I see the value but when the page load, the ddl still has "<select item>".
...
I need to run my application via UNC path, but when i do, i get an error.
Exception Information
Code: 0xe0434f4d
Flags: 0x00000001
Record: 0x000000000000
Address: 0x000000007c812a5b
...
Hello, I'm new to Visual Studio 2005 Pro and to C#.
I'd like to create a simple application in Windows that will store its data in an XML database and display the data in Grid (DataGridView...
Hi
I have a string PK (CustomerID) that gives an error when I query using a CustomerID which contains apostrophe/s. I figured, I need to strip both my parameter and its match in database. C...
I need to export an infragistics datagrid to a pdf document. I am using Infragistics 6.1 and dotnet framework 1.1. Can anyone please help me out. All the solutions i get are for framework 2.0 ...
Dear experts,
I got this error below while trying to connect to local SQL 2005 database.
An error has occurred while establishing a connection to the server. When connecting to SQL Server...
Hi,
I have to code a .dll in c# that will create/manage user in our active directory.
Everything works great, except one thing. Im not able select "Allow access" in Dial-in tab.
I try thi...
In the example below I need to use sr.ReadLine() to read the lines out of a text file. Sometimes I may want to back the position of the streamreader up to the beginning of the previous line, s...
Hi,
Here's some background info: I've got an app which interfaces with a scanner, saves the scanned pages as images in a user-specified format, does some processing on those images and "upl...
Hello,
I am trying to print the contents of a ListView in C#, using Visual C# Express. I have no idea where to start, but I can't seem to find any good articles that explain it well. How wo...
I have SMPP connection for sending SMS. I need to write an application by which I can able to send bulk SMS.
Please send me some code in C# language to help me out.
Thanks & Regards,
Hi,
I'm creating a .pdf file from a byte[] blob.
It all works fine and I can save the file in c:\myfile.pdf and open it there.
How can I:
1. Make Adobe Reader open the file directly
2...
Hi,
I'm running an external server using System.Diagnostics.Process, the problem
is that this server spawns another process.
So far I am only able to close/kill the first process but not ...
So I have a splitContainer and for whatever reason I don't see the AutoScroll property.
I would like to make this splitContainer scrollable, so the left and right sides will have scroll bar...
Hi,
I'm trying to get the screen position of an external application that I have no control over (ie: Notepad). I then want to show a form at this position. I have code that is working, par...
I have a C# program that has one form.
I've set the form's ControlBox property to True.
I've set the Icon to the particular icon that I want. It has an extension of .ico and is 32 x 32 pixe...
I consumed on javawebservice in one library project named client Dll like this by using wcf service reference.and writeen the methods in that library.I used this clientdll in another project l...
I'm trying to write a C# function that will return the full name of the user who is currently logged into the machine. I was able to generate an example using WMI Code Creator (see attachment)...
Hey guys. I've got a question regarding SqlDataAdapters. That question is how to wire up an InsertCommand and UpdateCommand for an untyped DataSet on the fly *WITHOUT* using the designer.
...
The requested database Data Source=SCWB2.WPG.CWB.CA;Persist Security Info=True;User ID=mxcupryk;Password=xxxx;Unicode=True is not defined in configuration.
try
{
...