I'm using datagridview in windows application developed in C# VS2005 .net 2.0.
Datagridview is provided a list of business objects. It take annoying delay of 2-3 seconds before starting displaying the rows in datagridview in falling-curtain fashion. When I switch back to my application from any other window it start repaint process in t...
Howdy, using vs2008 winforms.
I want to be able to use a slightly customised datagridview but cant think of a way to do it.
i have
1. a sqldataadaptor fill a dataset
2. a binding source bound to the dataset
3 a datagridview with the bindingsource set as the datasource.
I want the binding to allow sync between the dataset and datagridv...
I am currently developing an application for an angle measurement device (goniometer).
A DataGridView component is used for configuring nominal values (and tolerances) for the measured angles. The user shall be able to enter the angles in various ways, such as 2° (for degrees) or 120' (for minutes of arc) or 7200" (for arcseconds). For t...
I've got a subclass of DataGridView that adds all the columns it needs in it's own constructor, but when I use this component in the VS designer it insists on generating code to add the same columns on top of the ones added in the component constructor. How do I force it to not generate code for columns it already finds populated inside ...
I am writing a packet analysis app using C# and putting the packets coming from network in the datagridview, but once it starts populating, datagrivdview scrolling becomes like shown below in the image and I am unable to score? How I can fix this?
Basically the problem is that the data is coming in very fast so maybe it's not able to ha...
I've been looking for a databound control to show some data to the user, who needs to be able to filter and group the output. I've looked at the documentation for the standard DataGridView control, but it doesn't seem to have the drag-and-drop grouping/filtering that I've seen in many apps.
For an example, if anyone uses Toad to do SQL ...
Hello!
I have a small/big problem... I'm tring to bind some comboboxes, datagridview and bindingnavigator.
My situation:
I load all table and data from different tables into ONE DataSet! Let's say there are tables "MAIN_TABLE" and "COMBO_TABLE".
then I'm doing this:
DataViewManager dsView = dataSet.DefaultViewManager;
...
I have a DataGridView which contains two text columns and one checkbox column. If the user increases the font size in Vista or Windows 7, the checkbox is no longer visible. I set the AutoSizeRowsMode to AllCells and that fixes it initially. However the rows in the grid are editable, and if the user clicks a row to edit it, the checkbox d...
I need to get DataGridView column sizes without showing the the grid (for printing). I'm using data binding through DataSource (using BindingSource doesn't seem to work too).
For whatever reason I get wrong column sizes. If I show the grid in a form first, everything is fine. If I try to get column sizes after setting no DataSource and ...
Hello everyone,
I'm stuck on a stupid problem
I have a datagridview where i add rows using array like this:
Dim srow() As String = {getIDprodus(cmbprodus.Text), cmbprodus.Text, getprodusforma(cmbprodus.Text), txtcantitate.Text}
griddetalii.Rows.Add(srow)
Next, i need to let user to modify the added row. So when user selects a row and ...
I want to design a DataGrid in which I have option to "Group by" or "Arrange by" filtering, just like we have in outlook. In outlook or windows explorer we have option to change the view in accordance with what is selected in Group By option.
I am wondering if any one have any idea of this type of implementation or any open source in WPF...
in one of my forms a datagridview displays data from a database (of course the number of data (so number of rows) can change). The database connection is in the form load event. I just cant figure out how the height of the whole datagridview is autosized, depending on the number of rows it displays.
...
I need to have a DataGridView with a ComboBox column. The DataPropertyName is a text column from a dataset. The combobox contains a few values (in a separate dataset) that the user should be able to select, the displaymember and valuemember is the same column.
Now, my problem is that the table beeing edited contains some values in the...
When i use the results of a linq-to-xml query to populate a datagridview, i cannot edit the datagridview. i've tried setting the datagridview's readonly property to false and that doesn't help. I also added an event handler for cellBeginEdit and put a breakpoint there, but it doesn't get hit. Any idea what i'm doing wrong, or if this ...
Howdy
using c#, vs2008 winforms
I have a datagridview that i am programtically binding to a binding source, that is bound to a dataset with 1 table.
After filling the dataset using the sqlAdaptor, i want to add a new column to the dataset, and in the new column populate it with a result derived from a call to a custom method in the fo...
I have a windows form with DataBound DataGrid on it. Bound to a list of objects. One of the objects property's is a boolean. So the grid shows it as a Checkbox.
When I click on the check box the tick appears or disappears but does not update the underlying data, until I change rows.
This is a bit counter intuitive, is there fix?
...
I have a table that has two time columns. One is a login time one is a logout time. I would like to be able to filter between the two, basically greater than the minimum selected and less than the maximum selected. I am using a monthly calendar to get me the spans of time but it is not working correctly. From there I would like to add th...
I have a ListBox and the user adds selected values from it to a DataGridView. I don't want duplicates so is there a way to check if the value from the ListBox already exist in the DataGridView?
...
I have a DataGridView populated with a BindingList. This list gets saved into the Settings file. It saves and loads correctly.. but will only save the first time I call Properties.Settings.Save(). After that, calling Save() will do nothing.
I have verified that Save() is being called, and that at the time it's called the BindingList ...
I have a UI that uses datagridviews / bindingsource / datatables of typed dataset for data entry. The dataset itself is serialized to a varbinary(max) in SQL. (i.e. no tableadapter, backend schema)
I would like to limit the number of rows the user can enter into some of the grids (the data is used to fill PDF forms and I don't want th...