I am trying to pull data from a table that has production volumes by date. What I want to do is create a crosstab with the different operations as rows and consecutive weeks (beginning Jan 1, 2007) as the columns. For example:
Seq Wk1 Wk2 Wk3 Wk4...
100 50 75 80...
Currently I have a pdf file of a label that we place on our packaging. What I would like to do is add form fields that a user could enter info in prior to printing.
My question is this - the label itself is pre-printed with blanks for filling in the serial number, description, etc. We've always...
Here are the EditText and UpdateText functions. As I've said, they couldn't be much simpler:
protected void EditText(object source, DataGridCommandEventArgs e)
{
DropDownList LEDropDownList = (DropDownList)Page.FindControl("LEDropDownList");
string stproc;
string connParam...
I have three functions (EditText, UpdateText, CancelText). Calling the EditText function allows the user to alter what values are in the datagrid. The UpdateText function should turn off the "edit mode" and show the updated values in the datagrid (without texboxes in each column). The CancelText...
That's exactly what I want to do (update the datagrid, but NOT the database).
In my update function, I have removed the Databind call, but the row still stays in edit mode (text boxes with edited data still active).
What I want is for the update function to save the changes in the datagrid...
I have created a ASP.NET datagrid (c#) that is bound to a SQL Server DB. Upon initiation, it populates a number of columns with data from the DB. I would like to be able to edit each cell and save the results in the datagrid without posting them back to the DB table. My application is based on...
I am trying my best to find some example for inserting text into a Word document's Footer using VC++ 6.0. It seems I can find an example on using Word Automation to do just about everything but this.
A simple example would be greatly appreciated.
Thanks in advance!
I am very new at c# and this whole .Net thing. I've been programming in c++ for years and have been asked to write something in c#.
Here's my question...
How do you add a column containing a button for each row in a datagrid? Does anyone have a sample I can learn from? I found one and can get...
I'm using a Listbox (multiple selection) to allow a user to select a number of different Purchase Orders to process. This is fine if there are only a few. However, towards the end of the month there can be thousands listed and if I want to process the first 200, the user has to select them one...
I've been trying to return data from an ODBC database and display it in a tabbed dialog (property page). The code compiles just fine, but I get a runtime error during execution. Specifically,
ERROR MESSAGE:
TRACE0("ASSERT_VALID fails with NULL pointer.\n");
if...
Could one of you tell me where I can get an example of using Property Pages to display/edit database info through an ODBC connection?
I created an app that worked using a single dialog, but errors out after converting it to a tabbed dialog format. I can't figure out how to get the database info...
prem_gali,
I still don't know what I'm missing. I'm sure it's something obvious but I can't seem to figure it out. I have 2 classes in my app (that are significant to this). CEmployeeListSet (derived from CRecordset) and CPersonalData (derived from CPropertyPage). I use CEmployeeListSet to...
I've been working on this little project for weeks and I'm stuck.
I have created a dialog that has three tabbed property pages. Each one contains text boxes for entering different types of data for an employee. Each employee has a single database entry (1 row) that lists all the information...
I've been working on this little project for weeks and I'm stuck.
I have created a dialog that has three tabbed property pages. Each one contains text boxes for entering different types of data for an employee. Each employee has a single database entry (1 row) that lists all the information...
Cool. That works great [fairly great :) that is]
When I press the button to copy the selected value to the other CListCtrl, the item previously selected (and copied) disappears and the new one appears 1 row below where the previous one was.
How do I keep the CListCtrl to "remember"...
I'm sorry. Could you show me some sample code for doing this? This control is new to me and I haven't figured out all the details yet (obviously).
Thanks
On pressing a button, I would like to move data from a 3 column CListCtrl to another 3 column CListCtrl. This is what I've done:
CListCtrl *pChoices, *pSelected;
pChoices = (CListCtrl *) GetDlgItem( IDS_CHOICES );
pSelected = (CListCtrl *) GetDlgItem( IDS_SELECTED );
CString sSerial...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.