Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:655886
More Search Options
RSS Available
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.
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
klaus_b
on 5/7/2008
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
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
klaus_b
on 5/7/2008
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"
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
klaus_b
on 5/6/2008
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"
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
klaus_b
on 5/5/2008
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"
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
klaus_b
on 5/4/2008
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
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
klaus_b
on 5/2/2008
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
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
klaus_b
on 5/2/2008
Page 1 of 57 (563 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Channel 9:
Life at Microsoft: Episode 3
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online