asp.net - asp net vb make a calendar in one row / horizontal -


i want make calendar view, in asp.net using vb language.

but displayed in 1 row, date 1 until 30 or 31 every month, have search tutorial few website give hint, , search result far

<asp:repeater runat="server" id="rpcalendar" onitemcommand="rpcalendar_itemcommand">     <itemtemplate>         <asp:linkbutton id="lnkdate" runat="server" text='<%# eval("date") %>' commandargument='<%# eval("date") %>'             commandname="select">         </asp:linkbutton>     </itemtemplate> </asp:repeater> 

and server side code

//add // //using system.linq; protected override void onload(eventargs e) {     base.onload(e);     rpcalendar.datasource = enumerable.range(1, 31).select(a => new { date = });     rpcalendar.databind(); } protected void rpcalendar_itemcommand(object source, repeatercommandeventargs e) {     string selecteddate = e.commandargument.tostring(); } 

i dont understand codes, can tell me code? or maybe link tutorial problem?


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -