コード例 #1
0
        private void UserComplaints_Load(object sender, EventArgs e)
        {
            localhost.Service1 s  = new localhost.Service1();
            BindingSource      bs = new BindingSource();

            bs.DataSource = s.GetAllComplaints();
            gvAllComplaints.DataSource = bs;
        }