Answer Questions
ThunderRock Datagridview: Cell with more than one value from DB is readonly, what can i do?
I have a datagridview with a DataTable as Datasource. One value in the select-Statement is build like this: value1 + '|' + value2 as value. I use the values for different things: First value is the string to be shown, based on the second value i set the background-color of the cell... (works fine with the paint method of the cell). Now I have a form which is shown by the onMouseClick-Event. From here i can set new values and write ...Show All
PNT Creating Arrays of Controls in the Designer
Hi, Before trying it, I thought I'd put this question to the group... I have 3 combo box controls, and I'd like them in an array (maybe I'll add one or two later on, for example) Now, the Windows Form Designer Code is 'untouchable', yet this would seem the only way I can achieve it. eg. private ComboBox combo1; private ComboBox combo2; private ComboBox combo3; If I could change this in the Code Editor, I would probably just ...Show All
Leeland Clay cant auto download third party components?
my project requires me to host controls in IE. and the project uses some third party components. during testing, i found out that if my client side pc doesnt have those third party components installed, it will fail to load the control in ...Show All
Robert Pinkerton Dynamically instantiating COM modules
I am working on implementing the Profibus Guideline specification. This specification defines several com interfaces that work together as a framework that enables a plug and play kind of architecture. The plug and play happens when the "frame application&quo ...Show All
Paulo Sebastiao DataGrid adding a row
I have a table with three columns: Code, Description and SortOrder. When I display the table in a DataGrid, I don't show the SortOrder column, but rather handle it programmatically through "MoveUp" and "MoveDown" buttons. However, when t ...Show All
Grahamrounce Parent - Child windows
Hello all, i think this is pretty easy question for you, but i have no idea how i can do it. I want to have a windows application in which the main window will be always open and the "child" window will open inside the main (all the children windows will open inside the main). Something like a form with some menu items and when you click on them they open other forms in the main window's area. How can i set that the main window will ...Show All
xty How can I resolve DataGridView and CDialog bug
To reproduce bug: Insert DataGridView into VC++ CDialog, using CWinFormsControl class. Set Grid::ColumnCount = n to show edit row. Run application. In DataGridView try to input any string into any cell and in edit mode go to an other application (by Alt+Tab or mouse click). When you go back, the DataGridView application will be not responding. If you want minimal sample project, please contact omega-skartashov@comped.it The bug is re ...Show All
Giuse Please Help !!!
How can I tell when a form is in design mode Please Help !! -Andy Moyer DesignMode is a protected property defined in System.ComponentModel.Component, from which System.Windows.Forms.Form is ultimately derived. And please don't YELL. ...Show All
Scott_Morrison Filter/Search records in DataGridView?
How can I filter/search records in DataGridView after filling it with data The BindingNavigator provides default functionality for navigating, adding, deleting and saving records. Is there anything available for filtering/searching records Is there any Filter Bar available in DataGridView control similar Component One True DBGrid control Thanks Hi Check out the following link. It may be helpful. http://forums.microsoft.com/MSDN ...Show All
CMick How to convert string representation of a parameter's data type to actual DbType
How can I convert string representation of a stored procedure's parameter's data type to an actual DbType, see SqlDbType For example, I read "NVarChar" form xml configuration file and need to convert "NVarChar" to SqlDbType.NVarChar, so I can ...Show All
Kanhaiya RAD datagridview...can the same be done with textboxes?
hiya, I've been impressed with the way that I can use RAD databinding with datagridView and datasets. I need to do the same thing in a VS2005 app where the gui consists of simple textboxes. The underlying database table is a single PK table...simple, simple, simple. Is it possible to do this in a RAD way, or do I have to manually assign all the datasetValues to the textboxes many thanks, yogi ...Show All
Naiara What is windows message loop?
hi what is the windows message loop in easy terms. Thanks (somebody correct me if im wrong) windows is an event driven operating system, when ever you do something like moving the mouse, clicking the form/window etc.... triggers an ...Show All
panda2 Stupid ?
How do I set the width and height of a control example I have a panel i want to , in code, set the width and height. I have; With pnl_Welcome .Location = New Point(4, 3) .Size.Width = New unit(100) & ...Show All
Tore Birkeland VS 2005 CheckBox bound to SQL Server 2000
Using VS 2005 beta 2. I did a drag and drop of a data source table that points to an existing SQL Server 2000 table. I want to use a chekbox with a few fields. They are defined as smallint and have nulls, 0, and 1 in the exisitng data. The chekboxs show up OK on the form in IDE but at runtime they do not track the data values. If I add a teckbox instead the data displays OK. When I click on any of the checkboxs in run mode the program hangs. I ...Show All
ra00l VS 2005 CheckBox bound to SQL Server 2000
Using VS 2005 beta 2. I did a drag and drop of a data source table that points to an existing SQL Server 2000 table. I want to use a chekbox with a few fields. They are defined as smallint and have nulls, 0, and 1 in the exisitng data. The chekboxs show up OK on the form in IDE but at runtime they do not track the data values. If I add a teckbox instead the data displays OK. When I click on any of the checkboxs in run mode the program hangs. I ...Show All
