RDP0 yeni = new RDP0();
yeni.IPADDRESS = "1.1.1.1";
yeni.PASSWORD = " 10akh0";
yeni.NO = 8;
yeni.CUSTID = 1000;
testList.Add(yeni);
dataGridView1.DataSource = testList;
I'm getting data-bound error therefore I cannot add rows. Any help would be great. This is how I bound data to my dataGV:
tm = new testModel();
var query = from fe in tm.ERDP0 select fe;
testList = query.ToList();
dataGridView1.DataSource = testList;