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

How to write code loop through account no on grid and add spaces to left and...

I work on windows from app csharp visual studio 2015I have windows form have datagridview name Grid1 this grid have 5 rows and column name Account Nowhat i need is to loop through five rows and add...

View Article


Using the DataGridViewProgressColumn class

I am trying referencing the thread "social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/769ca9d6-1e9d-4d76-8c23-db535b2f19c2" (add your own http://)I am trying to implement the code, but...

View Article


System.FormatException: DataGridViewComboBoxCell value is not valid

I've read many other pages on this error, but none have helped me.I'm getting the following exception when using a DataGridViewComboBoxColumn:System.FormatException: DataGridViewComboBoxCell value is...

View Article

Application Pools and Sites nodes missing

Unable to view tree structure in IIS manager.Able to see all sites and application from appcmd.exe 

View Article

Pie chart with 2 values in each series's legend vbnet and access database

Hi,Have drawn pie chart and Would like to display 2values for each series'-s legend like Series name (total quantity) at chart legend for eg:    Pie chart           Chicken (6)         ○...

View Article


Summing error

Hi, I have this code which i cant get the correct sum. Sum always getting + - 5 private void AverageYieldToolStripMenuItem_Click(object sender, EventArgs e) { float sum = 0; float avg = 0; int...

View Article

Image may be NSFW.
Clik here to view.

Rows cannot be programmatically added to the DataGridView's rows collection...

I am trying to add data from one table to DataGridView binded to another table. string sql = "select a.itemcd from cnitem as a,itemmaster as b,comaster as c where a.itemcd=b.itemcd and b.cocd=c.cocd...

View Article

Combo Box Error - DataGridViewComboBoxCell value is not valid

I am trying to get the Combo Box working so that i can get the drop-down boxes available for the database columns to be placed in the DataGridView. But i am getting the following error when the data...

View Article


the DataGridView

the DataGridView  is  not  in  Visual  Studio  2019

View Article


How to get the date form the datetimepicker to textbox

HiI have a datetimepicker control in windows form (VB.net or VS 2005). and a textbox control.My question:When select the date from the datetimepicker the selected date should be display in the...

View Article

How to Bind EventArgs and Command Parrameter to Command Event?

How to bind EventArgs and Command Parameter both together to a Command...

View Article

DataGridViewComboBoxCell selection issue

            dgvSalaryUS.RowCount = dgvSalaryUS.RowCount + 1;            dgvSalaryUS.Rows[0].Cells["ColNo"].Value = 1;            DataTable dtCity = new DataTable();            dtCity.Clear();...

View Article

combo chart with access database

GreetingsHow can I draw a combo graph using vb.net from access database?Y1                            Y2 /\                                 /\|   Line Chart (X1,Y2)     ||...

View Article


Windows Form In A Unity Class Library

Hi, I'm trying to use a winforms form in my unity class library project, but Show(), ShowDialog() and Application.Run() all do not work unless I compile the project's output as a windows application...

View Article

probleme with mysql Vs2019

how to fix this  error [A]MySql.Data.MySqlClient.MySqlConnection ne peut pas être converti en [B]MySql.Data.MySqlClient.MySqlConnection. Le type A provient de 'MySql.Data, Version=6.10.7.0,...

View Article


Link from 1 chart to another detailed chart

Hi Greetings,had a bar chart that relates to vbnet and access database.Would like the year function as a hyperlink to another detailed chartFromQty|                 |||    ||           ||          ||...

View Article

Highlight row in DataGridView when mouse hovers over a row

I've seen many third-party components do this. In a DataGridView, how do I programmatically (using C#) change the row's background to yellow, but only the row the mouse is hovering over.I know I need...

View Article


Mouse drag operation failed. Editing is not allowed for this DataSet..

Hello,I am using Visual Studio 2008 and SQL SERVER Management Studio Express 2005.I am getting this error when I try to drag a dataset. Please help me to resolve this problem as soon as possible....

View Article

Image may be NSFW.
Clik here to view.

txtbox.DataBindings with foreign table's attribute

Sorry my question may be a bit hard to understand. I have a listbox that displays Vacancy.DescriptionlstBoxVacancy.DataSource = DM.lookingGlassDS; lstBoxVacancy.DisplayMember = "Vacancy.Description";...

View Article

Load Datagridview with large amount of data progressively

Hello,I ve a windowappliaction in which onloading form using Gridview to dispaly data.I am able to load smallamount of data in gridview with minor delay in load.I want to load Gridview progressively,...

View Article
Browsing all 2535 articles
Browse latest View live


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