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

Pass a DataGridView's row to another Control's form to add/edit this row

HelloI want to add and edit a row of datagridview via another form filled with controls dynamically.So I want to pass my row with its differents cells and affect it to another controls' form (added...

View Article


two problem

A problem, when I use SHDocVw.WebBrowser.windowClosing to intercept the Ie closing event, the event is not...

View Article


Image may be NSFW.
Clik here to view.

Binding to two RadioBox

I have problem that blocked my way to go further. I need to show Database field's bit(Boolean) value as Yes or No within two of them. How to solve this matter?Here is the code:public partial class...

View Article

Move information from a secondary DataGridView to the main DataGridView

Hi everyone,How you can see in the title I need move some rows from a secondary DataGridView to the main DataGridView.My main DataGridView is linked to a Access DataBase but the secondary only recives...

View Article

Calculation help needed

hi  alli am new to this site and software developing i need a code for calculation of some data to put on my software that i am creatingas in excel it is likeabcd efgh1800 b1=a1-a021000 b2=a2-a134000...

View Article


how to create pdf report from c# windows forms with sql server 2008 using...

hi i was wondering and doing code in c# with sql server 2008 using itextsharp tool or reference in creating pdf report from c# windows forms with sql server 2008(sql select query).Given below is code...

View Article

bind data to a datagridview from some different tables in a sql express...

Hi everyonei have DataBase ( SQL Express ) that include some tables like:Author Table { AuthorID , AuthorName , ... }   (Primary Key = AuthorID)Book Table { BookID , BookTitle , AuthorID , ... }...

View Article

When and how to use a binding source

What exactly does a binding source do and how should it be used and when? Is the binding source directly connected to the control or to the datasource? when you do bindingsource.current is it getting...

View Article


DataGridViewComboBoxColumn using different datasource - Combobox loose value...

I have a DataGridView with a ComboBox Column, binded to a bindingsource. The combobox are filled each with different list of Item. I'm having now an issue, since the value I select in the combo get...

View Article


How to get DataGridViewComboBoxColumn's selected value for validation?

Hi.I have a bound DataGridView with a DataGridViewComboBoxColumn. I want to validate the value the user selects.  I'm working in the grid's CellValidating() event handler. How do I get the newly...

View Article

WebBrowser InnerText with html table problem

lately webBrowser.Document.Body.InnerText has the tendency to return html tables with space missing between some columns.whereasprivate object o=null; webBrowser!.Document.Body.ExecCommand("SelectAll",...

View Article

Event to get check box value in DataGridView

Hi, I’ve createdDataGridViewCheckBoxColumn named “Select”.I clicked the checkbox & tried to get the check box value in event.For example I tried inCellMouseUp event.I didn’t get the checked values;...

View Article

Problem executing program on another computer

I have a c# program which I would like to execute on my boss's computer for him to try out. This program connects to sql server version 2008 R2. I created a setup installer for the program. I did it...

View Article


Image may be NSFW.
Clik here to view.

Column Header Cell in DatagridView shows blue colour background, when the...

Hi,  I have a form with one DataGridView, which fills up from the database when the form loads. Everything loads properly the first time. After I make changes, close the form and reopen it, the header...

View Article

Image may be NSFW.
Clik here to view.

how to add entire new row at the top of table in pdf report from c# windows...

Hi for past 3 days i was thinking and breaking my head on how to add entire new at top table created in pdf report from c# windows forms with iTextSharp.First: I was able to create/export sql server...

View Article


auto generate serial no. in textbox in vb.net

I have a textbox in vb.netI want to have automatically generated serial no. in that as 1,2,3,4,.......So please help

View Article

saving checkbox value to database access in vb.net

in vb.net form linked to db file, i have 2 checkbox -Hb and TCWhen i click these boxes it should be saved in respective column in db file.What will be the code for that?

View Article


How to implement virtual mode with a DataGridView, and DataTable for real...

I have a method which returns a dataTable with system information as below, public DataTable SystemMonitor(ManagementScope connectionScope)        {            dt = new DataTable();...

View Article

saving checkbox value to database access in vb.net

I am using vb.net linked database access.In the form i have 2 textbox as ID,Age and 2 Checkbox as HB,TC.In the database i have similar columns as ID, Age, Hb,TC.When i select one all the two checkboxes...

View Article

What is the RGB value of the color blue used to highlight selected items in a...

What is the RGB value of the color blue used to highlight selected items in a WinForms ListView?  I have seen a few suggestions online but nothing that is the exact color.Rob E.

View Article
Browsing all 2535 articles
Browse latest View live


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