Dataset Designer: "Unable to find connection MyConn (MySettings)1 for object...
Everything was working well yesterday, but today when attempting to open and preview one of the queries of a tableadapter in my application's most crucial dataset, generates this error:"Operation...
View ArticleBinding data to a Form
Hi,I am a MS Access developer and this is my first time creating Windows Forms application. The application is very small. I've created a main Form with a button that retrieves some data, creates a...
View ArticleForcing a virtual DataGridView to refresh its Cell values
I have a virtual DataGridView that has a data cache behind it.Sometimes I update the values in the cache programatically and I want to be able to tell the DataGridView to refresh the cells. That is,...
View ArticleHow to use AdjustCellBorderStyle()
Hello,I just want to format the borders of some cells, in an unbound dataGridView.I found dataGridView1.Rows[1].Cells[2].AdjustCellBorderStyle( , , , ) method but i encounter difficulties with some...
View ArticleLosing binding when updating datasource
For the example below:timebindings(1) is as bindingsourceand timebindings(1).datasource = s1values(1)I have a label with a binding as such: label14.databinding.add("Text", timebindings(1),...
View ArticleHighlight a text in the cell of data grid view.
I am using windows application with c#.i need to highlight searching text in datagridview in color.(like we are using find in the internet browser).i am able to change the color of the cell but not the...
View ArticlePrevent Cell Departure using CellValidated Event
Hello,In a datagridview I am testing for certain user input conditions in the CellValidated event (not cellvalidating). I would like to know if there is a way to keep focus on the active cell if...
View ArticleImage from database not showing up in datagridview
Hi all,I have created a simple windows form application. I have inserted an image into database(after converting the image into binary file). The image is stored in the database not the URL of the...
View Articlelong Text Wrap in Datagridview Textbox colum C#
hi everyone ,my prob is if i m write long text without space means datagridview column not wrapping...if using space means wrap working properly...i was set these setting in datagridviewAutoSizeRowMode...
View Articlesearch the datagrid that using lookup column
hi,i have a datagrid that contain (ie. ID, Office and empName)the Office and empName are a lookup columnsi did this in add query>>filter (like @empName + '%')when i do it i get an error (data...
View ArticleDataGridView - Remove default context menu while editing cell
I have read multiple post about using EditingContolShowing event to prevent the default context menu from appearing on a right click in the cell that you are editing. But how can I prevent this default...
View ArticleRetrieve using HtmlAgilitypack in windows application..
Hi.. i am new to HtmlAgilityPack..I am using Windows application with c#.i need to retrieve html code from website and load the table contents in a datatable.So i can show it in gridview..Please...
View ArticleWebkitBrowser doesn't support special character #
hi..I need to navigate a site using webkit control..but in the url it stop reading in #..but the url have some words after # symbol..please help me..why it doesn't support #.how to make it support.
View Articleconvert single value to one decimal and allow value not more than 99999
i want that text box allow value not more than 99999 and i want if i type in text box 9 then it convert to 9.0following code i try, for in put number only its work fine,Private Sub...
View ArticleWeb browser not fully loading.
Hi.i am using windows application with c#i am trying to retrieve a html data from webpage using webbrowser. but the problem is document_completed event handler executed before the webpage fully loaded...
View ArticleHow to change a font colour of a particular row in sql database?
I am developing a desktop sql database application using C#. I want to change the font colour of a particular row of database. For example, my table looks something like thisItem code | Perfume Name |...
View Articlepopulating treeview from a view or 2 tables (winforms, c#)
Hello. I have a treeview on a form that is to show the Projects as the top level with Tasks as the children. A child can also be a parent. When a task is created it is assigned a parent (if...
View ArticleTo Create Report using Multiple RDLC file..
Hi All ,I have an problem while creating the report for windows application. I need to load the multiple rdlc file in one report viewer as per the requirement. I have created the stored procedure for...
View Articlewhy after decimal show only zero vb2008
ihave four text box i use below formula, when i put number 16 in tb1 & 3 in tb2 then tb3 show result according to my formula =5.0 but i want it show complete value 5.3 in sted of 5.0 my code is...
View Articlehow to create database which saves contents of listbox and show listbox...
hello,I am a very beginner programmer. In my code I have create a basic add/sub feature, three textbox and two buttons( +,-). Two o f the textboxes will accept a value, when one of the buttons(+,-) is...
View Article