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

Create autonumber in textbox to store in table

Hello,I currently have a ReservationID field in a Reservations table, I need the ID to be auto assigned, however I also have to put in a range of my own ID values in this field. e.g. I need it to start...

View Article


Combo Box writing problem

Hi, When i execute the program and write anything in combobox it is writing in right to left not left to right. e.g if i want to write          'question' it writes as 'noitseuq'.I am bored by moving...

View Article


Edit Autonumber Field

Hello,I have an autonumber field for ReservationID, I want to be able to enter my own ID values into the field. For example, the format is set to "AB"000, and therefore starts at 001, I want to change...

View Article

DataGridView Showing(arrow) wrong row after insertion failed due...

A dataview is assigned to the datagridview via a BindingSource. A new row is created in code by copying, in code, an existing row. Another row is clicked in this case row 2, this raises a DataError...

View Article

Updating a column too a table

Hello,I am writting a program and I am stuck. Any help would be greatly appreciated!I have a sql table that I am displaying on a Form with 7 fields that is coming from the SQL Table. The result display...

View Article


Auto increment textbox

Hello, I have a textbox on a form called ReservationID, I would like to be able to assign a value to this field automatically. I have created a query which lists all of the existing ID, called...

View Article

Detecting mouse click location for a DataGridViewCell

I have a ContextMenuStrip in which different options are shown depending on which cell of a DataGridView the user clicks on. My problem is that I am unable to get the x & y co-ordinates of cells.I...

View Article

How to find record in BindingSource?

I have a typed DataTable with a compound primary key. A BindingSource bsTest is used for binding to controls in a WinForms app:bsTest.DataSource = dsTest; bsTest.DataMember =...

View Article


Faster Way to Export Datagridview to Excel Using VB.Net

Hi,I have this below code used in exporting contents of datagridview to excel using VB.Net and works fine. However, when dealing with many records, example is 300 records, it takes time before the...

View Article


DataGridViewAutoFilter - Where can I download the DLL?

I have found various discussions about how to use it and downloaded a project which uses it but I cannot find the DLL anywhere.  Can someone tell me where I can find it please.thanksSue

View Article

datagridtextboxcolumn throws error on string over 330

I am new to the forum and i working on something that i cannot seem to solve. my textboxcolumn throwns and nullreference error whenever i update with more that 330 characters. my maxlength is set to...

View Article

Help! "Concurrency violation: the UpdateCommand affected 0 of the expected 1...

Help! I have a Access 2003 Database that holds info like "customer name" "phone number" etc. When I enter that info and then click new record then go back to the previously created record and add some...

View Article

Checkedlistbox

   Hello i am new to working on vb.net 2008, want to know how to insert multiple selected checkboxes value from checkedlistbox in vb.net 2008 to sql server 2005 database. so i have two table in whiche...

View Article


Relational Events

https://social.msdn.microsoft.com/Forums/vstudio/en-US/7ed2a19e-c3a0-4dde-b890-496a41e14f0b/relational-events?forum=csharpgeneral Hi, Using the Datagridview in Winforms or some List  (VS2010) which...

View Article

Access 2013 database not saving all the changes

I have written code in VB 2010 and using Access 2013 as the database. I am running the production version on another PC that does not contain Visual Studio. There is only one version of the database on...

View Article


How can I send an audio file to an external device

HelloFriendsIhaveamicro-controller.Theaudio output deviceisa micro-controllerand ahardware code.Iwantan audio file tothedeviceand thedevicewillplay it..please help.Micro-controllercode:...

View Article

RDLC linked tables

Hi,From a Main table and other supporting tablesI want to generate a report like the below, filtering on Departments and Anding with Categories when required optionallyMain table records    |...

View Article


DataGridView column name: case sensitive - duplication problem

I tried searching here for an answer to what would seem a common problem but have found nothing. I am using .Net 2.0 with VC++2005. I create a DataTable with columns that have names that differ only by...

View Article

I need a suggestion about DataGridView and DataTable

I need a suggestion that might give me a proper idea. I have two tables in MS SQL 2008 Express. When my project open a WinForm that retrieve the data from DB as binding that to a DGW. So far so good...

View Article

Datagridview SelectionChanged Event

I have searched and haven't found an answer to this.  I am binding a dataset to a datagridview and when I set the datasource, the SelectionChanged event fires multiple times.  Can someone explain what...

View Article
Browsing all 2535 articles
Browse latest View live


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