Last post Oct 05, 2007 07:06 PM by jamlew
Oct 05, 2007 11:45 AM|DannyDep|LINK
I can find many examples of this using C# but I have not been able to find one using VB code and a database. HELP!!! [8-)]
Oct 05, 2007 12:58 PM|jamlew|LINK
The process is basically the same for each, just a diffenent syntax due to the languages. Have you looked at the [url=http://quickstarts.asp.net/QuickStartv20/aspnet/doc/localization/localization.aspx]localization quickstart[/url]? All of the quickstarts
should have sample code in both C# and VB.
Oct 05, 2007 01:20 PM|DannyDep|LINK
Yes, I did look at that video and it was helpful.
But I should have mentioned that I need to store the data in a database (preferably Access) but I'd take any example just so I can see how it works.
Examples are like a picture being worth a thousand words. Are there any VB examples out there? Thx.
Oct 05, 2007 01:37 PM|jamlew|LINK
Sounds like you're looking for a Resource Provider. There's a few blog posts out there about how to build one, though C# and SQL do seem to be more popular for these posts/examples. Finding one for SQL will probably be easier than Access if you can use
that (maybe you can use a SQL Express database?), but you can certainly look around. If you're feeling up to it, you can try to implement your own, though the documentation can be patchy in spots.
Sorry I don't have a very useful answer...
Oct 05, 2007 02:17 PM|DannyDep|LINK
I downloaded this C# example (for Access DB) and tried to convert the C# code to VB.
There was no indication of any problems with the conversion of the three CS files.
But when I tried to open the website in VS 2005 I got compile errors.
Oct 05, 2007 07:06 PM|jamlew|LINK
How did you convert the code (rather what did you convert it to)? And what errors did you receive?