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 .


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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.