[dba-VS] Trying to Pull Data from a Local Database via C# code

Salakhetdinov Shamil mcp2004 at mail.ru
Sat Sep 19 06:08:49 CDT 2015


 Hi All --

I forgot to mention that you also have to rename the text

YOUMUSTCHANGEME

to your MS SQL Server name where you'll have the sample database attached.

-- Shamil

>Saturday, September 19, 2015 1:47 PM +03:00 from Salakhetdinov Shamil <mcp2004 at mail.ru>:
>
>Hi Brad, Gustav, Bill et al --
>
>I have just accidentally got at this gem (it's VB.NET):
>
>http://tinyurl.com/o62lhmd
>  I have got it running in VS2012 - you just need to comment-out all code in IDataErrorInfo.vb module in MissingSilverlightInterfaces.vbproj project and in MainPageViewModel.vb module of BBQShack.Silverlight project
>
>comment-out/replace the following code line:
>
>l_Location_SelectForPOS = e.Result
>
>with 
>
>l_Location_SelectForPOS.l_AddressOne = e.Result.l_AddressOne
>l_Location_SelectForPOS.l_AddressTwo = e.Result.l_AddressTwo
>l_Location_SelectForPOS.l_City = e.Result.l_City
>l_Location_SelectForPOS.l_Name = e.Result.l_Name
>l_Location_SelectForPOS.l_Phone = e.Result.l_Phone
>l_Location_SelectForPOS.l_State = e.Result.l_State
>l_Location_SelectForPOS.l_WebSite = e.Result.l_WebSite
>l_Location_SelectForPOS.l_Zip = e.Result.l_Zip
>Enjoy!
>
>-- Shamil
>
>>Friday, September 18, 2015 9:15 PM UTC from Gustav Brock < gustav at cactus.dk >:
>>
>>Hi Brad
>>
>>Yes, as my son-in-law - who has worked with Visual Studio since the very first version - "warned" me when I asked him if I should check out VS2005: Once you start using Visual Studio you won't look back. 
>>
>>/gustav
>>
>>________________________________________
>>Fra: dba-VS <  dba-vs-bounces at databaseadvisors.com > på vegne af Brad Marks <  bradm at blackforestltd.com >
>>Sendt: 18. september 2015 20:21
>>Til: Development in Visual Studio
>>Emne: Re: [dba-VS] Trying to Pull Data from a Local Database via C# code
>>
>>Gustav and Bill,
>>
>>Thanks for the help.
>>
>>I finally got things working last night.
>>
>>I am really starting to like Visual Studio and C#.
>>
>>
>>Thanks again,
>>Brad
>>_______________________________________________
>>dba-VS mailing list
>> dba-VS at databaseadvisors.com
>> http://databaseadvisors.com/mailman/listinfo/dba-vs
>> http://www.databaseadvisors.com
>
>_______________________________________________
>dba-VS mailing list
>dba-VS at databaseadvisors.com
>http://databaseadvisors.com/mailman/listinfo/dba-vs
>http://www.databaseadvisors.com


More information about the dba-VS mailing list