Browse by Tags

All Tags » SQL Server » Visual Basic (RSS)

Use LINQ to XML to Generate Excel Documents by Jason N. Gaylord's Blog

I was looking for a quick and easy solution to export data from SQL into an Excel format from within my ASP.NET application. I came across a great video posted by Beth Massi on the asp.net website (Video #7 at the bottom at http://www.asp.net/learn/linq...

Obtain the Identity of a New Row Using LINQ by Jason N. Gaylord's Blog

It's actually pretty easy and user friendly to obtain the value of the identity column using LINQ. After you create your object and insert it on submit, you can call the identity column's property on your object. For instance: Dim db As New BlogDataContext...
Powered by Community Server (Commercial Edition), by Telligent Systems