I have two somewhat related DataGridView that contains checkboxes. After the user checks off the items they want and clicks submit, I want to add the items to an array or List, send these two...
I am hitting an error when the 'workerGetFileList.RunWorkerAsync();' initially runs. I would expect the 'workerGetFileList_RunWorkerCompleted' to be successfully called after hitting the error...
Hi EE's
I'm facing following problem. I have to configure the EventHandler of a ToolStripButton with a string (or any other object) coming from a XML. How can I give the corresponding dll, ...
I have the following:
private void Mode1_SaveUpdatePriceListHeader()
{
// Do an update on PriceListHeader
MessageBox.Show("Updating to database");
// PK PRICE_LIST_HDR_ID
dr["PRICE_LIS...
Hi,
I created a asp.net webapplication and i wrote a code to access a directory in a remote server and get the doc files. when i run the code in the visual studio environment in my syst...
I have written a utility application in Visual Studio 2005 C#. The utility runs in the task tray, and is auto-run when the machine is logged onto by a user (via the registry). The utility mu...
I have two datagridview questions. 1) how do I set up a doubleclick event on a datagridview, so when a user doubleclicks a cell only in column x, it gets the contents of the cell as a string.?...
What is the maximum number of nodes that can be added to a C# treeview, and still be able to scroll ALL the nodes added?
I am connecting to an Access MDE database but I will need to support both OLEDB and ODBC.
I have a function that returns an individual's user name against the database from the supplied ind...
I am trying to load a form with a button. This button will have countdown text on it, that when the time elapses will close the form. I am using a delegate to update the button's text from a s...
I have a PictureBox displaying a given image, but would like to have it display a different image depending on the value is a database.
How can I get it to display a different image? How d...
I have the following:
private void ProcessSpreadsheet(string filename)
{
Microsoft.Office.Interop.Excel.Application xlApp;
// Excel application object
...
Hi,
I would like to check when a user selects the value 'Closed' from a drop down box and clicking on the button submit to do the following.
(Note: at this point the data for a particula...
I have a DataGridView where one of the columns is "Status". When the user selects a record, and processes it, and the status changes. However, we are having many issues with the status column ...
(This is a C# client/server app)
I have the following string variable
sTripUpdateSql = "Update trip set " + dc.ColumnName + " = " + sqlValue + " where TrpId = " + dr["TrpId"];
I need ...
My c# pgm/exe file resides on network share. (\\share1\mypgm1)
I've a batch file located in my c drive.(C:\userinstall\run.bat).
Whenever I run the pgm/exe on network share from my machine, ...
I have the code below in which I am trying to start a method in another class. I am getting the following error:
No overload for 'doPricingService' matches delegate System.Threading.Para...
Hi,
I'm reacquainting myself with C# after a quick foray a few years ago and am playing around with ListView. In this ListView, I am displaying nine columns of data.
I would like to kn...
This is the second follow-up question to cell painting. If you are new to this thread, I am trying the change the color of a cell in a datagridview based on its content. The problem I am run...
Hi,
I need to add a little JavaScript function in a C# asp.net file (part of a website).
This file doesn't allow for the <head>, <body> or <html> elements. It gives me the error:
"Only ...
I ned to verify the contents ofa databable. How do I iterate through one? I try to use a foreach with a DataRow, but the compiler does not resolve it.
thanks,
newbieweb
Background:
I have read many MSDN articles and chapters in several books (I have a Safari subscription) about events, delegates, lambda expressions, and threading in .NET and C#. I can succes...
Exception message: Server was unable to process request. ---> The entry 'Formatted EventLog TraceListener' has already been added.
At runtime, I wish to set the DataGridViewComboBoxCell's DropDownWidth to a value that will show all contents without being cut off.
Is there some function that I can use to find out what w...
Hi,
I have developed an windows application and I am gonna install it in client machine which is not having Dot net frame work. I want to bundle framework2.0 with My App, which should be i...