This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pruning tables. | |
Executing: DELETE FROM Branches; | |
Nil result | |
Executing: DELETE FROM Accounts; | |
Nil result | |
Executing: DELETE FROM Customers; | |
Nil result | |
Executing: DELETE FROM Transactions; | |
Nil result | |
Inserting branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Shared Function GenerateNewUniqueID() As String | |
Dim returnString As String = Guid.NewGuid.ToString() | |
Dim unique As Boolean = False | |
Using conn As New SqlConnection(My.Settings.onlinePDFConnectionString) | |
conn.Open() | |
Dim commString As String = "SELECT Count(*) FROM Books WHERE UniqueID = '{0}%'" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% content_for :nav do %> | |
<ul> | |
<% | |
items = ["Forside", "Rediger quiz", "Kategorier", "Spilrunder"] | |
descriptions = ["Gå til forsiden", "Rediger en quiz", "Opsæt kategorier", "Vælg spilrunder"] | |
items.each_index do |key| | |
item = items[key] | |
item_description = descriptions[key] | |
if !is_active_page?(:key) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ruby-RSpec klasse brugt til at beskrive MultiSet-java klassen med | |
# | |
# For at køre: | |
# make spec | |
# | |
# Kræver: | |
# jruby (http://jruby.org) | |
# rspec (gem install rspec) | |
# |
NewerOlder