Sumith Asanka 0 Light Poster

Hi Guys

I have a GridView inside a tabcontainer with some bound data fields , i have set

Autogeneratecolumns=false;
ShowHeaderwnenempty=true;

But i can't see header or grid anymore when run but it is visible on design mode,
but if i manualy bind it

gridview.datasource=dataset;
gridview.databind();

it is showing header and data, Has any body come a cross similer strange situation ?

thanks
regards
sumith

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.