Friday, June 28, 2013

LINQ VB.NET CODE SNIPPET

Private Sub FillServiceCategory()
        cmbSrvCat.DataValueField = "SRVC_SUM_ID"
        cmbSrvCat.DataTextField = "SRVC_SUM_DESC"
 
        cmbSrvCat.DataSource = db.tbl_Service_Summary.OrderBy(Function(x) x.SRVC_SUM_DESC).ToList()
 
        cmbSrvCat.DataBind()
 
        cmbSrvCat.Items.Insert(0, New RadComboBoxItem(""))
    End Sub

No comments:

Apache Kafka Tutorial: A Comprehensive Guide for US Business Owners and Decision-Makers

Introduction to Apache Kafka What is Apache Kafka? Apache Kafka is an open-source distributed event streaming platform designed to handl...