dynamic

how to concatenate uniqueidentifier in a dynamic query

送分小仙女□ 提交于 2019-12-10 12:39:02
问题 I have a dynamic query in which I want to concatenate uniqueidentifier, but + and & operators are not supporting this, is there a way I can concatenate uniqueidentifier to a dynamic string. Any sample or any help in this regard will be highly appricated. 回答1: Have you tried casting or converting to a string first, then concating? CAST(NEWID() AS NVARCHAR(36)) 回答2: I know this is old but I ran into this post trying to figure out the same thing and the problem was that I didn't have enough 's

Android Notification Dynamic Icon

南笙酒味 提交于 2019-12-10 12:35:48
问题 Is it possible to overlay a notification icon with some text/int? or is it possible to generate a custom icon on the fly? For example I have the current icon displayed for my notification, I would like to be able to display for example the number 2 within the red box. As this is not a count of notifications ( so not the red bubble ), the setting the "number" in the notification will not work. Will I have to just create an individual icon for every possible number I wish to display? Or is

Generate java file from XML file without any API [closed]

妖精的绣舞 提交于 2019-12-10 12:26:12
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . How can I generate Java file, means generate name of classes methods attributes, without using any API from XML my XML file : Source <class name="person"> <Attribut type="int">Age</Attribut> <Attribut type="String">Name</Attribut> </class> to java file: public class person { int age; String Name; }

Laravel 5.5 cant render dynamic charts using ConsoleTV's chart package

ⅰ亾dé卋堺 提交于 2019-12-10 12:24:53
问题 Why I cant generate the data coming from my database? I can render the chart but there is no data shown. But when i dump the data it shows me the array of the data. Help would be appreciated. Thanks. Chart output right here: https://imgur.com/a/eyCVxSn PS: I want to get the data in my second database. Thats why there is 'mysql2' in the Model. GraphController.php <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\User; use Illuminate\Support\Facades\DB; use View; use

django-dynamic-formset creating two add/remove links per formset

我只是一个虾纸丫 提交于 2019-12-10 12:19:20
问题 For some reason my implementation of django-dynamic-formset is acting a little funny. It is creating two add/remove links for each dynamic formset in my template. I have been fiddling around trying to figure this out for a bit and its gotten the best of me. here is a screen shot of the error i am talking about i can also provide a login if you would like to trigger the error on your own here is my template: <head> <script type="text/javascript" src="{{ STATIC_URL }}jquery.formset.js"></script

Create Android layout with buttons from server response

拥有回忆 提交于 2019-12-10 12:12:55
问题 I checked around and and I can never quite find something that helps me with what I am trying to accomplish. In my Android app I want to be able to make a request to the server for some data, when that data is returned I want to populate a scrollview because there is too much to fit in one display. The reason I am doing this is because the data will be updated too often for me to do continuous updates of the app (imaginee twitter). I've already built out the XML linearlayout which will

Appending facts into an existing prolog file

自作多情 提交于 2019-12-10 12:10:54
问题 I'm having trouble inserting facts into an existing Prolog file, without overwriting the original contents. Suppose I have a file test.pl: :- dynamic born/2. born(john,london). born(tim,manchester). If I load this in prolog, and I assert more facts: | ?- assert(born(laura,kent)). yes I'm aware I can save this by doing: |?- tell('test.pl'),listing(born/2),told. Which works but test.pl now only contains the facts, not the ":- dynamic born/2": born(john,london). born(tim,manchester). born(laura

How to use the Supersized! plugin with image folders

百般思念 提交于 2019-12-10 12:01:50
问题 So I'm working with the Supersized! plugin from here: plugin link The default way to load images is up top through Javascript. My question is, does anyone know of a way to load in a specific folder? So the plugin pulls all the images in that folder regardless if there's 5 or 50... One step further: Ideally, I would love to have 4 "Galleries", each being images inside a folder, then I can build a navigation where when someone clicks, for example, the "landscape" section, it loads all the

Dynamically load (page3.php) into a div in (page1.php) by a link inside (page2.php) which is previously loaded inside the same div

徘徊边缘 提交于 2019-12-10 11:57:19
问题 I'm able to dynamically call page2.php inside a div in page1.php without page reload by 2 js functions written in the header section of page1.php, but the issue is that after I call page2.php I want to click a link inside it to load page3.php in the same DIV of page1.php instead of page2.php, when I click it I get only (page3.php) in the browser page1.php: <head> <script type='text/javascript'>` function updateContainer( url ) {` dynamicCon = '#dynamicContainer'; ObjTag = $( dynamicCon );

WP7 Dynamic icons in ApplicationBar

久未见 提交于 2019-12-10 11:43:28
问题 Dynamic icons in ApplicationBar It's possible to have dynamic icons in ApplicationBar with dynamic images loaded from url? I tried this: xaml: <phone:PhoneApplicationPage.ApplicationBar> <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True"> <shell:ApplicationBarIconButton IconUri="" Text="Button 1"/> <shell:ApplicationBarIconButton IconUri="" Text="Button 2"/> <shell:ApplicationBar.MenuItems> <shell:ApplicationBarMenuItem Text="MenuItem 1"/> <shell:ApplicationBarMenuItem Text="MenuItem