Click here to Skip to main content
14,836,169 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi there in my design i has i data grid view and i created three columns and i added it to the data grid view and in my hierarchy there is a function that i call it to fill data grid view but the problem is the function use procedure that select three fields , when i call this function another three columns added to the data grid view , what i want to do :-
i want the three retrieved columns by the function put each one in the corresponding column i created can any one help me in doing that ..?


Tips.....
the function return Data Set....



thanks
Posted
Updated 5-Oct-10 5:22am
v2
Comments
OriginalGriff 5-Oct-10 10:45am
   
Without at least some code to see what you are doing, it is near impossible to tell how to help...
Edit your question, and add relevant code fragments (Column create, fill method). Not the whole of your code! Oh, and use the "code block" widget to preserve the formatting.

1 solution

Hi

you have not posted your code how you have done your binding ? What you have to check is - Dataset , make sure you dont fill the dataset with all the values returned from Strored procedure, or while binding you dont bind the dataset with all columns , bind only thoes columns which are required, You also have to debug and check the dataset and binding logic.
   

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