all groups > dotnet windows forms databinding > october 2004 > threads for october 8 - 14, 2004
Filter by week: 1 2 3 4 5
Bind Custom Class to windows form datagrid.
Posted by martalex NO[at]SPAM hotmail.com at 10/14/2004 8:39:43 PM
I'm trying to bind to a datagrid a custom class with complex property
(custom class). The top data is binding fine but I cannot access the
sub-class property.
Here are my classes... I can bind the contact.id, contact.lastname,
contact.firstname without any problems however I cannot seems to b... more >>
ORA-01008: Not all variables bound Error.
Posted by ksedran at 10/14/2004 10:51:12 AM
Hi all,
I am getting this ORA-01008: Not all variables bound error when trying to
update an Oracle table from a datagrid using VB.NET.
'Code to load Datagrid---------
Private Sub TransactionDetail_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
... more >>
New Problem With TrackBar Binding
Posted by Colin at 10/14/2004 1:45:05 AM
I'm re-posting this to make sure it gets picked up by support because the
related question was answered:
I have an entity object (not a collection) with a property "Height". It's
bound to a TrackBar and a TextBox. I found out that I needed to call
BindingManagerBase.EndCurrentEdit() on the ... more >>
Problem with dataset updation
Posted by ratna veta at 10/13/2004 12:32:42 PM
Hello,
I am having a problem with dataset. I am using vb.net,
oracle, ado.net. I am having a dataset(ds1) from which i
loop through and add it to another dataset(ds2). Calling
ds2.acceptchanges in the load of the form. And all the
data gets displayed in the grid. The user can modify any... more >>
2-Way Binding to a TrackBar Not Working. What is my Problem?
Posted by Colin at 10/13/2004 12:05:02 AM
I'm trying to bind a TrackBar to an entity object of mine:
myBar.DataBindings.Add( "Value", imgConvData, "Quality" );
It seems simple enough, and the TrackBar does indeed pick up the value of
"Quality" when the DataBinding is first set. Unfortunately, changing the
value of the TrackBar (vi... more >>
StackOverflowException with the ListChanged event
Posted by Alx Sharp at 10/12/2004 4:06:08 PM
Hello group...
I've created a collection class that implements the following =
interfaces: IBindingList, IList, ICollection, IEnumerable and =
ITypedList:
abstract class DataCollectionBase : IBindingList, IList, ICollection, =
IEnumerable, ITypedList
{
private ArrayList innerList =3D ... more >>
How to get double click to work for cell in DataGrid?
Posted by Stacey Levine at 10/12/2004 12:11:01 PM
I want to have an action happen when the user double clicks on a cell.
Theonly way I have managed to get this to work is put the code in the grid's
double click event, click in the cell - then double click the row. Or if I
click in the area of the cell that
does not highlight, then it wo... more >>
DatagridView, setting Font for individual Cells
Posted by martin.nospam NO[at]SPAM berlin.de at 10/12/2004 8:25:30 AM
Hello,
I'd like to alter the font, including the background and the
foreground color of individual cells for a realtime app'.
this.dataGridView1.ColumnCount = 5;
this.dataGridView1.RowCount = 10;
this.dataGridView1.Rows[2].Cells[3].Value = "hello";
....?
Can someone help ?
Thanks, Ma... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Datagrid object binding + GridTableStyles
Posted by Adam at 10/10/2004 2:09:11 PM
I am binding an arraylist of objects (class Invoice) This works fine and
binds all the public properties to the datagrid.
However, I only want to show *some* properties e.g. No, Detail and
TotalValue -- not all the public props.
After I call my gridSummary.DataSource = invoiceList;
then I... more >>
datagrid databinding puzzles
Posted by cnSoftware at 10/8/2004 8:15:03 PM
well, what's the difference between BindingManagerBase and
CurrencyManager?Instead of
BindingManagerBase I have tried to use a currencymanager in my code, but the
result is still far from my expectation.
UI of my program like this:
---------------------
| btnQuery | btnAdd |
--------------... more >>
Change databound property from code and force field update
Posted by WiZZiX at 10/8/2004 6:21:02 AM
I have 2 checkbox controls on a form. Both are bound to a different field in
one underlying datatable with their 'checked' properties .
When you click the first checkbox I the CheckedChanged event is triggered in
which I set the checked property of the second control equal to that of the
f... more >>
|