Hi
I am new to Visual Studio Express.
Created a Windows form (C#).
Added a listbox and in properties databinding, advanced.
I bindend to table: CostumerBindinSource - CompanyName
Then pressed F5 and see only an empty box.
Using 2012 version.
I expected see all data of table displayed in form listbox.
Please clarify
Moises
Loading

Sanjeeb LenkaRank #301 · 8.3K reputationPosted Aug 16, 2013, 9:03 PM EDT
plz share your code so we can able to solve your problem.
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 16, 2013, 9:10 PM EDT
Please share your code to solve your query.
Regards,
Iftikar
moises pereira3 reputationPosted Aug 17, 2013, 1:28 AM EDT
I think the line below belongs to the listbox I am trying to display.
this.customersTableAdapter.Fill(this.northwind40DataSet.Customers);
Is this a listbox to be displayed or just some internat component of the form ?
Moises
using
System;
using
System.Collections.Generic;
using
System.ComponentModel;
using
System.Data;
using
System.Drawing;
using
System.Linq;
using
System.Text;
using
System.Threading.Tasks;
using
System.Windows.Forms;
namespace
WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'northwind40DataSet.Customers' table. You can move, or remove it, as needed.
this.customersTableAdapter.Fill(this.northwind40DataSet.Customers);
}
}
}