Search

You searched for the word(s): userid:655886

Matching Posts

  • Re: How to style a winform usercontrol that's hostet in IE?

    Please open a new thread for your problem and do not attach at this old one. Thanks.
    Posted to Client Side Web Development (Forum) by klaus_b on 11/8/2008
  • Re: LDAP Query

    Hi mrbumps, [quote user="mrbumps"] Exception Details: System.DirectoryServices.DirectoryServicesCOMException: A referral was returned from the server. [/quote] may this article about the Error Code 8007202B can help you.
    Posted to Getting Started (Forum) by klaus_b on 5/16/2008
  • Re: Trying to map multiple table results into DataSet

    [quote user="nloyer"] So I have a FormView that lists all the single record information and is bound to Table[0] in the result set. Then I have a repeater that lists phone numbers embedded inside the FormView that is bound to Table[1] in the recordset. And I'll build from there. [/quote] Sorry. I've not really realized the change between your two seperate requirements. But glad to hear all works now.
  • Re: Trying to map multiple table results into DataSet

    [quote user="nloyer"] ...., and I'm surprised no one has mentioned it. The Repeater control. [/quote] In your initial post you've build a neested formview to show one record from different tables at a time. Based on this post i understand your requirement to build a solution to join one specific record from multiple tables in one presentation control. Now you say the repeater fullfill your requirements. The MSDN says aout this two controls: [quote user="MSDN"] FormView
  • Re: Trying to map multiple table results into DataSet

    Hi again nloyer, [quote user="nloyer"] I'm curious as to what the markup in this file does, as we don't ever call the page directly. <%@ Control Language="C#" AutoEventWireup="true" CodeFile="MultiRowFormView.ascx.cs" Inherits="MultiRowFormView" %> < div > < asp:Label ID= "phoneLabel" runat= "server" > </ asp:Label >< br /> < asp:Label ID= "area_codeLabel" runat= "server"
  • Re: Trying to map multiple table results into DataSet

    Hi nloyer, [quote user="nloyer"] The tags in the ascx file, what are they for? Since that page doesn't get visited, what do they do? Is it just so that those tags exist before they are used in the main default.aspx page? [/quote] i'm not realy understand what you're talking about. Sorry. [quote user="nloyer"] In the ASCX.CS file, in the Page_Load method, this.area_codeLabel.Text = this._dataSource.Tables[1].Rows[this._rowIndex].Field<string>("area_code"
  • Re: Web reference and web service

    Hi karang, [quote user="karang"] Does that mean that I can add only Web service as web reference. [/quote] Yup! Thats right. As MSDN says in this article : [quote user="MSDN"] A Web reference enables a project to consume one or more XML Web services. [/quote] HTH
    Posted to XML Web Services (Forum) by klaus_b on 5/5/2008
  • Re: Trying to map multiple table results into DataSet

    Hi nloyer, sorry for the late reply but i've a lot of work to do yesterday. Anyway. I've made a very simple user control to show you the concept. To generate one in your solution simple add a usercontrol in the solution explorer an give it a name. The generated .ascx file you can stile and fill with controls like every .aspx page. Here is the murkup of my sample control: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="DataPresentationControl.ascx.cs"
  • Re: Trying to map multiple table results into DataSet

    [quote user="nloyer"] That's not true, as I am binding FormView2 to the second table in my result set, and it works fine. I get all the results displayed as expected using the code above. [/quote] Yup! If you'll go this tricky way you're right [quote user="nloyer"] What I'm asking now (that I got that to work) is what control will give me the flexibility of the FormView but allow me to return several records. Like a completely customizable GridView. [/quote] You've
  • Re: Trying to map multiple table results into DataSet

    Hi nloyer, [quote user="nloyer"] So even with a nested control (which I got to work by "finding" the control, see below), FormView formView2 = FormView1.FindControl( "FormView2" ) as FormView; formView2.DataSource = ds.Tables[1]; formView2.DataBind(); [/quote] the FormView control can be bound to a datasource only once. In your case you bind the formView1 to the datasource. The formView2 is a child of formView1, that's already bounded, so there is no way to bind
Page 1 of 57 (563 items) 1 2 3 4 5 Next > ... Last »