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

Change path of the database

Hello everyone,I use MS Visual Studio 2015 and MS Access 2016I've already a database in Access 2016. I created a link to Visiual Studio. I've one combobox on Form1When I use the button Start, Form1...

View Article


SQL in a combobox

Hello everyone, I use MS Visual Studio 2015 and MS Access 2016I've already a database in Access 2016. I created a link to Visiual Studio. I've one combobox on Form1. This combobox showed names. They...

View Article


Application Settings Binding Question...not Saving...

I've created a windows form, with several text boxes bound to user scoped application setting "variables". When I start the new application, they load the application setting values fine, but if I...

View Article

Trouble with LinQ in visual studio 2013 and access 2013

Greetings! I hope I posted this in the right place. I'm trying to use LiNQ to add an access database. I'm dragging and dropping a DataGridView control and trying to add the database from there. When I...

View Article

Image may be NSFW.
Clik here to view.

DataGridView DataError

Hi,I try to type in data into DataGridView cell (that's fine). but after leave this cell and reenter the cell  try to type in data.It give me dataError message. The message is this column is read...

View Article


How to export database data into excel file in C# windows form?

How to export database data into excel file in C# windows form?Thanks RegardsSamapth Kambala

View Article

How to Bind a List View with dataset using C#?

Dear SirHow to Bind a List View with dataset  using C#?There is no option for datasource and databind in listview.ThanksRam

View Article

How to populate values from datatable into datagridview when a datatable...

I want to bind my datagridview with my datatable where my "tableNumber" column in my datatable is eqaul to some number, but I olso want decide by self in which cell in datagridview a value from my...

View Article


retrieve data from database using c#

I am new to c# and this is the second program that I am writing. I am trying to retrieve data from an Access Database in C#. I am running into a little bit into a wall because when I compile the...

View Article


Databinding vs. Model-View-Controller (MVC)

Hello all,I'm trying to get to grips with the finer points of Model View Controller. I (think I) understand the theory behind it, but when it comes to the dirty work I find myself challenged.I have a...

View Article

Duplicate Designer.vb file when saving dataset

I'm having the following problem. When I change the dataset in a project Visual Studio generates a duplicate designer.vb I've tried the solution that was suggested in a similar post of deleting the...

View Article

ExecuteReader: Connection Property has not been initialized

I have ExecuteReader error. I have tried to connect database and get some values from my database. I have searched but can not figure it out. Here is my codeusing System; using...

View Article

Could not find installable ISAM.

I have an error says An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll and at additional information told me Could not find installable ISAM. public int...

View Article


Syntax error in INSERT INTO statement

Hi, I have a syntax error while trying to insert my data to Access database. I could not find where the error is. My ex.Message is Syntax error in INSERT INTO statement. Could you help me? string Sorgu...

View Article

Violation of PRIMARY KEY contraint Cannot insert duplicate key in object....

Hello,When I call TableAdaptermanager.UpdateAll (in the save button event) I get a Violation of PRIMARY KEY contraint Cannot insert duplicate key in object.This occurs if the users manipulated the...

View Article


[Live contact API] How to get full informations from Live account's contact?

I'm developing a project that access a Live email account (can be whatever email domain) to get all contacts, but the JSON result only contain some information and missing other information like middle...

View Article

Robocopy ProgressBar - loop

Hello, I am trying to figure out how to do a synchronization between two computers thanks to robocopy in a VB app in order to have a progress bar that shows the process stateI have found this code that...

View Article


Access Database Problem with Strings when saving data

Hi,I am trying to save my datas to an Access database but I have a problem. When I try to save my string like 00100000, program is going to save it like 100000. What should I do?public string...

View Article

Sql Database saving

Basically I have created a window which adds data to an sql database and the data can be seen in a datagridview however when I end the program the data doesnt save how do I make it so that the sql...

View Article

Visual Studio 2013 - Binding to a GridView Programmatically

Hello, everyone. I'm working on a project in Visual Studio 2013, where I'm trying to bind to a GridView control programmatically using EF but when I click the button the GridView does not appear on the...

View Article
Browsing all 2535 articles
Browse latest View live