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...
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 ==...
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...
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...
I would like to build a custom Int struct that inheriets from Int, so that I can pass everything through but override the toString method.
What I have done in the pass...
I use customer business objects to store several ints and datetimes,
When loading these objects if the database returns...
I am new to Asp 2.0 and I am trying to work with the new Object DataSource.
All the examples I have found Update and Insert records directly back to a database. What I am looking for the GridView to be disconnect from the data until all changes are made, using the new features of Asp2.0
I...
I am trying to use the import export wizard to move data from sql 2000 to sql 2005. I am moving about 20 tables so I choose optimize for multi table and run in transaction. I highlight all 20 tables and choose Edit Mappings, then check of Delete existing rows from table. I am currently...
I have seen the sync fusion answer
public class CustomDataGrid : System.Windows.Forms.DataGrid
{
#region Member Variables
#endregion
#region Lifecycle
public CustomDataGrid()
{
}
#endregion
#region Properties
// Added to code, otherwise...
The goal question is toward the bottom of the post.
Setup
Complex Object:
Class AObject (
property BCollection
…
)
Class BCollection (
property CCollection
…
)
Class CCollection()
I have a class that populates the object then that class calls a different class method that saves the...
Here is my code for getting Sheet Names
DataTable dataTable = connection.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, null);
if(dataTable != null)
{
excelSheets = new String[dataTable.Rows.Count];
for(int i = 0; i < dataTable.Rows.Count; i++)
{
excelSheets[i] =...
I have a text report. There is no delimiter, there is no fix format throughout the file. Once I can determine what line I am on I can figure out the format of that line. The problem curently is I am loading this file into a datatable. The datatable is removing leading spaces so the report...
Hello all,
The object: I have a dts package that exports an excel file to a temp directory, then I take that excel file and email it out to a mailing list.
The problem: each time I run the dts it appends to the worksheets/tables.
The constraints: you can not use xpcmd_shell, no privledges...
Here is the challenge (that's reverse psychology I am really asking for help), using only Sql 2000
I have a SqlStatement that I want to turn into a xml doc.
select
A.Name
, A.Id
, B.StartDate
, B.EndDate
, B.Value
from
A
INNER JOIN
B
ON A.Name = B.IndexName
where A.Name ='C'
for xml...
In SQL2000, When I try to insert char(9) or char(13) into a varchar field it gets treated as a space.
What I am trying to do is created a specific file format and return it in a field for a Access or C# app.
Here is some of the code
DECLARE @sText varchar(8000)
DECLARE @Tab CHAR(1)...
I have a form that has a function, HandleCellButtonClick, that I hook up to an event
buttonColumn.CellButtonClicked +=
new CustomGridColumns.DataGridCellButtonClickEventHandler(HandleCellButtonClick);
That works fine HandleCellButtonClick has the signature of...
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.