Hi, I have done a lot of XML PATH statements, but this one escapes me or might not even be possible with multiple different children.
The end result should look like this
<Process>
<TaskList>
<SqlTask Name="Get Report Parameters">
<StoredProcName>GetReportParameters</StoredProcName>...
I have a WCF service that works well by itself. It contains two methods and one business object, EdiResponse
So I put the Service Refence into the Entities Project.
Adding a reference to Entities.EdiService to the Business and the Data layers.
Then Business calles the method does some...
I though it would be very simple but I can not get it today.
I have a user control, with a grid control contained in it.
public Unit Width
{
get
{
return CustomerGrid.Width;
}
set
{
CustomerGrid.Width = value...
Figured it out
I was calling base.Databind on the control after trying to retreive the value by alling
base.DataBind();
CustomerGrid.DataSource = DataSource;
CustomerDatabind();
That worked.
I am in the midst of creating a re-usable composite control that just has a predefined grid on it, and a couple of text boxes to display customer information
I create a public datasource
public Customer DataSource
{
get{
object o = ViewState["DataSource"];
return (o ==...
Is there a listing page that links to the files. If so you can use HttpWebRequest and HttpWebResponse to read the page extract all of the file links using regular expressions then run your code to get all of the files calling the hrefs of the links that were returned.
If this sounds like...
I am in the process of creating many custom controls, each with a grid control in it (the Complete Grid Control)
I wanted to try and make all of these grid controls inherit from some base control so that code does not have to be duplicated and every control follows the same standard
So I have...
Right now I have a master page. In the master I have a script manager, a Update Panel, a Label and a timer.
Right now I am just putting the time in the label, if I get this to work I will want to do something more advance of getting a status from a database. But the concept is the same
I...
Right now I have a master page. In the master I have a script manager, a Update Panel, a Label and a timer.
Right now I am just putting the time in the label, if I get this to work I will want to do something more advance of getting a status from a database. But the concept is the same
I...
Jason, what then would be your advice for posting code on a public board so that the intellectal property of a company are not violated. Granted if I did get strange answers to my question then I would have most likely clearified. But since your first answer was, and usually is, the correct...
Craig thanks for the response.
You do bring up a good point however I am not selling pizzas. That was just an example to mask some really business code. The company product is like a insurance service where you have to start out with a basic plan then you can addon addition types of...
Jason,
Point
1. Good point, will do.
2 & 3. Yes, I was going to do that but it was sort of irrelevant to the post.
4. I never heard of a validation visitor, I will look into that.
Thank you
Thanks, for the discussion this is what I think I will go with... Of course I am not selling pizza's but an object where the customer gets to choose multiple items (so I didn't go Strategy pattern) and the order of the items are irrelevent (so I didn't choose Chain pattern). The only other...
Attached is a classic Decorator pattern. My question is how would you modify the below code so that you can wrap zero or one of each topping on to the Pizza
Right now I can have a Pepporini -> Sausage --> Pepporini --> Pizza class driving the total cost up to $10, charging twice for Pepporini...
0) Disclaimer I do not know AS400.
1) When I need to convert information whether it be format or type I try to do it in the query, even with a text file you should be able to write a query against it with an ADO provider
So Select Convert(DateTime, Right(field, 4) + '-' + Substring(5,2) + '-'...
you can join the three sql statments using a inner (or Left) join and displaying the columns from each query
Select A.Name, A.ResourceID, A.Cnt_s1, B.Cnt_s2, C.Cnt_s3
From
(select T1.Name, T2.ResourceID, count(T2.ResourceID) as Cnt_s1, T1.CollectionID
from v_Collection as T1...
Here is the brute force way
I beleive there is a better way opening the files into a DataSet and running left join queries and such, I may look into that given more time.
public static void CompareFilesBrute(string bigFile, string littleFile, string finishfile)
{...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.