Posts

asp.net - How To Understand dynamic HTML in Visual Studio 2008? -

Image
i'm trying update vb.net web project done else 5 years ago using visual studio 2008. the webform stumped on has 2 (2) asp gridview controls, , can't seem tell how imagebutton evaluating (or failing). i need fix failing part! below gridview control imagebutton ibcomplete failing: <asp:gridview id="gridview1" font-size="small" allowpaging="true" pagesize="25" onrowcommand="gridview1_rowcommand" onselectedindexchanged="gridview1_selectedindexchanged" onrowdatabound="gridview1_rowdatabound" runat="server" visible="false" autogeneratecolumns="false" datasourceid="sqldatasource1" width="950px" backcolor="white" datakeynames="partid,primary_vendor,part_description,pri_vendor_name,min_reord_qty,puom,revised_date"> <columns> <asp:templatefield headertext=""> <itemstyle width="30px...

SBT Native Packager Plugin Docker Error -

i have used sbt docker plugin 1 of project , following error when ran: sbt docker:publishlocal joes-macbook-pro:my-projects joe$ sbt docker:publishlocal java hotspot(tm) 64-bit server vm warning: ignoring option maxpermsize=724m; support removed in 8.0 [info] loading project definition /users/joe/projects/my-projects/proj1/project [info] set current project sally (in build file:/users/joe/projects/my-projects/proj1/) [info] wrote /users/joe/projects/my-projects/proj1/target/scala-2.11/sally_2.11-2.1.pom java.io.ioexception: cannot run program "docker" (in directory "/users/joe/projects/my-projects/proj1/target/docker/docker/stage"): error=2, no such file or directory @ java.lang.processbuilder.start(processbuilder.java:1048) @ sbt.simpleprocessbuilder.run(processimpl.scala:349) @ sbt.abstractprocessbuilder.run(processimpl.scala:128) @ sbt.abstractprocessbuilder$$anonfun$runbuffered$1.apply(processimpl.scala:159) @ sbt.abstractprocessbuilde...

sql server - SQL Count/sum multiple columns -

i want use count/ sum multiple fields in single query sample data , desired result listed below: memid claimnum itemid paidamt 123 1234 4 5 123 2309 4 5 123 1209 4 5 123 1209 8 2.2 123 1210 8 2.2 desired result memid count(claimnum) count(itemid) sum(paidamt) 123 3 3 15 123 2 2 4.4 it looks want group both memid , itemid: select memid, count(claimnum), count(itemid), sum(paidamt) the_table group memid, itemid

Spring Security Remember-me with Ajax login -

i have implemented spring security ajax login. . i defined own customauthenticationentrypoint , authenticationfilter , securityloginsuccesshandler . can authenticate user. however, when add remember me part. not work. there no sql run in database insert token persistent_logins. not know if there wrong configuration? please help. <beans:beans xmlns="http://www.springframework.org/schema/security" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util" xsi:schemalocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.2.xsd http://www.springframework.org/schema/util http://www.spri...

multidimensional array JAVASCRIPT something wrong -

hey guys need soe please :p what's wrong code? var arr = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]; var narr = []; // want [[1, 4, 7], [2, 5, 8], [3, 6, 9]] function arange(mass) { (var = 0; < mass.length; i++) { (var j = 0; j < mass[i].length; j++) { narr[mass[i]].push(mass[j][i]); } } } if call function there problem : "typeerror: cannot read property 'push' of undefined." thank you. link here or use es6 1 liner var arr = [ [1, 2, 3], [4, 5, 6], [7, 8, 9] ]; var res = arr.map((e, i) => e.map((_, j) => arr[j][i])); document.write(json.stringify(res));

ios - Create dictionary with dictionaries of arrays (sorted by a specific custom object property)? -

the title may confusing, apologies. maybe can advise me on more appropriate title. i have .json file structured below. "sections": [{ "title": "locations", "key": "location" }], "contacts": [{ "title": "social worker", "name": "mrs x", "office": "xxxxxxxx", "location": "lisburn", "department": "xxxxxxxx", "telephone": "xxx xxxxxxxx" },... when parsing this, create array called contactsarray . can create aecontact objects array so: (nsdictionary *contactdic in [contactsarray valueforkey:@"contacts"]) { // create aecontact objects _contact = [[aecontact alloc] initwithdictionary:contactdic]; [contacts addobject:_contact]; } self.contacts = [c...

Laravel -weird output at top of every page and command -

i tried answer laracast community ended not getting response. following text output @ top of every page or cli command: skip content personal open source business explore pricing blog support repository 3,019 22,483 7,384 laravel/laravel code pull requests 0 pulse graphs laravel/config/database.php eb7743f 11 days ago @dakira dakira allow setting sqlite database via env @taylorotwell @tgm @vlakoff @dakira @marcanuy @pedes42 @jimmypuckett @grahamcampbell @david-ridgeonnet @syntaxc4 @overtrue 121 lines (101 sloc) 3.84 kb of files may suspect available in laracast discussion posted. c4 @overtrue 121 lines (101 sloc) 3.84 kb btw used composer install laravel. edit routes.php file <?php /* |-------------------------------------------------------------------------- | application routes |-------------------------------------------------------------------------- | | here can register of routes application. | it's breeze. tell lara...