Posts

asp.net - How can I change any app code class after publishing the website? -

i upload website after publishing it, want change line of code in class resides in app_code folder. after changes again publish website , upload new app_code.dll replace old 1 not working. whole functionality of app_code not working. there solve problem? thanx in advance. the app_code folder parse source files drop in there, e.g. myclass.vb or myclass.cs. if compiling classes dll, want put dll file bin folder instead. if classes contained in project , have build action set compile, automatically compiled web application's dll when run build, , should update every time publish site publish automatically builds project/solution.

java - Setting class-path for testing applications in IntelliJ -

i'm developing test tool designed 3rd party java application. now, here's problem: the 3rd party application has many nested directories in layout, many jars. it has plugin framework allows people add code referencing whatever libraries use within plugins. when run test tool i'm developing, when use plugins in 3rd party app, test tool gives classnotfound exception @ run time (or whatever is). so, can build, haven't gotten class references need. is there way can add root of 3rd part application class path intellij use jars finds in , sub directories when executes? been open while , no alternative suggestions have been made, closing @crazycoder's comment answer. the following link reports lack of functionality; may addressed in newer versions of ide: http://youtrack.jetbrains.com/issue/idea-40818

wpf - C# - Bind CommandParameter to the "DataContext" of a ListViewItem -

i'd able bind commandparameter of button current listviewitem . here's xaml : <listview grid.row="1" x:name="playlists" itemssource="{binding playlists, updatesourcetrigger=propertychanged}"> <listview.itemspanel> <itemspaneltemplate> <wrappanel /> </itemspaneltemplate> </listview.itemspanel> <listview.itemtemplate> <datatemplate> <stackpanel horizontalalignment="center" verticalalignment="top" width="100" margin="5"> <button x:name="btnplayplaylist" content="play" command="{binding path=playplaylistcommand}" /> </stackpanel> </datatemplate> </listview.itemtemplate> </listview> when click btnplayplaylist button, i'd able receive in viewmodel corresponding playlist. either getting it...

mysql - A error while using case next to order by -

the code supposed give me table ordered after if value 'isonline' == 1 'onlinetime', if 'isonline' == 0 onlinetime + current milliseconds since midnight, january 1, 1970 utc (isonline tinyint, onlinetime bigint) select * onlinecountertable order case `isonline` when 0 `onlinetime` when 1 (onlinetime + (round(unix_timestamp(curtime(4)) * 1000)) else `onlinetime` end desc limit 30 but if use query above, gives me error: #1064 - have error in sql syntax; check manual corresponds mysql server version right syntax use near 'else -1 end) desc limit 30 limit 0, 25' @ line 6 replace this when 1 (onlinetime + (round(unix_timestamp(curtime(4)) * 1000)) by this when 1 (onlinetime + round(unix_timestamp(curtime(4)) * 1000)) cheers ;-)

SQL Server CDC: Track additional column after the fact -

if cdc has been setup on table, tracking columns a,d,e instead of entire table, possible add column z source table, add column z list of tracked columns cdc? possible without losing cdc data? i've looked around , examples find tracking entire table , not cherry picking columns. i'm hoping way update table schema , not lose cdc history, without doing whole copy cdc temp table cdc process. do have create new instance of cdc schema changes? sql server 2012 the reason cdc allows 2 capture instances on given table reason. idea this: you have running instance tracking columns a, b, , c you want start tracking column d so set second capture instance track a, b, c, , d. you process original capture instance , note last lsn process using fn_cdc_increment_lsn() function, set start point start processing new capture instance once you're , running on new instance, can drop old one of course, if you're using cdc history of changes ever on table… that...

uml - Show condition in use case diagram -

Image
in system, user can have more 1 role. users 2 roles or more can switch between roles. however, it's impossible switch role user 1 role. how can represent fact in use case diagram? thank you. you shouldn't show condition in use case diagram. use case diagram meant give helicopter view of features of application , hide details. you can put condition in pre-condition of use case. if put user must have more 1 role pre-condition use case doesn't start if condition not true. ps. i'm assuming role different concept roles represented actors , role have been account or group or else.

php - I can't get both my header and footer menus to display properly in my wordpress theme -

i've been trying make header menu main hyperlinks , footer menu social media icons. i've had header 1 while, it's since i've tried add menu in footer it's started displaying footer menu in header , footer. i've ensured of settings correct in wordpress end, still can't work. in header.php have: <nav class="header-nav"> <?php $args = array('theme_location' => 'header'); ?> <?php wp_nav_menu(); ?> </nav> in footer.php have: <nav class="footer-nav"> <?php $args = array('theme_location' => 'footer'); ?> <?php wp_nav_menu(); ?> </nav> and in functions.php have: register_nav_menus(array( 'header' => __( 'header menu'), 'footer' => __( 'footer menu'), )); please change functions.php : function register_my_menus() { register_nav_menus( array( 'primary' => esc_h...