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
var gridView = '#<%= gridViewId.ClientID%>'; | |
var checkAll = '#checkBoxId'; | |
$(checkAll).click(function (i, v) { | |
$('input[type=checkbox]', gridView).prop('checked', this.checked); | |
}); | |
var checkCount = $('input[type=checkbox]', gridView).length; | |
$('input[type=checkbox]', gridView).click(function (i, v) { | |
$(checkAll).prop('checked', $('input:checked', gridView).length == checkCount); |
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
Using var reader As New TextFieldParser("C:\Users\Danny\Desktop\New Text Document.txt") | |
reader.HasFieldsEnclosedInQuotes = True | |
reader.SetDelimiters(New String() {","}) | |
While(Not reader.EndOfData) | |
Try | |
Console.WriteLine(reader.LineNumber) | |
Dim fields As String() = reader.ReadFields() | |
For Each value As String In fields | |
Console.WriteLine(value) | |
Next |
NewerOlder