{I+=codeWee;}
[C#] DataGridView: DataBinding for class property

// step1.		
public class MyData
{
	public string Data1 { get; set; }
	public string Data2 { get; set; }
	public string Data3 { get; set; }
};

// step2.
public BindingList<MyData> m_MyDataList = new BindingList<MyData>();


// step3.
myDataGridView.DataSource = new BindingSource(m_MyDataList, null);


HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.