Questions about Bindingsource.EndEdit and BindingSource.AddNew
Hello-I am currently working on a piece of code (windows Forms in VB (VS 2010)) that is already in production and using bindingnavigator/tableadapter/bindingsource to cycle thru the data (they are...
View ArticleIs it possible to add a ComboBox with unique sets of data to each cell of a...
Sorry if this does not make sense, but I am new to C# and WPF...I have a case where I need to have a potentially different set of data for any giving cell of a grid...In the example code I show below,...
View ArticleHow to display row numbers in GridView,urgently required
Hi,I need this very badly. I am using a datagridview for which the datasource is a dataview. This dataview is assigned with a datatable from database.I am able to display the row numbers for the...
View Articlebindingsource.addnew does not set dataset.has changes = true
I am getting data from an Excel spreadsheet and attempting to add records to an access database. I have been successful programmatically adding records to other tables in the database with the method...
View ArticleRegex for TSQL Columns of View
This Script: CREATE VIEW [dbo].[FAHRAUFTRAGZIEL] ( ANFAHRSTELLEID, FAHRAUFTRAGID, FIRMENNR, SEQ, UUID, ADRESSENID, ADRESSEN_NUMMER, ANFAHRSTELLE_NUMMER, ANFAHRSTELLE_NAME,...
View ArticleWhy method doesn't execute?
Hello. I have a problem. Obviously ;) So, I have a method that update and refresh datatable in one form. If I "connect" this method to button in same form (form1) it works fine, but if I "connect" it...
View ArticleHow to make a login system in VB 2010
Hello everyone, Yimi167 here with a new question.I'm a bit rusty at vb studio and programming in general, however let me start to explain. I'm looking to make a login system in vb 2010 that would be...
View ArticleC# App connecting to an Access DB File - error -...
Good DayI have an application written in C#, that connects to a Microsoft Access Database file.Now, the enviroment is (Windows 7 - 64bit, with MS Office 32 Bit.After some research, i came to a solution...
View ArticleSave all records DATA Grid view by typing in it
Hi, can somebody help me about Save all records DATA Grid view by typing in it. I'm using vb 2010..for example i have a grid and i type the records there after going to the next row it will be saved to...
View ArticleWhat control can I use to mimic the record selector within an Access Database
I'm updating an older access application to a C# 3.5 winforms application. I would like to mimic the way I can bind data to a record selector and when I cycle through the records the data within the...
View ArticleForm with Autoscroll Focus on Datagridview triggers scroll
I was experiencing the same issue as stated below:http://social.msdn.microsoft.com/forums/en-US/winformsapplications/thread/03b1b1e5-0714-49e1-a118-9349c50d0eff/I also tried the solution given in that...
View ArticleMS-Access C# Updating Data to the Database
I use MS-Access Database using C# for my Windows Forms ApplicationI have the Following two combo boxes 1 combo box with EEID-Unique ID and Employee name I have a 2nd Combo box with a list of employee...
View ArticleHow I can reload my dataGridView ?
http://social.msdn.microsoft.com/Forums/windows/en-US/ff091d1a-c446-472f-b51e-37f2b9cd3b54/how-i-can-refresh-my-datagridview-from-another-form?referrer=http://social.msdn.microsoft.com/Forums/windows/e...
View ArticleBuy X Get Y Free scheme Logic
Hi,I have some items with MRP. I want to apply some offer to this items likeBuy 1 Get 1 Free/Buy 2 get 1 Free / Buy 1 Get 2 Free, etc.Suppose 1 Customer buying 2 items such as,(these items are added in...
View ArticleVB.Net - DataGridView - Image
Hello, I'm beginner for VB.Net, I put several image file paths in Access database column,(Database has few column ID, Name, FilePath)I want to show all the data in DataGridview with Image (Not file...
View ArticleCombobox has been populated, would like to use this information to populate...
I have a combobox which has been populated from an sql query with datareader.I then have databound textboxes on the screen which I would like to have their text changed based on the scrolling through...
View Articlehow to show true false in place of 1 and 0 from a tinyint type of col ....
hi,I a column tinyint having 1,0 , i want to show true and false in gridview, or datatable.please tel me how i accomplish the task.yours sincerly.
View ArticleCreating a form within a form.
Hello,I have a project that has a binding Navigator and I have it binding to certain fields on the main form. I want to create a subform that is visible on the main form. When the user changes...
View ArticleNeed "display value" and "actual value" from an UN-bond combobox
I can see that this can be done if you look up the data from a data table, but I have a lot of simple unchanging options list which do not need to be soft coded in the database. However, I want to...
View Articlesharepoint combox binding to list and excel web part to link to excel wordbook
i want to create a share point site and want to display a combo box there. this combo box box can have value as 1,2,3. according to the value selected in combo box, I want to display the data in list...
View Article