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

Multiselect in checkBoxList

HelloI'm trying to bind the table to checkBoxList as a value and a member (for example: binding a table with columns JobID and JobNumber ) and return both the values in checkbox. Is there any way for...

View Article


how I can populate rate from while selecting the item code from gridview column

HiI have a gridview control gv_1 with following columnItemcode, Rate, Total. Item code is combo box dropdown.DataGridViewComboBoxColumn cb =...

View Article


C# TextFieldParser Only Reading Last Record

I'm using the following to browse through folders to find the CSV file I need (big function, somewhat sloppy right now).It pulls the last record and sticks it in the DGV with no problems, but the file...

View Article

Image may be NSFW.
Clik here to view.

Database DELETE Command error

I think there is some coding error in my project so that I failed in many databases. . Here I need one help in delete command... save and add command works wellcode is belowImports...

View Article

DataGridView displays column names out of order; How do I keep my "ID" column...

The code shown below displays column names in a DataGridView. Clicking button1 and button2 changes the "ID" column from being included in the display to being excluded from the display. The number of...

View Article


i use stored procedure to fill data in combobox and when the user open the...

  CB_Driver_name.DataSource = clsParts.GET_ALL_DRIVER_NAME();  CB_Driver_name.DisplayMember = "Driver_Name";  CB_Driver_name.ValueMember = "Driver_ID";

View Article

why i am getting this error

<img alt="" src="https://social.msdn.microsoft.com/Forums/getfile/796870" />

View Article

How do I use my Data Table with 5 columns to populate my Listview with 5...

My code below is not working, its producing this error "Object reference not set to an instance of an object." What it should do is retrieve values from my datatable and populate my listview. Any ideas...

View Article


Image Retrieving from sql to data gridview

Assalamu Alaikum Please tell me how to retrieve image from sql database in to Datagridview in C# winform.i have tried many time but  i m failed .please help me in this regard

View Article


ODBC error during VS2005 to VS2013 migration

Hi Team,We are currently migrating our projects from VS2005 to VS2013.During this we got an error only at Windows Server 2008.The same build working fine at Win 7 PC. Below is the stack Trace. Request...

View Article

Datagridview with footer

Greeting.I have data shown from search queries in my datagridview. I want to add a line at the footer with the address of the company that the project is being made for. How can I do that. I need to...

View Article

Sometimes Data grid view columns swap observed

I have a Datatable with 10 columns and displaying in datagridview with 5 columns with set displayindex as 0 to 4Sometimes observed that last 2 columns are swaped. I am handling the below code for every...

View Article

Why Doesnt Databinding update the database?

Hello,I followed tutorial on creating a Database and it has all gone very well, and i have 2 tables that are showing in my datasource. I dragged one onto a form and it created a datagridview and a...

View Article


[NET 4.0] Multilanguage Windows Forms MDI Application

Hello,I Have a problem with creating multilanguage application. I found a lot of solutions to do that (ex. http://www.dotnetcurry.com/ShowArticle.aspx?ID=174) but that what i found doesn't workwith MDI...

View Article

How to Check if a value exist in a datagridview row and delete it.

How to Check if a value exist in a datagridview and if true; delete the whole row ? c# example please karel

View Article


add new datagridview row to database

Writing in vb.net, I allow the user to add a new row to a datagridview.  On row leave, I validated to see if the appropriate cells have values, planning to insert the data into a database.    The last...

View Article

Sql exception unhandled a network related error whilst establishing a network

Hello I am trying to connect c sharp project to the Sql database.I got the connection string from c sharp after  connecting to my databasehowever i get the error "Sql exception unhand-led a network...

View Article


Visual Studio 2015. Properties Window doesn't allow to create or assign event...

I have control with class property MyClass. MyClass have properties and eventsFor MyClass I set atribute [TypeConverter(typeof(ExpandableObjectConverter))] to allow expand it in the Properties Window...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio 2015. Properties Window in Collection editor form doesn't allow...

Hi AllI have class in the collection with public property and  public int Width { get { if (widthStored) return width; else return DefaultWidth(); } set { if ((widthStored == false) || (width !=...

View Article

Possible bug in transparent forms

I am working on an app with a transparent window.  I do the standard things such as create a background image, set the transparent key to match the background, set no border, etc.  If I set 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>