This file contains 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
var toCheck = $('input[type=checkbox]').filter('[value=' + rateCode + ']'); | |
//$('input[type=checkbox]').filter('[value=1022]').attr('checked', true); | |
var toCheck3 = $('input[type=checkbox][value="' + rateCode + '"]'); | |
$('input[type=checkbox][value="1024"]').attr('checked', true); | |
var toCheck2 = $(':checkbox[value=' + rateCodeP + ']'); | |
//$(':checkbox[value='+rateCodeP+']').attr('checked', true); |
This file contains 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
Don Williams | |
Correct Answer | |
by Don Williams on Mar 14, 2011 3:16 PM | |
Hello, | |
You can't read the info from the file itself, proprietary format, | |
you have to load the report: | |
rpt.Load(rptName.ToString()); |
This file contains 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
<?php | |
// Original source: https://github.com/bootstrapbay/contact-form | |
// Original author: https://github.com/cgimmer | |
$errName = ""; | |
$errEmail = ""; | |
$errMessage = ""; | |
$errHuman = ""; | |
$result = ""; |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Drawing; | |
using System.Runtime.CompilerServices; | |
using System.Windows.Forms; | |
// Either change the following namespace to the name of your project, | |
// or name your project with the following name when you create it. | |
// |
This file contains 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
Imports System | |
Public Enum flavorEnum | |
salty | |
sweet | |
sour | |
bitter | |
End Enum | |
Public Module Module1 |
This file contains 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
Imports CrystalDecisions.CrystalReports.Engine | |
Imports SAPBusinessObjects.WPF.Viewer | |
Imports CrystalDecisions.Shared | |
Public Class ReportHelper | |
Private _pageTitle As String | |
Private _reportPage As Page | |
Private _reportViewer As CrystalReportsViewer | |
Private _reportFilePath As String | |
Private _report As ReportDocument |
This file contains 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
// https://msdn.microsoft.com/en-us/library/z04awywx.aspx | |
// If compiling from the command line, compile with: /doc:YourFileName.xml | |
/// <summary> | |
/// Class level summary documentation goes here.</summary> | |
/// <remarks> | |
/// Longer comments can be associated with a type or member through | |
/// the remarks tag.</remarks> | |
public class TestClass : TestInterface | |
{ |
This file contains 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
' Converts true to Visibility.Visible and false to Visibility.Hidden (can be changed to Visibility Collapsed) | |
Public Class BoolVisibilityConverter | |
Implements IValueConverter | |
Public Function Convert(value As Object, targetType As Type, parameter As Object, culture As Globalization.CultureInfo) As Object Implements IValueConverter.Convert | |
If Not targetType = GetType(Visibility) Then | |
Throw New Exception("The target must be Visibility type") | |
End If | |
Dim valueAux As Nullable(Of Boolean) = CBool(value) |
This file contains 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 class ApplicationDbContext : DbContext | |
{ | |
//... | |
public override int SaveChanges() | |
{ | |
try | |
{ | |
return base.SaveChanges(); | |
} |
This file contains 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
namespace AuditoriaIngresos.Helpers | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
public static class CollectionExtension | |
{ | |
public static ICollection<T> AddRange<T>(this IEnumerable<T> list, ICollection<T> collection) | |
{ |
OlderNewer