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
moises pereiraPosted Aug 17, 2013, 5:28 AM
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);
}
}
}
Iftikar HussainPosted Aug 17, 2013, 1:10 AM
Please share your code to solve your query.
Regards,
Iftikar
Sanjeeb LenkaPosted Aug 17, 2013, 1:03 AM
plz share your code so we can able to solve your problem.