Avatar of Moti Mashiah
Moti Mashiah
Flag for Canada

asked on 

windows form

Hi guys ,

I'm trying to update datagrideview with button, here is my code:

//update button
        private void button1_Click(object sender, EventArgs e)

            //PasssaveEntities db = new PasssaveEntities();

            //var upd = (from u in db.t_Login where u.Id == u.Id select u);

            //dataGridView1.DataSource = (upd);

Open in new window

C#.NET ProgrammingLINQ Query

Avatar of undefined
Last Comment
Moti Mashiah

8/22/2022 - Mon