English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have a grid view control on my form and I have another class with a method that returns a Dataset.

How do I get the grid to display the Dataset?

I keep reading about a SetDataBinding method, is this still available in VB 2005 cause I get an error that its not part of the DataGrid Control and it doesnt show up on the drop down list.

2006-10-12 12:55:49 · 1 answers · asked by tru_story 4 in Computers & Internet Programming & Design

1 answers

in WinForms use dgMyGrid.DataSource = myDataset.Tables(0) But in ASP.NET you MUST add Page.DATABIND() which is a method that tells page to bind data to grid.

2006-10-12 12:58:44 · answer #1 · answered by VADIM_K 2 · 0 0

fedest.com, questions and answers