Hi folks. This problem is driving me bananas. I have a simple asp.net 2.0 form, with a dropDownList and a textBox. Input into the textBox is required, but selection from the dropDownList is no...
I have created a DLL. That DLL contains static variable like public static string sConnectionString. From Program1.exe I am assigning the variable sConnectionString = " some connection" at run...
I have the following that needs to be in the
public static DataSet ReadExcelFile (string FileName)
{
string strConn;
strConn = @"Provider=Microsoft.Jet.OL...
Ok, this is probably an easy question, but here goes. When you add to the DataRowCollection of a DataTable, it says that there are two overloads:
1) DataRowCollection.Add(params object [] va...
hello all,
I have a simple login page and I have requiredfiledvalidation on each of the text boxes. What I want to do is display a message in the validationsummary from the code behind pag...
When the edit button in a gridview is clicked the row is now editable with text fields. I want one of the fields to be, instead, a drop down list.
I also forsee a problem because the gridvi...
string DirectoryName = Directory.GetCurrentDirectory();
string AppPath = Application.StartupPath.ToString();
Bitmap CWBLogo = (Bitmap)System.Drawing.Image.FromFile(Ap...
Methodology for the generic function in software engineering??
Hi,
I would like to inquire your guidance on sotfware methodolody.
I took one software engineering class a while back and ...
Hi All,
all what i want to know, can i call or open application (exe file) programmed in visual basic 6 from my c# application. ??
if i can, please tell me howww
I have an array with integers between 1 and 1000,000. One integer is will appear twice. I need to write a function that finds the duplicate integer and returns it.
Therefore it could be 45...
I have to change the type of document in excel using C# to Landscape format.
Any help would be great.
Hello All,
If I am using tabs in IE or Firefox and i go to a site (eg. yahoo.com) IE will open that window in a tab. Now from the yahoo site if i click on a link that opens a new window th...
I have the following:
clsGenerateAdvPricing.GenerateAdvancedPricingLoad(_statusType, _priceListHeaderID, _effectDTM, _sctPriceListName);
clsGenerateOPM.GenerateOPMLoad(_statu...
I will receive from the client a public key (exponent and modulus) and I need to encrypt a string with the given key to send the data encrypted.
I need to use RSA / PKCS#1
I'm having som...
I've done an application that use ado.net (sql Server). When I run the application, the first time I need to create a profil (user) and the second time I just enter my login/pwd. After I can m...
I have the following code and I'm trying to make sure it adds only to a listbox if it finds the .PLT file extension. For some reason its still adding all the files it finds. I would also lik...
I am learning WCF and looking at some sample apps. There's basically a host, client and a library.
I want the host to log all incoming requests (calls) from the client. Which event(s) should ...
The term 'ToUniversalTime' would seem to mean a conditioning of a datetime format to a common datetime format.
Problem: I need to do dateTime subtraction and need both datetime's to be the ...
Hi all
I have number in a winform textbox. On textbox leave I want to do the following conversion.
Convert 2. should be converted to 2.0
111. to 111.0 , 33. to 33.0 and so.
...
I'm new to the object oriented process and want to develop this program in C#.
I have a textbox with the application's source path within it and a button to browse for another location.
B...
I have a Windows/SQL application written in C# .NET VS2005 English using XP Pro with regional settings / options as 'English(United States)'...
Problem: My client in Mexico has regional set...
Experts,
I'm trying to create a file using the following code, which is not working, please help:
string path = @"C:\automation\automation.log";
if (!File.Exists(path))
{
File....
i am using visual c# 2008. i have added reference to excel object library 11 and everything works fine, or should i say worked fine until i came to know that i cant get row.Cells... have a loo...
I am currently using .NET Framework 1.1. We have a website that has the HTML in ASP.NET and the code behind in C# in a dll. We would like to unit test the code in the dll. However, we cannot a...
I am developing a software using vs2008. for my software i have added a service-based database by right clicking on project name in the solution explorer and clicking on the add new item. foll...