Help - Access table not updating
7 Jul 2008 11:59:51 +1000
I have posted this on C# group but got no response.
First time application with databases. I am missing the point where it
actually updates the database table. I am only updating a single table,
this more or less directly from 'how to: save changes from a dataset to a
database' in MSDN.
I am totall ...
|
DataGridView, BindingList<T>, EndEdit() problem
Fri, 27 Jun 2008 08:09:02 -0700
Related to DGV bound to a DataBindingSource whose DataSource is
BindingList<T> derivative where T implements IEditableObject.
By default, when one loads a DGV, BeginEdit() is called on the underlying
object in the first row. That's expected. When the user clicks into another
row, the first row's EndEdit() i ...
|
display bit cols as "true"/"false"
Thu, 26 Jun 2008 13:44:06 -0700
When binding a DataTable to a DataGridView , if the DataTable has a
non-nullable bit column ( 0 , 1 ) , is it possible to have 0 displayed as
"false" and 1 as "true" ?
NOTE: I need to keep the
DataGridView.DataSource = DataTable
DataGridView.Refresh()
syntax ...
...
|
Strange exception with BindingSource
Thu, 26 Jun 2008 09:18:45 -0700 (PDT)
Hello,
here is a strange behaviour I encountered today:
I am binding a ListBox to a BindingSource wrapping a DataSource +
DataMember. When I change the CurrentItem of my DataSource I will get
an IndexOutOfRangeException, but only as long as the DataMember's
collection has no items.
Since no one understands ...
|
WPF ComboBox Binding Confusion
Fri, 20 Jun 2008 11:29:04 -0600
I'm creating a sample project to help solve another problem (oh how this
rabbit hole is getting deep!) and I'm having the following problem.
Given the following XmlDataProvider:
<Window.Resources>
<XmlNamespaceMappingCollection x:Key="namespaceMappings">
<XmlNamespaceMapping Uri="http://www ...
|
A couple/few questions about the IBindingList Interface
Thu, 19 Jun 2008 19:24:00 -0700
I've a sample based on
http://msdn.microsoft.com/en-us/library/system.componentmodel.ibindinglist(VS.80).aspx
and have some questions.
I've implemented Customer and CustomerList, added a datagridview to a
windows form, put this code into the form load event:
dgvCustList.DataSource = _custList
and insta ...
|
How to open a DataGridViewComboBoxCell dropdown list programmatically
Thu, 19 Jun 2008 18:04:55 +0100
I have a DataGridView that contains a DataGridViewComboBoxColumn. Each cell
in the column contains 3 items. Using a mouse presents no problem for
changing the selected item in the cell. One click is required to select the
cell and another click to open the dropdown list.
However I have tried to develop the ap ...
|
|
|
Reading Data from Excel with all column filled gives error
Thu, 19 Jun 2008 03:52:07 -0700 (PDT)
Hi,
I am using ADO.NET. And JET 4.0 provider to read the data form
excel 8.0. Excel 8.0 have column limit as 255.
means A1 to IV. But when i fill all column with data including last IV
and try to read then it gives error that
"Too long field defined."All my cell have one or two character
record. But if i d ...
|
Bind then Unbind?
Thu, 19 Jun 2008 03:13:02 -0700
Can a DataGridView be bound which loads much faster and then unbind to save
resources? I have tried everything and have not found any Goggle help on
this issue yet. I need the fastest load with as light a resource burden as
possible. My UI is read only at this point.
Happy coding or whatever,
H Higgins ...
|
Header Value change
Mon, 16 Jun 2008 05:49:01 -0700
Have a databound DataGridView and looking the change the header value to
something more friendly than the Stored Proc has to offer. Do I need to skip
the DataBinding and load by hand? I only load the grid with databinding and
don't need it to remain as bound. It for the most part becomes readonly.
Tried ...
|