Format:
XmlDbData xdb = XmlDbData.ReadData("KolipokiWandIntsSkills"); SkillNames SkillGuid = 0L; if ((xdb != null) && (xdb.Tables != null)) { XmlDbTable table; if (xdb.Tables.TryGetValue("SkillList", out table) && (table != null)) { foreach (XmlDbRow row in table.Rows) {
5 Views
no comments
<?xml version="1.0"?> <KolipokiWandIntsSkills> <NewValues> <Name></Name> <Hex></Hex> </NewValues> <NewValues> <Name>Magic> <Hex>25</Hex> </NewValues>
5 Views
no comments
// // main.cpp // by Nathan Belue // on Feb 08, 2009 // //----------------- // Included files
6 Views
no comments
For Each item As String In From number In Split(text, " ") Order By number Select number
If Not String.IsNullOrEmpty(item) AndAlso item.Length <= 20 Then ticketNumbers.Add(item)
Next
14 Views
no comments
package inlämning4; import se.lth.cs.pt.dots.*; import se.lth.cs.pt.dots.events.*; import se.lth.cs.pt.io.Keyboard; import se.lth.cs.pt.maze.MazeGenerator; public class Main {
5 Views
no comments
''' <summary> ''' Generates the Batch XML from the passed connection. ''' </summary> ''' <param name="DBConn">KC Database Connection.</param> ''' <param name="BatchXMLFileName">File Name to export Batch XML to.</param> ''' <remarks>This is the kickoff point to generate the Batch XML file.</remarks> Public Sub GenerateBatchXML(ByRef DBConn As Kofax.IKfxDb.IKfxConnection, ByVal BatchXMLFileName As String) My.Application.LogFuncEntry("GenerateBatchXML")
5 Views
no comments
package inlämning4; import se.lth.cs.pt.dots.*; import se.lth.cs.pt.dots.events.*; import se.lth.cs.pt.io.Keyboard; import se.lth.cs.pt.maze.MazeGenerator; public class Main {
6 Views
no comments
public class LoggerRegistry : PartRegistry { public LoggerRegistry() { Part<PartConvention>() .ForTypesMatching(x => x.GetInterfaces().Contains(typeof(ILogger))) .Exports(x => x.Export<ExportConvention>() .ContractType<ILogger>() .ContractName<ILogger>() .Members(m => new[] { m }))
6 Views
no comments
package inlämning4; import se.lth.cs.pt.dots.*; import se.lth.cs.pt.dots.events.*; import se.lth.cs.pt.io.Keyboard; import se.lth.cs.pt.maze.MazeGenerator; public class Main {
5 Views
no comments
import se.lth.cs.pt.dots.*; import se.lth.cs.pt.dots.events.*; import se.lth.cs.pt.maze.MazeGenerator; /** * * Jacob Svenstrup / Philip Sandwall */ public class Main { private int width, noOfBoxesX, noOfBoxesY;
8 Views
no comments
<script type="text/javascript"> $.fn.timeout = function(t,f){ this.each(function(){setTimeout(f,t); }); return this; }; </script> <script type="text/javascript"> $(document).ready(function(){
9 Views
no comments
#include <map> #include <iostream> #include <string> void SomeFunc( int nVal ) { std::cout << nVal << std::endl; } void SomeFunc( std::string strVal )
5 Views
no comments
static void Main(string[] args) { Dictionary<string, string> dStr = new Dictionary<string,string>(); dStr["Hello"] = "World"; SomeGenericFunc<string>(dStr); Dictionary<string, int> dInt = new Dictionary<string, int>(); dInt["Age"] = 10; SomeGenericFunc<int>(dInt);
5 Views
no comments
package invest; import java.util.Scanner; import java.text.DecimalFormat; public class Invest { public static void main(String[] args) { double P = 0.0; // dollar
6 Views
no comments
package dice; import java.util.Random; public class Dice { public static void main(String[] args) { int dice1, dice2; int sum = 0;
5 Views
no comments
package righttriangle; import java.util.Scanner; import java.util.Random; public class Triangle { public static void main(String[] args) { double side1, side2;
6 Views
no comments
package sumofdigits; import java.util.Scanner; public class SumOfDigits { public static void main(String[] args) { Scanner scan = new Scanner( System.in );
7 Views
no comments
package piglatin; import java.util.Scanner; public class PigLatin { public static void main(String[] args) { Scanner scan = new Scanner( System.in );
6 Views
no comments
package email; import java.util.Scanner; public class Email { public static void main(String[] args) { Scanner scan = new Scanner( System.in );
7 Views
no comments
<?php include "globals.php"; print "<h3>Fengsel</h3> <table width='75%' class=\"table\" border=\"0\" cellspacing=\"1\"><tr bgcolor=gray><th>Nick</th> <th>Level</th> <th>Tid</th><th>Grunn</th> <th>Muligheter</th></tr>"; $q=$db->query("SELECT u.*,c.* FROM users u LEFT JOIN gangs c ON u.gang=c.gangID WHERE u.jail > 0 ORDER BY u.jail DESC"); while($r=$db->fetch_row($q)) { print "\n<tr><td>{$r['gangPREFIX']} <a href='viewuser.php?u={$r['userid']}'>{$r['username']}</a> [{$r['userid']}]</td><td>{$r['level']}</td><td>{$r['jail']} minutter</td><td>{$r['jail_reason']}</td> <td>[<a href='jailbust.php?ID={$r['userid']}'>Bryt ut</a>][<a href='jailbail.php?ID={$r['userid']}'>Kjøp ut</a>]</td></tr>"; } print "</table>";
5 Views
no comments
import java.util.*;
public class CreateEmails
{
// Indata är ett namn, utdata skall vara en email adress i formatet kalsve@student.hh.se
public static void main (String [] arg)
{
Scanner scan= new Scanner( System.in);
4 Views
no comments
<html> <body> <form action="notisblokk.php" method="get"> Tekst: <br><input type="tekst" name="text" /> <input type="submit" name="lagre"/> </form>
6 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
