Click here to Skip to main content
16,021,211 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i tried but it is not working.

i am binding the data base record into data grid view.

in code when i type datagridview.databind();


the above line after dot(.) databind, is not coming why.i tried several times but it is not coming.


why/. how can i get the data bind.
Posted
Comments
Faisalabadians 18-Jan-13 7:10am    
can you post complete source code ?
[no name] 18-Jan-13 7:40am    
We can't predict your problem until and unless you put the codes here.

create a datatable add ur required output to that datatable and then
datagrid.itemsource= datatable.defaultvalue;
 
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