Click here to Skip to main content
15,911,030 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hiii .....i am using two tables of data ......when i am entering the data not getting exact data in gridview ... i am using one unique column but it returns duplicate data..any one plz suggest me what is the better way...
Posted
Comments
lukeer 25-Nov-13 6:02am    
A better way would be to read this[^].

Then re-word your question using the "Improve question" link so that other people than you are able to understand what's going wrong and help you.
Dusara Maulik 25-Nov-13 6:24am    
Please "improve question" and also list our you insert sql and select sql to fill data in gridview
Rahul_Pandit 25-Nov-13 6:26am    
hey we are not mind reader...put ur query
Karthik_Mahalingam 26-Nov-13 12:03pm    
please make ur question clear

1 solution

Hi shrikant

While extracting data from two tables ,you have to use joins correctly ,then definitely you will avoid duplicate rows , you can put yor query and table structure in question ,definitely you will get best solution from code project members.
 
Share this answer
 
Comments
SrikanthChowdary 26-Nov-13 23:15pm    
Than q .... i will try the same way before seaing ur answer .. i got it... once again i said thanx...

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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