Manage PlItems

You may optionally enter a comparison operator (<, <=, >, >=, <> or =) at the beginning of each of your search values to specify how the comparison should be done.

Advanced Search
Displaying 81-90 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
245PL/pgSQLDatenbankSQL SELECT Statische WerteSELECT * FROM ( VALUES (1, 2), (3, 4) ) AS q (col1, col2) ; -- the same as: SELECT 1 AS col1, 2 AS col2 UNION ALL SELECT 3 AS col1, 4 AS col2 ; -- col1 | col2 -- =========== -- 1 | 2 -- ----------- -- 3 | 4 View Update Delete
115SSRSZahlen/RechnenDIV/0' siehe auch: http://blogs.msdn.com/b/bwelcker/archive/2006/09/26/end-of-amnesia-_2800_avoiding-divide-by-zero-errors_2900_.aspx =IIf(Fields!SecondVal.Value = 0, "0", Fields!FirstVal.Value*100 / IIf(Fields!SecondVal.Value = 0, 1, Fields!SecondVal))View Update Delete
112AndroidGUI, DialogeHinweis-Dialog AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setMessage("Hinweis") .setTitle("Hinweis-Meldung") .setNeutralButton("OK", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { dialog.cancel(); } }); AlertDialog alert = builder.create(); alert.show();View Update Delete
113AndroidGUI, DialogeAbfrage-Dialog// siehe auch : http://developer.android.com/guide/topics/ui/dialogs.html AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setMessage("Are you sure you want to exit?") .setCancelable(false) .setPositiveButton("Yes", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { WhatHaveYouDoneActivity.this.finish(); } }) .setNegativeButton("No", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { dialog.cancel(); } }); AlertDialog alert = builder.create(); alert.show();View Update Delete
114AndroidGUI, ComboBoxComboBox füllen public void fillSpn() { String dummyarr[]; Spinner spn1 = (Spinner) findViewById(R.id.spn1); // Dummy Data dummyarr = new String[5]; int i; for (i=0;i<5;i++) { dummyarr[i]=String.valueOf(i); } ArrayAdapter adapter = new ArrayAdapter(this, android.R.layout.simple_spinner_dropdown_item, dummyarr); spn1.setAdapter(adapter); }View Update Delete
111HTMLSonstigesRSS Hinweis<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="Feed-URL"/>View Update Delete
106WPFGUI, .NET-WPFWPF - Style MultiTrigger<Style TargetType="Button"> <Style.Triggers> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="IsMouseOver" Value="True" /> <Condition Property="Content" Value="Button 2" /> </MultiTrigger.Conditions> <Setter Property="FontWeight" Value="Bold"/> </MultiTrigger> </Style.Triggers> </Style> View Update Delete
274PythonStringsLeerzeichen vor/hinter String entfernenmyText = " x text x \r\n" print myText.strip()View Update Delete
280PythonFilehandlingPrüfen ob Verzeichnis existiertimport os.path from os import path myFolder = "/tmp/test" if path.exists(myFolder) & path.isdir(myFolder): print "Folder exists!" else: print "Folder doesn't exist!"View Update Delete
281PythonFilehandlingVerzeichnis erstellenimport os myFolder = "/tmp/test" try: os.mkdir(myFolder) except OSError: print ("Error creating directory: %s" % myFolder) else: print ("Directory created: %s " % myFolder)View Update Delete