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

How To Nullify Data Bound TextBox Text

I have a derived TextBox that's bound to a DataTable value using a BindingSource.  I would like to let the user nullify the text if there's an initial value by hitting Escape.  I'm trying to do that by...

View Article


Image may be NSFW.
Clik here to view.

A dictionnary Software, how to store and show the contents

I would like to do a dictionnary software in visual studio C#. But i don't know how to store and show the text format proprely (par exemple: color, bold, several paragraphe with number, etc). Please...

View Article


How to protect the Encryption keys, which are missing from windows cloud DB...

Hi Team,My name is Kiran Reddy, We are using the  SSRS windows cloud server, and installed SSRS DB's servers installed in it for SSRS reporting purpose. Once we configured/ entering all the Database...

View Article

How I can refresh my dataGridView from another form?

Hi Guys first of all I have two Forms  first = Form1 and second= Form2   and my dataGridView is on Form1 and my Registration is on Form2 .... When I register something on Form2 then I close my Form2...

View Article

Image may be NSFW.
Clik here to view.

Error while click on print button in windows form?

Trying to print form and I have two buttons PrintPreview and Print so when I click on  PrintPreview  it shows print preview but once I close this  form and try to click on print or PrintPreview  button...

View Article


I want to display the data of a single table into single datagridview but...

Hi all, Good Day!  I am using C# in Visual Studio 2008. I want to display the data of a single table into single datagridview but different conditions. And my code is below. Please help me to solve...

View Article

Image may be NSFW.
Clik here to view.

DataGridView Cell value is lost when focus is moved to the next cell

Hi, I am facing a very strange problem with DataGridview used for my WindowsApplication. I am using entity framework and .net framework 4 for the application. The issue I am facing is, when i click the...

View Article

Excel to ListView

I would like to know how to view each column of an Excel sheet on a ListView.Rogelio Rios

View Article


Font size changes when select a cell in a datagridview to edit it.

I have a datagridview which can be edited by the user. When the user selects a cell to edit it the cell's font size changes to a smaller size and a different font. Why is that, and how can I fix...

View Article


Datagridview moves to first column when user arrows down after editing

I have a datagridview that lists a bunch of information. In the 8th column is a quantity column. What I'd like is for the user to be able to enter the quantity for the first item, arrow down on the...

View Article

filter date while changing the date from datetimepicker control?

hello,Am fetching the data from MS Access database in dataGridview.I have one button to load the data in table after that I want to select the date from datetimepicker and on selection it should...

View Article

Image may be NSFW.
Clik here to view.

Read Mixed Datatype from Excel to Datatable in c#

This is My Excel File. i want to get these datas to datagridview. worked but some data displaying like this 9.94092e+009Coding connectionString = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data...

View Article

Image may be NSFW.
Clik here to view.

Exponential Number Conversion Not Working Properly c#

HI,This s My Exponential Number : 9.94092e+009Exponential Number's Original Data is : 9940915145(Phone No)I converting Exponential Number to String as per giving search result Double d =...

View Article


change cell to DataGridViewComboBox and populate

I have a DataGridView that I populate from a DataTable. I wish to change one of the cells to a datagridview ComboBox and have each rows value come from the table.    My purpose is to assure that any...

View Article

Lost ms access data on project close

hi every body i have a strange problem i build a project in ms access and c# i was working fine no problem once i work on it i discover a strange thing all data is lost on data in the table i try to...

View Article


dataGridView

Does the dataGridView in windows forms have the "edit template" feature like the gridview in web forms? I want to place several data fields into the same column.

View Article

Dataview values

I am assigning a value to a dataview row and column which works fine on the first line but when I want to assign the value on the second line for a different column the row.index has changed. I need to...

View Article


New field created using Store Procedure do not able to display in Report

Hi,Would like to ask, when I was creating a new field C.CategoryID using Store Procedure, the new field do not able to display in my Report, please help, below is my code:CREATE...

View Article

BackgroundWorker and BindingSource Threading question

The documentation mentions the following:You must be careful not to manipulate any user-interface objects in your DoWork event handler. Instead, communicate to the user interface through the...

View Article

Is it impossible to implement ICurrencyManagerProvider?

HelloI have read the source code of the classes BindingSource and CurrencyManager. Since the constructor of the CurrencyManager is not exposed, is it possible to effectively implement the interface...

View Article
Browsing all 2535 articles
Browse latest View live


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