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

Show dotted border around current cell in data grid view

In my application I have a bunch of datagrids with the property:SelectionMode = FullRowSelectIn some data grids I see current cell has a dotted line around it's current cell and others do not.  Do to...

View Article


Different highlight colors for different rows in a datatgridview

I have a datagridview on my form. The rows have different fore colors based on different criteria. For example in a product datagridview: If the product is disabled the fore color is gray. If the...

View Article


Styling cells in a datagridview

datagridview.currentrow.defaultcellstyle versus datagridview.currentrow.style. What is the difference in performance and in all areas?Debra has a question

View Article

BindingSource Filter issue in UserControl - Odd Problem.

Hello All,I have looked all over the internet and have not found a solution to the problem I am having.Basically I have a datasource bound to some textboxes in a usercontroller. I am trying to set the...

View Article

Checked listview

Every line I load into my checked listview it goes through the item checked event handler. How come this is so even though there were no checked items. Also, how can I avoid this?Debra has a question

View Article


c# visual studio 2012 - Simple example of creating a new record (in a simple...

Hi,Does anyone have a very simple, very easy to understand example of how I can go about creating a new record in a simple data base?Can't paste image as apparently I haven't verified my account!GrrI...

View Article

databinding datetimepicker

I am having trouble binding a datetimepicker to a bindingsource.Everything works fine until I save or update a record then all the binding to the bindingsource stop working;empBindingSource.DataSource...

View Article

Image may be NSFW.
Clik here to view.

How to make column headers in table appear bold while datas in table appear...

Hi my name is vishalFor past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using...

View Article


Image may be NSFW.
Clik here to view.

How to make column headers in table in PDF report appear bold while datas in...

Hi my name is vishalFor past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using...

View Article


Cannot update data on multiple instance of same Exe file(New)

I am create a Desktop app like master slave model by single Exe.The exe file act as a master as well as Slave.When one instance run as Master it get data from Sql Server and write to File using...

View Article

how to show picturebox datas using System.Diagnostics.Process.Start in c#...

hi my name is vishal for past 1 week i have been breaking my head on how to show picture box datas in c# windows forms usingSystem.Diagnostics.Process.Start.?i have a label inside picturebox and a...

View Article

Image may be NSFW.
Clik here to view.

User Control EventLog Property

I am creating a user control that will have an eventlog control on it and I want to put a property on my custom control that will show a list of event logs on my current pc. I am having trouble setting...

View Article

Converting Text to UPPER case in a datagridview control

Hi,  I've tried everything but don't seem to be able to get this to work.The seniario is this.  A user inputs some text in a cell of a datagridview control and I want the text to be converted into...

View Article


Set of graphs in ReportViewer

Hello,I have such question. I have a collection of the data, I put them in the list. Each data item contain set of strings, DateTime, and two double number. I created a report which display all my data...

View Article

Image may be NSFW.
Clik here to view.

PrintForm.Print Scrollable don't print all scroll.

Hello Guys! How are you ? I'm printing my form using Visual Basic Power Pack Print Form. On methodPrint() i use the second overload:printForm1.Print(this,...

View Article


Regarding Combobox value to be saved in sql sever database in c# windows forms ?

Hey Guys!! I am very new in C#, and using Visual studio 2012 ultimate, and Sql Server 2012Recently i facing  problem in which saving ID No. (Integer value) inx Table,where ID No. and Name are already...

View Article

How to remove all rows in a DataGridView

I have a DataGridView that takes data from a textbox that user inputs. Then, a button that lets user save all rows to database. After saving, I want to remove all rows in the DataGridView. However, the...

View Article


Winform ListView and Dynamic Grouping with C#

Hello Everyone:I am trying to figure out how to dynamically add Groups to a list view. But the grouping isn't working. Specifically all the line details spreads across the every other row in the group,...

View Article

how to pass id value to one table to another table in a form and once passed...

hi my name is vishal for past 10 days i have been breaking my head on how to pass id value to one table to another table in a form and once passed or created in another table should not appear in...

View Article

I want to populat a combobox with excel sheet names

Hello, I need to populate a Combo Box with sheet names in an Excel File. I Have an openfiledialog that i search for the excel file and put the dirPath to a textbox, now i need to populate the ComboBox...

View Article
Browsing all 2535 articles
Browse latest View live


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