aspx_professional thread: display contents of a dataset in a datagrid
Hi, I have a service which sucessfully return a dataset. I want to display the content of the dataset, but how? I use the following code to no avail: ds = svgService.getBranchRisksAdapter( sph.getWebConfigConnectionString(), varsUser.language, varsUser.branch, varsUser.quarter, varsUser.template); DataGrid MyDataGrid = new DataGrid(); MyDataGrid.DataSource=ds.Tables[0]; MyDataGrid.DataBind(); can anyone please help with code that works. please keep it simple. dirk
|





