Click here to Skip to main content
15,884,836 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a scenario where in i generate data on the fly with some queries to the Sql server.The data is for next 25 years and the cost details


The data is displayed to the user in the form of grid and the there are two fields called defer(int) and affects-life(Boolean).

The user can change these values and defer the activity for the next year or next any no of years so that the grid which is fetched does not show the deffered activities.

But since the grid is generated on the fly .I having the problem in generating the dynamic data for the current records and the deferred records.


Can anyone help me on how do i go about it
Posted
Comments
ZurdoDev 13-Feb-15 8:33am    
Where are you stuck?

1 solution

do your query, set the result in datatable and set the datatable aqs datasource of your datagrid
 
Share this answer
 
Comments
Richard MacCutchan 6-Jul-15 10:07am    
Please stop posting these poorly formed answers into old questions.

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