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

C# DataGridView host a control in the current DataGridViewCell for editing -...

Hello I have DataGridView with DataTable as sourcedt = new DataTable(); dt.Columns.Add(new DataColumn("testString", typeof(String))); dt.Columns.Add(new DataColumn("testDate", typeof(DateTime)));...

View Article


Make the currentrowdirty = false

Is there  a way to make the currentrowdirty = falseDebra has a question

View Article


Change the Border of a Full Selected Row

 Hi All,I'm trying to do the following:I have a datagridview with a fullrowselected selection mode, and I would like to change the full row border when selected, I've tried:Private Sub...

View Article

Duplicate Designer.vb file when saving dataset

I'm having the following problem. When I change the dataset in a project Visual Studio generates a duplicate designer.vb I've tried the solution that was suggested in a similar post of deleting the...

View Article

ComboBox is not Refreshed

Hello,I have a combobox in my one form like City name, And I have Master form for that so I defined fill city combo public so i can call it on form close event of that master...but combobox is not...

View Article


How to bind data grid view from xml database file based on search ?

Hi all,          I am trying to make Document uploader winforms c# application ,where we can upload important documents by name  and then search it by name so that can open the document and if required...

View Article

How to disable editing in the existing rows in a datagridview and allow the...

Hello,I have a datagridview where I should not be able to edit the the existing rows, but i must be able to add new rows to it.I have set the datagridview.ReadOnly=True (for disabling edit)Also to...

View Article

VOID TRANSACTIONS

I have a datagridview with a column name of (INVOICENO, PRODUCTID, QUANTITY, STATUS) and my rows have a value. And when i click the VOID TRANSACTION button then all the rows of my datagridview should...

View Article


Datagridview combobx

I want a datagridview combobox column to have drop down items which I will add, and the text of the combobox should load with the data already saved in the database. Is that possible and how would I do...

View Article


How to reset DataGridViewAutoFilterTextBoxColumn?

Hi, I'm using DataGridViewAutiFilterTextBoxColumn in several column in a Datagridview. I would like to reset all filters in all columns with one click (A vb command). How can I do this? Thank you...

View Article

Mysql to C# data source connection already exists error

"Some updating commands could not be generated automatically. The database returned the following error:You have a usable connection alreadyI am trying to connect MySql to Visual Studio 2012 and this...

View Article

Reading data from an access database

HiI am new to C# so please excuse how bad my code is but I have written code to return values based on a search box however at times, the value entered into the search box can apply to several records...

View Article

Window form datagridview selected the first row from databinding source if...

Window form datagridview selected the first row from databinding source if the textBox1 send the null value but i want to set that if textBox1 send it the null value to binding source then databinding...

View Article


calling WeAPI through ASynchronous programming in windows forms not...

Hi,        I am trying to call or consume WebAPI through client application (Windows forms) for asynchronous calling via HTTP client. It should return a response as the no of requests for WebAPI along...

View Article

populating a datagrid from a textbox search

HieI have a text box and search button, when I search for a record I get the correct record the first time, but when I search again I get results from my first search and second search. If i keep...

View Article


Window form datagridview selected the first row

Window form datagridview selected the first row from databinding source if the textBox1 send the null value but i want to set that if textBox1 send it the null value to binding source then databinding...

View Article

Image may be NSFW.
Clik here to view.

Merge datagridview row and column cells

how to merge datagridview row and column cells like below image...i need like that only..Mankatha

View Article


Datagridview combobox problem

I have a datagridview with a combobox column that is bound to another table. When a user changes the combobox text I would like the underlying datasource to change as well how would that work if the...

View Article

Datagrid user add item in bound collection

Is there a way to prevent the instantiation of a data grid row item until all the fields have been validated? Currently I create a data grid with predefined columns, BindingList<T>{ AllowNew =...

View Article

How do I save datagridview edits back into the database through entity...

I've bound my combobox so that the value selected will appear on the datagridview. However, although the datagridview is editable, the changes made won't save back to the database even is I use...

View Article
Browsing all 2535 articles
Browse latest View live


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