Hello,
Do I suppose correctly that it is not possible to create view with parameters?
I've got a query with sub-query and in its where clause I need to specify parameter. Specifying where clause of view would not help. I would like to call simple view with parameters instead of the sending to the database complicated sql query. How wo...
I'm obviously missing something about why the following does not compile:
trait SomeTrait{
def homepageClass[A <: SomeType]: Class[A]
}
class SomeOtherType extends SomeType
object SomeObject extends SomeTrait{
def homepageClass = classOf[SomeOtherType]
}
...
How can I pass in a parameter (eg: SKU12345) into a Drupal module.
Here is what I have so far...
URL: /my_module/sku/SKU12345
$items['my_module/sku/%mySKU'] = array(
'title' => 'Information for SKU %', // include SKU in title
'page callback' => 'my_module_with_parm',
//'page arguments' => array('my_function...
Hi,
I've XAML that looks a bit like this:
<UserControl x:Class="MyNamespace.MyClass"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas...
Hello,
I've a SP using a LIKE. Let's simplify it to: SELECT * FROM customers WHERE name LIKE '%' + @query + '%'.
I'd like to use it for an (optional) exact match search without altering the SP but with a tricky parameter ;)
Is there a way to "cancel" the 2 '%' with a clever @query?
Thanks.
...
I'd like to redirect the URL hxxp://mywebapp/##ID## to hxxp://mywebapp/Custs/Customer.aspx?id=##ID##.
What is the easiest way using ASP.NET 3.5 routing to do it?
Thanks.
...
Hi,
I have a .JAR that apparently uses up too much memory, and throws an exception "Java heap space" (or something similar).
So I tried running the .JAR via the CMD like this:
C:\MyFolder>javaw -jar MyJar.jar -Xms64m -Xmx128m
That did not solve the problem. Same error.
Now, when I checked the Processes tab in the windows task manager...
Sorry if this is a duplicate post, not sure what happened with my original one.
I have a linked SSRS report (Report A) that links to Report B. One of Report B's parameters is controlled by a Dropdown/ComboBox. In the parameters dialog box that gets launched from the navigation tab, I have tried both 'VALUE' and simply putting VALUE with...
Lets take qsort()'s comparison callback function as an example
int (*compar)(const void *, const void *)
What happens when the result of the comparison function depends on the current value of a variable? It appears my only two options are to use a global var (yuck) or to wrap each element of the unsorted array in a struct that conta...
We have a stored procedure where we want to dynamically let the user choose which column to sort the result by, and in which order (ascending/descending). Currently, we have the following ORDER BY clause, but I'm sure it can be optimized. How?
ORDER BY
CASE WHEN @OrderBy = 'salvnummer' AND @OrderByDirection = 'DESC' THEN salvnummer ...
I'm having a bit of trouble passing this parameter to a class i have. Does anybody have any ideas?
Class 1's code:
public void DriveRecursion(string retPath)
{
//recurse through files. Let user press 'ok' to move onto next step
// string[] files = Directory.GetFiles(retPath, "*.*", SearchOption.AllDirectories);
s...
Suppose I have these interfaces:
public interface I1 {
void foo();
}
public interface I2 {
void bar();
}
and the classes:
public class A extends AParent implements I1, I2 {
// code for foo and bar methods here
}
public class B extends BParent implements I1, I2 {
// code for foo and bar methods here
}
public class C extend...
I want to write a generic logging snip-it into a collection of stored procedures. I'm writing this to have a quantitative measure of our front-user user experience as I know which SP's are used by the front-end software and how they are used. I'd like to use this to gather a base-line before we commence performance tunning and afterward ...
I'm trying to use the CCNetBuildDate and CCNetBuildTime parameters to dynamically change the output filename of my unit test results, so for example:
<project>
<workingDirectory>C:\MyProject</workingDirectory>
<tasks>
<msbuild>
<buildArgs>/property:TestResultsFile=TestResults.$[CCNetBuildDate].$[CCNetBuildTime].trx</b...
I have the following:
<EditItemTemplate>
<asp:Button ID="wrqst_need_ind_btn" runat="server" Text = "Create WR"
onClientClick="javascript:popUp('popup_createWR.aspx')"
CommandArgument='<%# Eval("dvc_nm") + "|" + Eval("data_orgtn_yr") %>'/>
</EditItemTemplate>
I want ...
i want to bind a gridview to an objectdatasource that have some fieldparameters.
i would like to do the databinding when the fields are filled, suppose i have a 'show' button... i would like to know if it is possible to databind in an specific event... as far as i know the databing is automatically done... can this be controlled?
i'd a...
Hello,
When i saw many sites source code, parameters were passed to the linking file (CSS/Js)
In stackoverflow source, i got
<script type="text/javascript" src="http://sstatic.net/js/master.js?v=55c7eccb8e19"></script>
why that master.js?v=55c7eccb8e19 is used ?
I am sure that Js/CSS files can't get the parameters.
Pl...
What is a parametric value?
A user has asked me if I can add support for parametric value for my command line app, I'm guessing it's what I'd call a variable.
Thanks
...
I'm receiving an error for the following query:
EXEC dbo.sp_Sproc_Name
@Param1=@ParamValue1
,@Param2='lorem ipsum "' + @ParamValue2 + '" dolor'
I get the error:
Incorrect syntax near '+'.
Therefore, how can I pass a variable as part of my parameter value like I'm trying to do above?
Many Thanks.
...
What will be the value of the parameter i.e. private static boolean ask(int i){int te = 8 + i;} Coz i notice the 'i' was use in the method. I just wonder what will be the value of that 'i' and/or what's the use of it?
...