Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
C#
private void dateTimeemp_ValueChanged(object sender, EventArgs e)

{


\\ need code here...

}
       {



m new to windows form

thx in advance
Posted
Comments
Maciej Los 10-Jun-15 5:27am    
We can't read in your mind or direct from your screen. Please, be more specific and provide more details about your issue. At this moment the wuestion is unanswerable...
ramyajaya 11-Jun-15 1:01am    
From my understanding you are trying to load a grid view on a value change and below that grid you want the column count.

1. On the value change event bind the grid you have created from data source with result of your db query
2 create another div holding a label in it below the grid

3 after binding with datasource calculate the column count and set it as value for the label below the grid

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