Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Browsing all 2535 articles
Browse latest View live

INotifyPropertyChanged not updating DataGridView

I've found many threads on this, but they tend to be due to some mis-implementation of the INotifyPropertyChanged  interface.  In my case, I'm using Microsoft's XSD utility to generate a series of...

View Article


Multi User Access in MS SQL Server Compact Edition

Hi Everyone,  i want solution urgent. i am developing C# with MS Sql server Compact database. i have trouble with multi user access in the database.'m using sharing concept but its giving error : There...

View Article


DateTimePicker Disable values

an it be possible to disable some period of time or values in DateTimePicker. For example from value “A” to “B”, other time is enabling. If it’s possible how can I define a code?  Nensy V.

View Article

DataGridView and Touch / Swiping

Hi,I have a non-Windows store application. Wondering, how is swipe/touch capability added to the DataGridView for Windows 8? Hopefully just a property I did not see. Does this make sense or should I go...

View Article

transfer data from textbox to datagridview in another form

hello i am new to use vb.neti have two textbox in one form and datagridview in another formi want add data entered in textbox to datagridview in another formplease tell me how can i do it.

View Article


how to use datagridview checkbox for updating datatable

hi to all,i have a situation where on the Formhaving Datagridview named "DGVemppayD"and a Button named "btnupdate"i have added Unbound column of checkbox in datagridview named = "confrim"the use code...

View Article

Datagridview boolean columns

I bound a datagridview to a datatable and all the boolean columns come up as checkboxes instead of 'true' and 'false'. Also, I can't sort the checkbox columns why is that and what can I do to be able...

View Article

DataGridViewComboBoxCell: No value returned at UserAddedRow.

Hello all. I have a C#.Net 4.0 Winforms app. In a form I have a DataGridView bound to a BindingList<> of custom type ShippingRestrictionItem. The binding looks like this:...

View Article


Retrive data from SharePoint list into C# Windows Form DataGridView

I am using Windows Form for retrieving the data from SharePoint list. I am using below code which is working fine.Instead of List view I want in DataGridView.  Any help will be appreciated.privatevoid...

View Article


FoldeBrowserDiaolog in Visual Basic 2013 (express) for Windows

I am using Visual studio Express 2013 edition for Windows; not the one that is categorised as for Desktop Windows. I cannot find the FolderBrowserDialog, or any diaologs and menus controls in VB.  They...

View Article

Set DataGridViewCell borders to specific cells

I have a DataGridView with 3 columns. The GridView has FixedSingle Border and CellStyles are default. So when I run the program, I see a Grid with Black border and each row/cell with a faint off-white...

View Article

Image may be NSFW.
Clik here to view.

DataGridView re-sort when a new row is added

I'm making a program that receive SMS and display to the user, and I'm having a problem with the sort of the data. For example, if the user sort the table by ids, from the higher id to the lower so...

View Article

Enter Click Doing code ahead of time in a c# winform application

I have a lot of controls and I coded into the key up event handler that if I click Enter then it should focus for example on a button and then when you click enter on a focused button it "clicks" it...

View Article


DataGridView - cancel insertion of new row (Entity Framework)

I have a DataGridView bound to a BindingSource which is bound to a collection of objects. In the BindingSource's AddingNew event, I will create a new object, like this:  PrivateSub...

View Article

BEGIN TRANSACTION, COMMIT TRANSACTION AND ROLLBACK IN C# WINFORM

I am creating an invoice which involves many stored procedures  that I do not know how to put together and therefore I need to do some sort of begin commit and rollback in my c# code since I don't see...

View Article


Databinding two grids - parent child from entity framework

I cannot find any examples of binding a parent and child grid where the datasource is entity objects. I need the two grids to be in sync - when parent record is selected in parent grid, child records...

View Article

DataBinding in C# vs VB

I'm running into a bit of an odd issue with binding in C#.  I'm guessing when someone points out the answer, there will be a dramatic face palm response on my part.Here is a link to the solution...

View Article


"System.Runtime.InteropServices.COMException was unhandled by user code" on...

Using Visual Studio 2010, C# language in a Framework 4.0 project.Whenever I try to access Document.Window.Frames of the WebBrowser control I get this...

View Article

DataGridView and TabControl bug?

I've come across some odd behavior involving DataGridView controls and TabControls. Have I stumbled across a bug, or is there something I don't understand about these controls?My app uses a TabControl...

View Article

Datagridview moves to first column when user arrows down after editing

I have a datagridview that lists a bunch of information. In the 8th column is a quantity column. What I'd like is for the user to be able to enter the quantity for the first item, arrow down on the...

View Article
Browsing all 2535 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>