Re: DataBind()
From: Ignacio Machin \( .NET/ C# MVP \) ("Ignacio)
Date: 10/13/04
- Next message: Mohamoss: "RE: Debug - Stepping through an exe without the source code - any"
- Previous message: Giox: "Re: Form with custom shape"
- In reply to: Pam Ammond: "DataBind()"
- Next in thread: Rakesh Rajan: "RE: DataBind()"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 13 Oct 2004 08:31:06 -0400
Hi,
The binding mechanism is different in win forms from web forms, take a look
at this link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskbindingthedatagridcontroltoanadodataset.asp
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation "Pam Ammond" <pam@empoweringyou.com> wrote in message news:7ABA9333-C563-491C-95F5-96AD6A651314@microsoft.com... > In WindowsForm in C# in Visual Studio 2003, > When I create a datagrid, and give it a name such as dgPart, > When I try to bind to it using DataBind(), such as is mentioned in the > online help called Walkthrough: Creating Read-Only Data Access in a Web Forms > Page, > DataBind() isn't an option. > My guess is that maybe it's not needed for a WindowsForm, but if so, I'd > like to know how I would convert articles such as this so they work in > WindowsForm, not just in ASP.NET. I would appreciate it if you could please > explain further what is happening and why. I don't see anything in Help or > Knowledgebase to explain why DataBind() isn't an option for my datagrid. > > Also, I haven't received an answer I can use to Subject: updating datagrid > after returning 10/11/2004 5:53 PM PST... would you mind taking a look at > this previous post to see if you can help me?
- Next message: Mohamoss: "RE: Debug - Stepping through an exe without the source code - any"
- Previous message: Giox: "Re: Form with custom shape"
- In reply to: Pam Ammond: "DataBind()"
- Next in thread: Rakesh Rajan: "RE: DataBind()"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|