I get report params in C# code from the webservice as follows:
ReportingService2005 ReportingService = ConnectToSSRS();
ReportParameter[] ReportParams = ReportingService.GetReportParameters(reportSelector.SelectedValue, HistoryID, ForRendering, emptyParams, null);
DateTime parameters currently seem to always come up as mm/dd/yyyy. W...
SCENARIO
I'm writing a cmdlet for Powershell 2.0 using Visual Studio 2008 and .NET 3.5
the cmdlet requires 3 arguments.
my intended grammar of the cmdlet is something like this:
cmdletname [foo|bar] p1, p2
That reads as the user must give a value for "-foo" or "-bar" but can't give both together.
EXAMPLE OF VALID INPUT
cmdle...
I have a function that I call with ?clear-cart appended to the end of my page; as you can probably guess, this function clears the user's cart.
I call it like this
<a href="?clear-cart">Clear Cart</a>
Which works great (in that it loads the same page, but now the cart is cleared), except that the URL in the address bar now reads
htt...
I am passing a parameter to and Adobe flex application and am passing a large encrypted token from html to the swf as a query string like parameter (as is thin given method)
This is being encoded somehow, for example + is gettting replaced with an empty space, but it is not your basic escape, unescape url encoding.
I could try to encod...
I need the Cache class that keep the <TKey key, TValue value> pairs. And it is desirable that TKey can be any class that supports Serializable interface and TValue can be any class that supports Serializable and my own ICacheable interfaces.
There is another CacheItem class that keeps <TKey key, TValue value> pair.
I want the Cache cla...
I'd like to pass a multi-dimensional array to a constructor like so:
constructor TMyClass.Create(MyParameter: array of array of Integer);
begin
LocalField := MyParameter;
end;
Where LocalField is an array of array of Integer.
However the above code won't compile ('Identifier expected but ARRAY found'). Could somebody explain to me ...
I am trying to us the DateAdd function of SQL in my Query. The problem is when I use a parameter to set the second arguement, the number argument I get an error which will say something like this:
Failed to convert parameter value from
a Decimal to a DateTime
While if I enter it parameterless, i.e hardcode an Int, it works fine.
...
hi
How to feeding Crystal Report 8.5 parameters from VB6.0 Application?
...
Call me crazy, but I'm the type of guy that likes constructors with parameters (if needed), as opposed to a constructor with no parameters followed by setting properties. My thought process: if the properties are required to actually construct the object, they should go in the constructor. I get two advantages:
I know that when an ob...
I am experimenting with MvcContrib subcontrollers. Looking at the example in the source, your parent controller (HomeController) takes an action which takes the subcontroller (FirstLevelSubController) as a parameter:
public class HomeController : Controller
{
public ActionResult Index(FirstLevelSubController firstLevel)
{
...
Hello all,
I have a javascript function that, in most cases, needs to do something with a jQuery object that I pass it. There is a single exception where the function will not need a jQuery object, but because I've written it to accept a string (the command) and a jQuery object, I need something to pass it when I call it. My function is...
I have made a new report using Crystal Reports 8.5 (report1) which uses a stored procedure as its data source. The stored procedure has 2 input parameters (@p1 and @p2) and when I enter some test data for @p1 and @p2 within crystal report IDE , every thing is all right. Then, I added the report1 in visual basic 6.0 IDE and added a new fo...
Hi, I've been trying to trace this error for nearly 2 days now and i can't seem to understand what is going wrong. I'll explain:
I have 2 views (.html.erb format)
ViewA has the following
<% form_tag (:action => 'ViewB') do %>
i have on this page a
select_tag radius
text_field_tag searchQuery (disabled as is filled in already),
text...
Hello all,
Typically, when needing to access an event, you do so via the parameter specified in the callback function:
$button.live("click", function(ev) {
// do something with ev here, like check 'ev.target'
}
But instead (for reasons too complicated to get into here), I do not want to use an anonymous callback function, but inste...
I'm used to Java's String where we can pass null rather than "" for special meanings, such as use a default value.
In Go, string is a primitive type, so I cannot pass nil (null) to a parameter that requires a string.
I could write the function using pointer type, like this:
func f(s *string)
so caller can call that function either a...
Is databind, bind or eval... only way of getting data form code behind (server side) in ASP.NET
...
There's getParameter() which is fine for reading a parameter I know of.
However, should I want (for lib architecture reasons) to read all the parameters that have been passed to an applet, is there a way to do it?
I've looked at the API and googled a bit, but no luck.
...
Hi,
I'm trying to write a jquery interface which requires me to pass a couple of parameters to our CMS. These parameters are in the form "attribute[n]:token" so in a URL you'd end up with "...&attribute[1]:value=hello_world...". Unfortunately when I try to use a $.get to pass this data it chokes for fairly obvious reasons. I'm tried the ...
i'm generating HyperLinks, all of them (depending on the circunstance, could be 1, 2 or 1000) send to the same webform:
from default.aspx
to envia.aspx
i can't use session, or anything i already know, because i can't create as many methods i want (that would not be good, due to possible large numbers)
example, there are three lines i ...
Hi
if I have this on one html.erb page
<%= text_field("cars_", "name", :size => "30") %>
and
def find
@car = Car.new(params[:car_])
carsearch = @car.name
....
why is the carsearch coming as nil?
...