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

Windows Forms toolbox issue in Visual Studio 2015

Hi Team,While configuring the Third party Windows Forms controls in Visual Studio 2015 toolbox, icons were missing for those controls. As per the forum thread, it seems to be the issue in Visual...

View Article


Image may be NSFW.
Clik here to view.

USe Combobox based on country table and update customer table

Hi - I am fairly certain this should be a common fairly straight forward task but I am having quite some confusion based on the results and options I have tried.I have a customers table with a...

View Article


How to pass my custom data to background worker's ReportProgress event

see the code firstpublic partial class Form2 : Form { public Form2() { InitializeComponent(); } DataGridView dgv = null; BackgroundWorker bgWorker = null; DataSet ds = null; private void...

View Article

Form - email question

I am new to Access and I have created a form where every time I make a change to the form an email will be automatically generated and sent to the employee directing them to changes I have made.  The...

View Article

SQL data binding with DataGridView

Hi All,I have binded a SQL data from SQL Server Management studio to the DataGridView using SQL connection and SQL data adapter. dataAdapter = new SqlDataAdapter(selectCommand, conn); commandBuilder =...

View Article


Image may be NSFW.
Clik here to view.

How to Delete selected row in data grid view and database by C#

I wish to ask how i can delete the both database and selected row from data grid view by using C# windows form button??This was the code i using --privatevoid del_list_Click(object sender, EventArgs...

View Article

C# Background worker - report progress with List

see my codepublicpartialclassForm1:Form{BackgroundWorker m_oWorker;publicForm1(){InitializeComponent(); m_oWorker =newBackgroundWorker();// Create a background worker thread that ReportsProgress...

View Article

Changing dataview does not reflect in datagridview

If this is in the wrong section, please move. Language C#.I'm reading data from a csv file into a datatable. Next I base a dataview based on that table and use the dataview as a datasource for a...

View Article


C# Windows Application

How To Get Data To a  Combo Box From the database table ? and save them in another tableHelp with codes please.Thanks Senu

View Article


Sample Code: TreeGridView - collapsing/expanding DataGridView

I've just started a blog and the first main post is a sample that I wrote to customize the DataGridView to support collapsing and expanding. I call it a TreeGridView:...

View Article

How do you refresh data bound to a DataGridView

 This should be easy... but I don't know how to do it.I have created a DataSet that is bound to a DataGridView so that the DataGridView displays the data in my DataSet.  If my DataGridView is called...

View Article

Code generation for controls in a inherited form

Hi All,I have a 3rd party control in my form  and i have some of its property. and another form say form2 derived from form1. When the 3rd party control's instance is made to public, code generation...

View Article

databinded textbox_leave() event wierd problem

Hello All. I use VS2015 Community and Sql server 2008. You could jump to the last paragraph to see the problem conclusion first. On a WinForm I have a TypedDataSet, a BindingSource, a SqlDataAdapter(I...

View Article


how to make chart of accounts

how to make chart of accounts win forms Application 

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


convert checkbox into textbox(message) in datagridview directly from sql...

i have a sql table like                              in datagridview   shows like                     SNo-------int                                   1,2,----Date------nvarchar(50)...

View Article

C# Select Random ListBox Item, Random Not Random-ing

private void whatever()        {            Random rnd2 = new Random();            int i = listBox1.Items.Count - 1;            int chosenItem = rnd2.Next(i);            listBox1.SelectedIndex = i;...

View Article


Image may be NSFW.
Clik here to view.

Button in DataGridView with condition C#

Hello,I have datagridView, i ADD new field 'Check_Out' with this code: DataGridViewButtonColumn column = new DataGridViewButtonColumn(); dataGridView1.Columns.Add(column); column.FlatStyle =...

View Article

DataGridView Event “RowsAdded” doesn't show the correct RowIndex for...

When creating a new Row in a DataGridView with help of the command:dataGridView1.Rows.Add(); it creates a new Row, but the e.RowIndex shows still the Index before the New created row.privatevoid...

View Article

DGV and Forms Autosize

I have a DGV with variable No. of Rows, and varable colum size. Below that there is a textbox. What I want to do:The DGV should resize to the space really used. And the Form should resize to the size...

View Article
Browsing all 2535 articles
Browse latest View live


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