Dear all,

I set GridView.EmptyDataText = "No Record".
The problem is when there is no record from SQL, GridView only appears "No Record",
I want GridView shows all columns name and below "No Record".

What should I do to do that ?

Thanks,

Kusno.

create a empty data template as yours wish

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.