DropDownList, DataGrid and LINQ.

Sử dụng .NET 3.5 (Source code)


Trước hết add 1 Class LINQ vào project.


Kéo thả 2 table vào Class này như hình.


Đây là file giao diện.



Hàm PageLoad() và OnInit() Trong đó có function BindData()


Khi chạy sẽ như hình.

Comments

Popular posts from this blog

How to search and HighLight !

What's ViewState? How does use?