Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mbde
  • Content: Threads
  • Order by date
  1. mbde

    Sql To XML

    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>...
  2. mbde

    Defining A WCF Service In a N-Tier Project

    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...
  3. mbde

    Resizing user control

    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...
  4. mbde

    Maintaining my own DataSource

    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 ==...
  5. mbde

    Creating An Inheritance with Multiple Enums

    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...
  6. mbde

    Ajax Toolkit-- Is UpdatePanel suppose to reload the entire page

    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...
  7. mbde

    UpdatePanel suppose to reload the whole page

    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...
  8. mbde

    Decorator as a Singleton Pattern

    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...
  9. mbde

    Many to Many Insert with OpenXML

    The Xml Structure looks like such <A> <d1></d1> <d2></d2> <B-Collection> <B> <d3> <d4> <C-Collection> <C> <d5> </C> <C> <d6> </C> </C-Collection> </B> <B> <d7> <d8> <C-Collection> <C>...
  10. mbde

    Building Custom Int Struct (DateTime Struct to)

    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...
  11. mbde

    Object DataSource and GridView

    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...
  12. mbde

    import export wizard &quot;violation of primary key&quot; sql 2005

    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...
  13. mbde

    Trapping the delete key in a Form DataGrid

    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...
  14. mbde

    Bubbling Events from Class to Class to GUI

    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...
  15. mbde

    Getting Excel Sheet Names In the Correct Order

    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] =...
  16. mbde

    Data Table Removes Spaces

    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...
  17. mbde

    Exporting to Excel

    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...
  18. mbde

    FOR XML AUTO

    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...
  19. mbde

    Char(9) and Char(13)

    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)...
  20. mbde

    Passing A function Address

    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...

Part and Inventory Search

Back
Top