c# - load Date From DB to view with matching date in Full Calendar -


i have date,project id,task id , workedhours in table(sql). need bind timesheet view. use full calendar here in weekly view. bind projects , tasks follows :

 <tr style="background-color:#ded9d9;color:#000">                     <td colspan="9">                         @html.displayfor(modelitem => item.project_name)                                             </td>                  </tr>                  <tr>                     <td style="padding-left:6%; width:22%;">                         @html.displayfor(modelitem => item.task_name)                     </td>                     <td style=" width:7%;">                         <input id="day1" name="day1" type="text" value=@item.hrs_worked style="width:70%;" />                     </td>                     <td style="width:6%;">                         <input id="day2" name="day2" type="text" value="" style="width:80%;" />                     </td>                     <td style="width:6%;">                         <input id="day3" name="day3" type="text" value="" style="width:80%;" />                     </td>                     <td style="width:6%;">                         <input id="day4" name="day4" type="text" value="" style="width:80%;" />                     </td>                     <td style="width:6%;">                         <input id="day5 @i" name="day5" type="text" value="" style="width:80%;" />                     </td>                     <td style="width:6%;">                         <input id="day6" name="day6" type="text" value="" style="width:80%;" />                     </td>                     <td style="width:6%;">                         <input id="day7" name="day7" type="text" value="" style="width:80%;" />                     </td> 

i have textboxes dynamically loaded based on number of projects here. listed available projects here successfully. need bind worked hrs in these textboxes dynamically matching date full calendar. display weekly calendar here totally 7 textboxes here used in attached image shown current status.. can me on come this..

here workedhoures each projects show in textboxes dynamically


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -