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

DataGridView.CancelEdit() doesn’t.

p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';} @page Section1 {size:612.0pt 792.0pt;margin:70.85pt 70.85pt 70.85pt...

View Article


Use of virtual mode in datagridview in windows application

HI friendsCan any one tell me what is virtual mode ?How to use it ?HOw it is useful?Thanks alot

View Article


Displaying data from database using Repeater

Hi,I have created a database with 3 column in a table.Where column 1 is username and column 2 is Report name.Column 1 has 2 user :-user1-----> ABCuser2-----> PQR. So if i select ABC i am getting...

View Article

Help on .net and Sql Server

Hi guysI am sending value from textbox to Sql server tables but the error is thatInvalid column name 'value'As i enter any value it considered as column namecan any one help me

View Article

Prevent context menu from showing when clicking DataGridView header or white...

I have a context menu strip and have set my DataGridView ContextMenuStrip property to it. I don't want the context menu to pop-up when (1) Clicking the DataGridView column header or (2) Clicking on any...

View Article


C#: Deleting an open file in Dispose method

Hi,In the following Dispose function, we do not dispose our stream instance if we were called from the finalizer. (yes, I know that this is a somewhat convoluted version of Dispose and it should be...

View Article

dataGridView doesn't refresh the data when I move the vertical scrollbar

Hi everyone, I have a problem on a datagridview. The data of the datagridview are filled in real time through a separate thread.  When I move the vertical scroolbar, down and after up, the data of the...

View Article

Index was out of range. Must be non-negative and less than the size of the...

 protected void Checkout_Click(object sender, EventArgs e)        {            if (Session["Cart"] != null)            Response.Redirect("Checkout.aspx");        }        protected void...

View Article


ReadWrite the values of xml checkbox and combobox in windows forms

Hi All,I have a checkbox and combobox in my windows form application.My requirement is in the form i just select one item in combobox and i checked the checkbox after that i clicked save button the...

View Article


FoldeBrowserDiaolog in Visual Basic 2013 (express) for Windows

I am using Visual studio Express 2013 edition for Windows; not the one that is categorised as for Desktop Windows. I cannot find the FolderBrowserDialog, or any diaologs and menus controls in VB.  They...

View Article

c# datagridview combobox column dropdown list remove elements

Hello. I created a datagridview in visual studio 2013 professional - winfowms. In this datagridview i create a combobox column, which take data from my DB. Its work correctly, but now i want delete...

View Article

Save xml in bin folder in windows fo

Hi all,I created a windows forms application and i stored the entire form data into xml file in  a physical location.I wanted to store this xml in bin folder.Is there any way to read the bin path...

View Article

Weird Textbox behaviour

Summary: C# Winforms app Devexpress controls input controls are databound to datasetsnow the issue is I have at least 4 different dialogs (out of 200+) where no text input controls will except key...

View Article


linq group in datagridview

Hi all,I readthe datafrom the DBandinsert themin acustomobject.Thenloopthe lines of thisobjectandinserteach rowin my datagridview.Now I want topassthese lines,grouped bycolumn 2(customer)and column 3...

View Article

how to create a barcode of type ean-13 in c# windows forms with sql server...

Hi my name is vishal.For past 10 days i have been going nuts over of how to create barcode in c# windows forms with sql server 2008 using StrokeScribe control of version 4.3.2. i have done some coding...

View Article


simplest way to sort using the listview column headers (c#, winforms)

Hi.  At the top of the listview there are the headers that can act as "button" for sorting the column.  What is the simplest method/way to get the column header "button" to sort?  Only want to sort one...

View Article

how to use controls in dyamically created texbox for winform

Hi All,i am new in dyamically created textboxi try sum code from internet, but its not work properly. i want to use (Enter Key or Tab) to create next textbox and move cursour to newly created textbox...

View Article


DataGridView - KeyDown in EditMode

Using VB2008, I want to look at each character that is entered into a DataGridView cell and perform some actions when necessary. For example, the user enters a couple characters and then presses F3....

View Article

Accessibility values on DataGridViewCell checkbox.

When I set the ReadOnly property on a data grid view cell, I need to know that the cell is Read Only via Accessibility tools (such as INSPECT Active Accessibility Object Inspector).Currently this is...

View Article

how to speed up data fetching in wpf apps with sqldata.

i hve to display data more than 50000 row and 15 column in wpf application.. its taking so much tym in fetching.could any one help me in this..

View Article
Browsing all 2535 articles
Browse latest View live