当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Getting into My Music I
 

 

 ·datagrid中嵌套使用repeater    »显示摘要«
    摘要: 本文描述了如何把repeater 控件嵌套进datagrid来显示分级的数据 。当然,你也可以将这一技术应用到其他的列表绑定控件上去,比如datagrid包含datagrid,datalist包含datalist等等的组合。 完整的代码 如下,要注意的是, datagrid1.datasource=dv; datagrid1.databind(); 一定要在ds.rela......
 ·如何用visualc#做组件    »显示摘要«
    摘要: ......


[Sample]Playingwithmusicfile
getting into my music

figure 1. a simple database schema for holding my music library 【程序编程相关:在Windows窗体中使用动态属性

if you decide to have your own interface for playing music, one of the fundamental decisions is how to manage your library of mp3/wma files. do you use the existing library of another program (such as microsoft?windows media?player), or do you write your own? this is not a particularly easy decision, and i am still not completely sure which is the best choice, but i had to make a decision or i would never be able to move on in my development. i decided that using a database to create my own library/catalog of music files would be the most flexible option, although this path would likely require more work at the beginning. i set up a new database in msde on my development machine, and created the following schema (actually it is a fair bit more complicated, but these are the key tables): 【推荐阅读:基本概念的澄清

reading the tags 【扩展信息:基于.net的自动代码机

of course, after building my own system, along came what is arguably a much better one in the form of windows xp media center edition, which created a bit of a conflict in my mind. why continue building my own if i could go get a better one that is completely done for me? the confusion only lasted a few moments though; i am a programmer, so i often build things when it would be much more logical to buy them.

although i didnt have any formal requirements or architectural documentation (maybe its just me, but having to produce all the same documentation as a work project would take some of the fun out of it), i knew that moving to the next stage would require code that could read all of the attributes from an audio file梐rtist, song, and album names, for example.

i originally assumed my collection would be in mp3 files, which store attributes using various flavors of a system called "id3," so using the resources available at www.id3.org, i started creating a microsoft windows .net framework-based library that could handle the more common versions of id3 tags. in parallel, i began ripping my cd collection onto my hard drive (for my own personal use, of course). for this, i used windows media player, and i spent some time investigating the various options available in terms of wma (windows media audio) versus mp3 and different encoding rates.


...   下一页
 ·我对duwamish7的一些理解(一)    »显示摘要«
    摘要: 我对duwamish7的一些理解(一) 前言:首先要声明的是:虽然题目后面跟了个“一”,但我不敢保证会有“二”或更多,因为我现在也是在边学边做中,而且我做的项目基本上是由我一个人来完成数据层及业务层的操作,所以我想我根本不需要像duwamish7这样分这么细的层次,也可以比较好的实现面向对象,比较好实现封装继承等。但我还是对分层设计的设计模式非常感兴趣,于是还是决定好好研究一下du......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE