101 Samples for Visual Studio 2005

文章發佈於 : 2005-08-12 11:17:47 | 文章分類 : 程式相關
標籤 :

Microsoft has released a compilation of 101 code samples in both Visual Basic and C# for Visual Studio 2005 and the .NET Framework 2.0. Samples include base class library samples, data access samples, web development samples, and windows forms samples.

Base Class Library Samples Include:

  • Changing ACL (Access Control Lists) on files

  • Console Enhancements including buffer control, simple animations and colors

  • Downloading files using FTP (File Transfer Protocol)

  • Network Programming including PING, UDP, and TCP network statistics

  • Using the new Stopwatch class to measure time


  • Data Access Samples Include:
  • Asynchronous Queries

  • Attaching a database with your application

  • Creating and using User Defined Types with SQL Server 2005

  • DataReader vs. DataSet comparision

  • DataSet and DataTable Enhancements

  • Performing Batch Updates and Data Paging

  • Performing Bulk Updates

  • Reading and Writing Images from a Database


  • Web Development Samples Include:
  • Using SQLCacheDependency for caching

  • DataBinding using the ObjectDataSource, SqlDataSource, and XmlDataSource objects

  • Create a Master/Details view using the DataGridView and DetailsView controls

  • Basic Master Pages, Nested Master Pages, and Browser-specific Master Pages

  • Using the new membership controls including the LoginStatus, LoginName, LoginView,CreateUserWizard controls

    Windows Forms Samples Include:
  • Running Asynchronous Tasks

  • Storing Custom Client Settings

  • Creating Master/Detail Forms

  • Playing, Looping, and asynchronously using Sounds

  • Using BindingNavigator for static and dynamic data

  • Using BindingSource for static and dynamic data including objects

  • Extending ClickOnce to programmatically check for updates

  • Customizing the DataGridView control with different column control types


  • Download all 101 samples at The Visual Studio 2005 Developer Center
     Love is waiting so you don't have to. Join Date.com for free!
     Join Asia FriendFinder the Largest Asian Dating Site on the Web for FREE!
     Kaspersky Security for Internet Gateway 7.0
     Know when to sell on eBay using research

    閱讀全文 | 回 應(2) |

     Adodb 裡面使用 mysql_affected_rows的方法

    文章發佈於 : 2005-08-03 18:44:38 | 文章分類 : 程式相關
    標籤 :

    今天剛好需要用到mysql_afftected_rows() 這個函式
    可是我整個系統都已經改用Adodb了
    正在發愁怎麼辦的時候,想說Adodb應該會把這個也寫進去
    因此就去看了一下它的source code
    果然讓我找到了,寫下來方便以後還需要用到的時候可以快速找到

    :item1: 這是看文件之前直接在系統裡面用grep去找的方法
    $to_invent = $db->Execute($to_invent_str);
    $to_invent_numb = $db->_affectedrows($to_invent);

    :item1: 這是凱大人提醒之後,看完文件用的方法
    $to_invent = $db->Execute($to_invent_str);
    $to_invent_numb = $db->Affected_Rows();

    :item2: 結論
    還是要認真的看文件啦 :cool:
     Love is waiting so you don't have to. Join Date.com for free!
     Join Asia FriendFinder the Largest Asian Dating Site on the Web for FREE!
     Kaspersky Security for Internet Gateway 7.0
     Know when to sell on eBay using research

    閱讀全文 | 回 應(2) |

     使用JavaScript進行列印控制

    文章發佈於 : 2005-08-03 16:29:46 | 文章分類 : 程式相關
    標籤 :

    今天在找JavaScript對列印控制的範例時
    找到這個網頁,裡面寫的很齊全
    基本上我們會使用到的功能,這個網頁都有列出了
    是一個不錯的網站
    :item2: http://www.irt.org/script/print.htm
     Love is waiting so you don't have to. Join Date.com for free!
     Join Asia FriendFinder the Largest Asian Dating Site on the Web for FREE!
     Kaspersky Security for Internet Gateway 7.0
     Know when to sell on eBay using research

    閱讀全文 | 回 應(0) |

     子母視窗 (PHP+JavaScript)

    文章發佈於 : 2005-08-03 10:12:38 | 文章分類 : 程式相關
    標籤 :

    :!: 又是一個方便自己尋找的紀錄 :cool:

    :item2: 母視窗
    win2=window.open("getCustomer.php?source="+index,"","width=800,height=500,scrollbars");
    win2.creator=self;

    :item2: 子視窗
    :item1: echo "window.opener.location.reload();";
    :item1: echo "window.opener.to_order.cust_name.value='".$cust_name."';";
    :item1: echo "window.opener.window.exist_cust.style.display='';";
    :item1: echo "window.opener.inventory_load_list.loadDataButton.disabled = true;";
     Love is waiting so you don't have to. Join Date.com for free!
     Join Asia FriendFinder the Largest Asian Dating Site on the Web for FREE!
     Kaspersky Security for Internet Gateway 7.0
     Know when to sell on eBay using research

    閱讀全文 | 回 應(0) |

     BlogShares Links Exchange

    1. Step into the Nexus 2. Scary Personals 3. Scared Bunny
    4. This Is A Cult 5. Its all about me 6. Webby's World
    7. Flower Delivery 8. Mindblogging Stuff 9. Random Thoughts by R. U. Serious
    10. Palmistry and Hand Analysis 11. Forward-and-Share 12. The Site With the Lamp
    13. Free Sample Forager 14. Kosir 15. CRM Reports

     阿維推薦

    1. ㄚ凱隨手記 2. ↖「懿」*瘋*堂↗ 3. A.D. Notepad 西元記事本
    4. Liang's Blog 5. 硬是要學! 6. 北國風情
    7. 綠色工廠 8. 淡淡的天空藍 9. 班大貓廢紙塗鴉部落格
    10. 大豆剝落殼 11. SEO网站优化推广 12. lazy Guy
    13. PHP 黑店 14. Meson手扎

     Back Links