hello !
i am working on a simple grid , i create 3 columns name , A B C , manually , now i have a table having three fields A B C , i want to show Rec A in A col , B in B Col and C in C Col. but when i give datasource to my grid , it shows 6 columns , please guid me iin this .

Regards

Try setting the autoGenerateColumns property of the data grid to false.

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.