Answer Questions
G Unot! SelectedIndex of a DataGridViewComboBoxCell?
Hi, How do I set and retrieve SelectedIndex of a DataGridViewComboBoxCell //Mohan Hello Mohan, You should listen to the DataGridView.EditingControlShowing event. e.Control can be casted to a ComboBox control: this.myCachedComboBox = (ComboBox) e.Control; In the CellEndEdit event, you should reset your variable: this.myCachedComboBox = null; Hope this helps, -Regis DataGridView developer Postin ...Show All
MADLAX How to draw a control on form designer with variable sizeHi
Hi Guys, I am trying to draw a control picked from the toolbox on to the designer surface by means of defining the first top-left and dragging the mouse cursor to the right-bottom corner point. I do not know how to do this, the drag/drop from the toolbox works fine. Is there some kind of settings i have to define first Thanks Michael You making own designer And your question ...Show All
Katie Owens Cannot find installstate file for my custom action
I created a custom action that just moves some files. It is written in vb and I use the exe for the custom action. It is not a custom install class. How do I fix this error. Which error Can you please be a bit more verbose about what error you are seeing (a quote from the install log is often also helpful) ...Show All
Guiseppi forms' linkage
Hi, I got a question on the linkage between forms. Suppose I have 2 forms, Form A and Form B. When Form A is loaded, some data is resided on it after performing some actions. When a button on it is pressed, Form B is loaded while ...Show All
Daniel Reis Delete Data Row
Hi All, I have create a form that with a datagrid, dataset and a delete btn. In the delete btn, I have write a code to delete a specific record in datagrid - datarow.delete(). However, while I try to fire dataadapter.update command, it& ...Show All
Furqanms Disappearing Status Bar Problem
Perhaps someone here can suggest something that will get me on the right trail I've got a windows app (non-MDI) with a status bar. All is well when the app is originally launched. The status bar appears as desired. But when I minimize the  ...Show All
wuboyan Growing form in run time
hello all , well i am facing one problem in the .net form.based on the data in the data base i am drawing some status graphs in the form at run time .the thing is if there is huge data in the data base then how will i& ...Show All
Spyros Sakellariadis Dataview Sorting problems
Hi, Datagrid.Sort() doesnt seem to sort integers right. My code is something like this, this is a part of datagrid event: dgProductList.DataSource = catalogXml; dgProductList.CurrentPageIndex = e.NewPageIndex; //create a new dataview with xml data DataView dvCatalog= new DataView(catalogXml.Tables[ ...Show All
Kevin Cogger MSFT MouseLeave event stops working for MDI child forms
Hi, I have a simple MDI application, where a child form is hidden and then re-displayed at a later time. After the child form is re-shown, the MouseLeave event no longer fires for any of the controls on the form (no matter how deeply  ...Show All
bhughes1231 DataGridView with MultiColumn Combo Box
C# Windows Form] I would like to have one of my DataGridView columns as Multi-Column ComboBox column. Can anyone help me on this Hi, Have you figure out how to create a multi-column combobox in the DataGridView Can you guide me through on this or do you have a sample code for it Thanks There isn't any support for this. You'll need to create your own combobox editing control/cell to do this. Check out the docu ...Show All
MrHeo Working with controlls on different forms
Hello. I have 2 forms. On form1 I have a button and on form2 I have a checkbox. When I press the button on form1 I want to check the checkbox on form2. Of course, assume that the checkbox form has already been shown. I am really stuck on this. Any ideas ! It's up to the relationship between the 1st form and the 2nd one. If the Form2 is model, you can use its Owner property. B4 moding Form2, u must set For ...Show All
phoy how can I retrieve a newly added autoincremented key index?
how can I retrieve a newly added autoincremented key index I created an insertquery in my .xsd designer. It worked perfectly. Dim AT As String = Me.AuthorTypeTextBox.Text Dim Active As Boolean = Me.ActiveCheckBox.Checked Me.AuthorTypeTableAdapter.InsertQuery(AT, Active) Unfortunately I ...Show All
VuDZ oledbCommand parameters - any particular order?
Hi all, Could anyone spill the beans regarding the order of setting up oledbparameters. I have a scenario below strCmdUpdate = "UPDATE tblPerson SET LicenceNumber=@theLicenceNumber WHERE PersonNo=@thePersonNo" Dim cmdUpdate As OleDbCommand = New OleDb ...Show All
Zwack C# Version??
This looks like a great sample, but will we see a C# version any time soon Thanks, Eric J. Smith Does the new version include the C# code for the GDI+ Controls bye Luxspes Should be out within 30 days. ...Show All
Rohland ToolStripManager.Merge does not work with BindingNavigator
I can't merge a toolstrip into a binding navigator or merge the binding navigator into an existing toolstrip. To reproduce the problem add a toolstrip and a bindingnavigator to a form and call: MessageBox .Show( ToolStripManager .Merge(toolStrip1, bindingNavigator1).ToString()); Any idea why I am seeing this behavior. The documentation mentions nothing special about the binding navigator merge behavior Thanks! Mike ...Show All
