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

How to get auto generate ID in Textbox on button click?

hello,I need to Generate ID number Increment Auto or  any autogenerate number on button clcik , but how ? I tried the below code but everytime am getting the same id.static string IncrementID(string...

View Article


How can I paste new rows into A datagridview that is bound to bindingSource?

There are a lot of answers to this question but none of them seem to work. Is there a good book or documentation that explains how to do simple data operation like update delete insert when using a...

View Article


How to make VB.NET DataGridView as fast as VB6 DataGrid?

I have two programs: one written in VB6; the other in VB.NET. Using a table with 41025 records the VB6 version fills a DataGrid in about 4 seconds. The VB.NET version takes nearly three minutes to fill...

View Article

Is it impossible to implement ICurrencyManagerProvider outside...

HelloI have read the source code of the classes BindingSource and CurrencyManager. Since the constructor of the CurrencyManager is not exposed (it is declared as Internal), is it possible to...

View Article

ComboBox returns null value or diffrent value than needed, after selecting a...

 I am trying to create a Windows Form Application where I insert values for a contract, and in this contract I need the ID of the employee that worked on it. I've added a ComboBox and added the name...

View Article


Inner Join on 2 Sql Instance

Hello,I happen to chance upon a situation that I have to fill DataGridView where the data will come from different SQL instances. I can fill the DataGridView using Inner Join if it will come from one...

View Article

Databinding to multiple comboboxes

I have a Windows data input form consisting of 60 comboboxes bound to 4 separate data tables. I solved it by using 60 Data Adapters and 60 Datasets. However, I get the feeling it might be made in an...

View Article

Data binding to a listview

Hi there I am new to this so can you tell me what am I doing wrong with my data binding to a listview. Imports System.Data.SqlClient Public Class My_Movies Dim cn As New SqlConnection("Data...

View Article


datagridview combobox

I have a combobox column in a datagridview I want to know how to drop it down on one click not 2 or 3. Also I want it to be drop down style not drop down list style. How can that be done. It's also...

View Article


How to update a single cell in GridView without refreshing the whole page ?

Hi, I am displaying information in a GridView .  The data is in a static class called Data (will be replaced by a database in future). To upload the information to the GridView , I am using a DataTable...

View Article

How to add Diacritics short vowels on Arabic plain text

Good day I am open to suggestion from every senior members of this forum, I newly registered on the Microsoft Azure marketplace and needed to know the right application that will enable me to...

View Article

How to Retrieve an Image from Database and Display it in WinForms?

Hello,I have a WinForm application that requires saving images to and retrieving them from an SQL Server database. To cut it short, nothing is wrong with the SQL statements embedded in C# code. When...

View Article

DataGridviewLinkColumn Edit/Update functionality

Hi,Iam facing two issuesI am Implementing a Edit/Update functionality in c# datagridview desktop application. For the Update column iam using datagridviewlinkcolumn. when i click on "Update" link the...

View Article


Image may be NSFW.
Clik here to view.

Displaying items from one listbox to another listbox in C#

Hello All,Here i am having 3 Listbox as shown in the image below :- What I currently have is when i enter some name of the profile in textbox above displaying "Enter Profile Name" and when i click...

View Article

datagrideviewComboboxColumn

hiI have one form have one  button and one datagrideview with two column  .Name and Title . the title column add programmatically.here is code in loadDataGridViewComboBoxColumncombo2...

View Article


C# DataGridView, Row Headers / Generating

I've been tinkering on a DataGridView class I extended.  I'm trying to make the rows/row headers act something like the Outlook calendar with the timestamps down the side.  9:00 AM, 9:15 AM, etc.I've...

View Article

Optimistic Concurrency in Entity Framework

Hi, I'm trying a way to recognize if another client has changed a record on the database while I have it open....

View Article


datagridview datasource does not update when adding a datatable to dataset in C#

I have added a dataTable to my dataset now I want to add that dataTable as the datasource of a datagridview but that datatable is not shown in datasource list of datagridview. How can I update the...

View Article

Image may be NSFW.
Clik here to view.

C# and SQL, Query rows to be Columns, Join on Time Stamp

**EDIT Attaching a screenshot for a basic outline of how I need it to display.  Names on top, times on the side next to the corresponding stamp.  It's a vague imitation of a calendar...sorta.**END...

View Article

Image may be NSFW.
Clik here to view.

Customizing Non-Databound DataGridView Rows/Cells from DataTable/DataSet...

I've gotten a few pieces of this working, I'm not sure about an approach to the rest.  I'm somewhat mimicking a calendar control, I've got a DGV control that generates time-stamps along the side in the...

View Article
Browsing all 2535 articles
Browse latest View live


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