Asp.net VB日历-使用mysql事件表填充
我在mysql中有一个带有日期的表,我想用它作为事件或活动日填充vb日历 将sql语句与以下内容一起使用Asp.net VB日历-使用mysql事件表填充,asp.net,mysql,vb.net,calendar,Asp.net,Mysql,Vb.net,Calendar,我在mysql中有一个带有日期的表,我想用它作为事件或活动日填充vb日历 将sql语句与以下内容一起使用 Select event, date FROM dateTable WHERE event = eventType.SelectedValue 我如何将这些作为活动放在日历上 <asp:Calendar runat="server" id="calendar1"></asp:calendar> 我肯定我用的是data:repeater,在某种程度上我就是搞不懂 您
Select event, date FROM dateTable WHERE event = eventType.SelectedValue
我如何将这些作为活动放在日历上
<asp:Calendar runat="server" id="calendar1"></asp:calendar>
我肯定我用的是data:repeater,在某种程度上我就是搞不懂
您需要的修改包括:
将SQL Server System.Data.SqlClientcode与或您最喜欢的.NET MySQL库交换。
建议的改进可能是取消数据集,改为使用本地MySqlDataReader