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
This blog shares my journey as a software engineer, along with personal reviews and life experiences I’ve gained along the way. “I have not failed. I've just found 10,000 ways that won't work.” — Thomas Edison. If you enjoy my content, please support it by clicking on ads (free for you, big help for me!) or by buying me a coffee on Ko-fi. Thank you!
Friday, June 28, 2013
LINQ VB.NET CODE SNIPPET
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment