I am trying to find an easy way to copy files in C# across servers/domains/account. I assumed that this would be an easy task until I started researching it about 4 hours ago....
The basic...
Hi Experts
Hope you can help here. I have to admit I think this is a dumb question but I have been out of the Visual Studio Game since 2000 so please help!
Ok here is the problem. I have...
I have the following code.. On right click, it brings up a nice pretty context menu..
However; This rigth click event is not tied to the TreeView Node, so that anywhere i right click brings ...
I have 5 dropdownmenu to get the year, month, day, hour and minutes in the following format:
2008
09
17 (= 2008-09-17)
11
15
00 (= 11:00:00)
so, they can be formed as 2008-09-17 23:...
Hi I am writing my first c# winforms application. I am trying to read the connection string from an app.config file that looks like this
<?xml version="1.0" encoding="utf-8" ?>
<configurat...
Hi -
My datagridview has two editable columns. I am doing cell validation to ensure cells are populated with data. The datagridview displays multiple rows. Now, lets say the last row is hig...
Hello guys,
I have a string in the following format.
37.6356141828677,-119.026451960508;
37.6355202516414,-119.026345176074;
37.6354248587871,-119.026240478262;......
I want to conv...
Good morning.
I'm trying to connect a SQL Server 2005 Express Edition database to a C#.Net program. However, the connection won't go through. I've already checked with the DBAs, but the u...
I need to create a datagridview where one column is a checkbox. I need to do this dynamically and inside a windows form so, I can't drag and drop the checkbox to my datagridview. I need to und...
I want a class that returns an array of strings, but I don't know in advance how many elements the array will have:
using System;
using System.Collections.Generic;
using System.Text;
n...
Hi All,
I am writing a program that opens up excel 2003 template files (.xlt), modifying a certain string in the codesheet, then saving the changes automatically. So far I have the program...
Can anyone tell me why the following code doesn't work? I am getting the following error: Cannot apply indexing with [] to an expression of type 'System.Collections.ICollection.
Hello, I have the following statement to pull out email addresses from my db depending on selections made from a ddl list (I have added txttest to test that email is being retrieved). I would ...
Hey guys,
Ok, I've got a Windows Application, and I need to figure out how to add colors to my drop-down combo box. I had started a question on this before, but had to put this on ...
OK, I have a very nice TreeView, nodes, and many levels deep
What i want to do is to save my TreeView to an XML File.. I am guessing this uses some type of Serialization
My undestanding is...
Hi
I need to upload a csv or excel file which has one column (A) to an aspx page.
It can read the row data one by one and insert into MSSQL DB.
After the row of data inserted into MSSQL D...
Hello,
I have a drop down list of languages.
Polish for example is: pl
I'm not specifying the country like: pl-PL
I would like to change the language, however I'm getting an error when d...
Ok, I have a dataset that I bind to a Gridview. Part of the gridview is a template field with a CheckBox. What I'm trying to do is simply check to see if the box is checked. I've tried various...
I am writing a service in C#. It needs to take couple of command line arguments. If I add these to the "Start Parameters" within the service properties, then I cannot save those. Is there anot...
Hi,
I have a nice method I created which reads some data from a database and creates a nice formatted XmlDocument where I can search for what I need.
However, it is slow.
Doing some digging...
Hi,
I have a list box that is binding a table in access database. I have coded to add new data into the table.
After entering the data I use this: Response.Redirect("ProjectF.aspx");
...
I have developed a web site in ASP.NET to share files. Users of this site should be able to upload files with no size limitation but browsers and IIS has got a limitation of 2GB, also ASP.NET ...
Dear EE Community,
I am experiencing a problem with a user control object. This is what I have:
----------------------------------------------------------------------------------------...
hello experts,
i am using a datagrid inside accordion pane.I want to bind the dagrid to a datasource for which i need to find the control inside the
content template of accordion.
...
Is there a way to set the modal dialog title in the modal code behind?
For instance, in the caller window I have:
lnkBookr.OnClientClick = String.Format ( "return window.showModalDialog('...