WebBrowser Control and IE 11
We are using VS 2010 and want to use the WebBrowser control to manage webpages that require IE9 or abovewe have been attempting to use the registry key FEATURE_BROWSER_EMULATION with value of 11000 and...
View ArticleDataGridView, how to capture a cell's KeyPress event...
Hello all, I am trying to implement an event handler for the KeyPress event for a cell within a DataGridView control. The obvous starting point from the DataGridView keypress event, but this doesn't...
View ArticleMaintain selection state (Multi selection) and check box state when sorting...
We are using datagrid view in virtual mode to display contacts having check box column and 4 new columns.Unable to get previous selected and checked rows when sorting or new contact or contact delete...
View ArticleC# open a file that is stored path in a database from mouse click on a cell...
Hi guysI stored a path on database, that path represent file on speical location for example "D:\\New\\".now i need to resume that file from that location in textbox or in axWindowsMediaPlayer1 by...
View ArticleVoice Recognition in C#
I'm trying to build a program who recognizes my voice.using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using...
View ArticleDataBinding with a drived class
hiI have a base (abstract) class "Eroua" with many classes that derive from it.and I have a List<Eroua> for all the objects togetherI have a combobox with enum that determines the type of the...
View Articlehow to print only the checked rows from a datagridview in c#
I have a Datagridview it has a checkboxcolumn! when the data is loaded for standard all rows get checked! but i need to uncheck some of them and so send each column value to a 3 vars and print them!...
View ArticleHow to add a set row to the beginning of DataGridView after or before its...
So I have a DataGridView that im binding with directory listings.. Not sure why when switching from the Checkboxlist control to this control my "root" directory is no longer being bound in the list.So...
View ArticleDatasource datatable as column headers for drop down
HalloHope somebody can assist.I got various pricelist I'm importing into SQL, but the column headers need to be matched with the correct columns in SQL.So i create the import code and getting the...
View ArticleHow to edit DataGridView and send change back to Entity (LINQ).
I have WF project and this code: public static void fillDataGridUsers(string inDepartment, DataGridView outList) { var query = context.Users.Where(g => g.SubDepartment.Department.DepartmentName ==...
View Articlebind to a filtered list
I have a list of place in 2 countriesI want to bind it to a combobox, with a radiobutton to choose wich country's places to showand I can't find a way to do the filteringin the bindingsource object...
View Articleunable to store data in access database through windows form
Dear AllI have created a database where there are 3 tables and created relation ship between them.Alos I have connected database through dataset wizard and codes are as below still inserteddata is not...
View ArticleProgram connect to database but reports can't...
I made a program using C# and Winforms. For that program I created simple sql database on that same computer (local server). When program start it connect to database and read some data. Select, insert...
View ArticleHow to set sqlstr to insert data
Dear AllWhat is a mistake I am getting error in below codes conn is not openingImports System.Data.OleDb Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles...
View Articlehow to find total price in datagridview
HiI am new in c#.Please can you help to find the total price in computed column'Total' from the given code using cellendedit // this.dataGridViewInvoice.ColumnHeadersHeightSizeMode =...
View ArticleDataGridView Filter like Excel
Hi everybody, In Visual Studio 2013, I have created a DataGridView. I want to add a filter to each columns like the filter into Excel or something like but I don't find any integrated filter into the...
View ArticleDraging the Datagrid from Datasource Toolbar to Form
After upgrading my project from VS2010 to VS2015 and running on Windows10I'm using EF4 for my data connectivity with .NET 4Because My client is using Windows XP.I cannot Drag and Drop my Tables from...
View ArticleNotify when data has changed
Hi folks,Here is my scenario.An office user inputs in an order of 10 boxes into an Order Processing System.The order is shown on a screen in a warehouse so the employees there can make up the order of...
View ArticleIs there a way to dynamically add a contextmenustrip to datagridview?
Hi,I have a program that has a datagridview that is added to the form in the form_load event. I'm trying to figure out how to add a contextmenustrip so that the user will be able to right click to...
View Articlehow to check value of relation child table
SqlDataAdapter da1 = new SqlDataAdapter(order_query, conn); SqlDataAdapter da2 = new SqlDataAdapter(order_details_query, conn); DataSet ds = new DataSet(); da1.Fill(ds,"ORDER");...
View Article