Click here to Skip to main content
15,905,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
grid field created multiple times.when i will login after that there is grid where i want to disply some details but this details printed multiple times.for e.g i want to display company name..the name comes multiple times.plz help me?
Posted
Updated 4-Jun-12 0:44am
v2
Comments
Prasad_Kulkarni 4-Jun-12 6:47am    
Can you provide some code snippet??

hi, this happens when you use template fields to bind your gridview and also AutoGenerateColumn="true". You need to false it as AutoGenerateColumns="False"
 
Share this answer
 
Go to GridView Properties

Set the AutoGenerate Column Property to FALSE
Width = 800
Horizontal Align set as CENTER.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900