I created a report with CrystalReport2005 in C#2005, the report contains a subreport, and the master report links the subreport by a grouping field (That is master report and sub report is related by the grouping field, ) when creating the linkage between the master report and subreport, then automatically generating a parameter in the subreport , It works well when I preview in the CrystalReport environment , but when I execute in the C#2005,it ask me to pass the value for the parameter. I don't know how to handle it in the C#, Could you help me on it?
I am new to asp.net. Iam developing a webapplication in which i use a dynamically generated table control. I add rows into it, according to the data retrieved from the database. but when i try to resubmit the values in the table to the database, only the value in the last row is getting submitted. How can i sort out this problem??
Suppose i have 5 text boxes among all , i want to edit first two with some special condition rest are can be edited when form load ... so while loading am setting some default value bit dont want to edit first two text box so what the property or code need to be applied here ..
textbox1.disabled could work but i dont have disabled property here ...
I'm adding a button to an existing app. I need to open a new window once this button is clicked. The new button has been added to an existing User Control and takes on all the attributes of the other buttons. Great.
When executing !bpmd command in WinDbg, there is error like this, any ideas?
(there is no such error, if I start to run the application, and break in the middle of running, then type !threads again. My purpose is to use !bpmd command to set breakpoint before the application runs, so this situation makes me inconvenient.)
Failed to find runtime DLL (mscorwks.dll), 0x80004005
Extension commands need mscorwks.dll in order to have something to do.
You could subscribe to the DataGridView's CellClick event, so that you know when a cell's actually been clicked. Inside the handler you get told the row and column so you can work out if it's a checkbox cell, then update your totals accordingly.
I have a form called ModifyOrder. Basically my form have 2 hashtable. I called orderTable and the other is productTable.
My orderTable stores an Order object. Below is my class for Order.cs
public class Order
private string refNumber;
private string custName;
private string destAdd;
private string destCity;
private string orderDate;
private double totalPrice;
private Hashtable itemList;
I got a attribute which store a list of items( from the productTable) into a hashtable called itemList inside my Order class
I have a datagridview which shows all the record i have in my productTable and the first columm of the datagrid is a checkbox.
When the user enter the Order's Ref Number to be modify, the datagrid wil show all the productTable. I want the first column(checkbox) to be checked if the product exists inside the Order class itemList.
How do i go about it?
I tried this code, but it does not tick the checkbox