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 51-60 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
228PowerShellStringsReplace$str1 = "abc#def"; $str1 = $str1.Replace("#",";"); write-host $str1; # Output: abc;defView Update Delete
202PHPFallunterscheidungTernary operator$testVar = "OK"; $resultVar; $resultVar = $testVar=="OK" ? true : false; // same as if-else construction if ($testVar == "OK") { $resultVar = true; } else { $resultVar = false; };View Update Delete
22VB.NETGUI, TabelleTabellenselektion' DataGridView ' Man bekommt den Index der Column und der Row Dim counter As Integer For counter = 0 To (DataGridView1.SelectedCells.Count - 1) MessageBox.Show(DataGridView1.SelectedCells(counter).ColumnIndex.ToString & vbCr & DataGridView1.SelectedCells(counter).RowIndex.ToString) Next View Update Delete
23VB.NETGUI, DatenbankComboBox mit Datenbank' Die Datenbank-Tabelle enthält die Felder titel und id Dim dt As Data.DataTable = myDataTable ' Die DataTable wurde bereits gefüllt aus der Datenbank... comboBox1.DataSource = dt comboBox1.DisplayMember = "titel" ' Der angezeigte Wert für den Benutzer comboBox1.ValueMember = "id" ' Der Wert, den der Benutzer auswählt (id) Dim ausgewaehlteIdAusComboBox As String ausgewaehlteIdAusComboBox=comboBox1.SelectedValue.ToString ' enthält die ausgewählte id View Update Delete
266MS Access VBAArrayDictionary Basics' empty dict Dim myDict As Dictionary Set myDict = New Dictionary ' some static values myDict.Add "key1", "value1" myDict.Add "key2", "valueY" myDict.Add "keyX", "value98" ' update a key programmatically myDict.Remove "key1" myDict.Add "key1", "new value" ' iterate Dim strKey As Variant Dim current_key As String Dim strValue As String For Each strKey In myDict.Keys() current_key = strKey strValue = myDict.Keys(strKey) Next ' Exists If myDict.Exists(strKey) Then Debug.Print "yes" End If ' get an specific item Dim subdict As String subdict = myDict.Keys("key2") # valueYView 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
134SSISFallunterscheidungWenn-Dann Abfrage' Using IF(IIF) logic in Derived Column (LEN(TRIM(Test)) > 0 ? SUBSTRING(Test,1,5) : NULL(DT_WSTR,5))View Update Delete
261T-SQLDatenbankCTAS-- Achtung, er werden nur Felder mit Datentypen übernommen. -- Keine Constraints (PK, FK, Defaults, ...) oder IDENTITY Informationen -- Sollte die Zieltabelle (myDestinationTable) bereits vorhanden sein, kommt es zu einer Fehlermeldung SELECT * INTO myDestinationTable FROM mySourceTableView Update Delete
148PL/pgSQLStringsStrings miteinander verbinden-- Bei PL/pgSQL sollte man die Funktion concat verwenden. -- Felder verbinden mit || kann zu NULL im Ergebnisfeld führen SELECT field_a ,field_b ,NULL as field_c ,concat(field_a, field_b, field_c) as together FROM table_1 View Update Delete
59T-SQLDatenbankFortlaufende Nummer innerhalb eines ResultSets-- Beispiel: -- http://msdn.microsoft.com/de-de/library/ms186734.aspx SELECT FirstName, LastName, ROW_NUMBER() OVER(ORDER BY SalesYTD DESC) AS 'Row Number', SalesYTD, PostalCode FROM Sales.vSalesPerson View Update Delete