473,770 Members | 3,912 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can someone point me to a bound Datagrid plus edit control tutorial???

I am using typed datasets in an N-Tier Windows app using VB.NET.

I know this posting cannot be fully explained in a single post that is why I
am asking for someone to point me to a real world tutorial (in vb.net) that
can show me how to use a bound Datagrid to it's fullest potential. I need to
utilize the bound Datagrid in two modes. One were a bound Datagrid can be in
edited directly utilizing bound combos and textbox right on the grid, AddNew
etc.

The second where the bound Datagrid is bound to a set of controls in another
pane below it where you click on a particular row and those bound controls
are filled, AddNew, etc.

I have looked all over and can't find anything that adequately explains what
I want to do. I have tried myself with only moderate success and I am really
just spinning my wheels right now.

Thnak in advance.
Nov 20 '05 #1
4 1356
look to http://www.syncfusion.com/FAQ/WinForms/default.asp#44

Rajesh Patel
"Aaron Ackerman" <no@spam.com> wrote in message
news:ua******** ******@TK2MSFTN GP10.phx.gbl...
I am using typed datasets in an N-Tier Windows app using VB.NET.

I know this posting cannot be fully explained in a single post that is why I am asking for someone to point me to a real world tutorial (in vb.net) that can show me how to use a bound Datagrid to it's fullest potential. I need to utilize the bound Datagrid in two modes. One were a bound Datagrid can be in edited directly utilizing bound combos and textbox right on the grid, AddNew etc.

The second where the bound Datagrid is bound to a set of controls in another pane below it where you click on a particular row and those bound controls
are filled, AddNew, etc.

I have looked all over and can't find anything that adequately explains what I want to do. I have tried myself with only moderate success and I am really just spinning my wheels right now.

Thnak in advance.

Nov 20 '05 #2
#44 doesn't refer to what I need.
"Rajesh Patel" <rd****@hotmail .com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
look to http://www.syncfusion.com/FAQ/WinForms/default.asp#44

Rajesh Patel
"Aaron Ackerman" <no@spam.com> wrote in message
news:ua******** ******@TK2MSFTN GP10.phx.gbl...
I am using typed datasets in an N-Tier Windows app using VB.NET.

I know this posting cannot be fully explained in a single post that is why
I
am asking for someone to point me to a real world tutorial (in vb.net) that
can show me how to use a bound Datagrid to it's fullest potential. I

need to
utilize the bound Datagrid in two modes. One were a bound Datagrid can
be in
edited directly utilizing bound combos and textbox right on the grid,

AddNew
etc.

The second where the bound Datagrid is bound to a set of controls in

another
pane below it where you click on a particular row and those bound

controls are filled, AddNew, etc.

I have looked all over and can't find anything that adequately explains

what
I want to do. I have tried myself with only moderate success and I am

really
just spinning my wheels right now.

Thnak in advance.


Nov 20 '05 #3
Hi Aaron,

I cannot find such specific code samples or tutorials. However, in MSDN
there's a code example, which is an N-Tier Windows app using VB.NET. It's
using an untyped dataset. But I don't think there's much difference in
between typed and untyped datasets when binding to a datagrid.

Please try to refer to the following link to download the code example.

http://msdn.microsoft.com/library/de...us/dnvssamp/ht
ml/vbcs_N-TierDataFormand DataLayer.asp

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

--------------------
| From: "Aaron Ackerman" <no@spam.com>
| Subject: Can someone point me to a bound Datagrid plus edit control
tutorial???
| Date: Mon, 13 Oct 2003 11:08:47 -0400
| Lines: 20
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <ua************ **@TK2MSFTNGP10 .phx.gbl>
| Newsgroups:
microsoft.publi c.dotnet.genera l,microsoft.pub lic.dotnet.lang uages.vb,micros o
ft.public.dotne t.languages.vb. controls,micros oft.public.dotn et.languages.vb .
data
| NNTP-Posting-Host: ric-64-83-27-134-serial-sta.t1.cavtel.n et 64.83.27.134
| Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP10.phx.g bl
| Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.vb:146283
microsoft.publi c.dotnet.langua ges.vb.controls :2887
microsoft.publi c.dotnet.langua ges.vb.data:220 4
microsoft.publi c.dotnet.genera l:111599
| X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.vb
|
| I am using typed datasets in an N-Tier Windows app using VB.NET.
|
| I know this posting cannot be fully explained in a single post that is
why I
| am asking for someone to point me to a real world tutorial (in vb.net)
that
| can show me how to use a bound Datagrid to it's fullest potential. I need
to
| utilize the bound Datagrid in two modes. One were a bound Datagrid can be
in
| edited directly utilizing bound combos and textbox right on the grid,
AddNew
| etc.
|
| The second where the bound Datagrid is bound to a set of controls in
another
| pane below it where you click on a particular row and those bound controls
| are filled, AddNew, etc.
|
| I have looked all over and can't find anything that adequately explains
what
| I want to do. I have tried myself with only moderate success and I am
really
| just spinning my wheels right now.
|
| Thnak in advance.
|
|
|

Nov 20 '05 #4
Hi Aaron,

Sorry no tutorials, but start from the Windows Forms Data Binding
documentation - especially the CurrencyManager class which is actually a
centerpiece in DataGrid operation.

If you could ask several more specific questions, I believe the community
would be able to answer the most of them - if they are not already answered
and archived on Google Groups (http://groups.google.com).

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Aaron Ackerman" <no@spam.com> wrote in message
news:ua******** ******@TK2MSFTN GP10.phx.gbl...
I am using typed datasets in an N-Tier Windows app using VB.NET.

I know this posting cannot be fully explained in a single post that is why I am asking for someone to point me to a real world tutorial (in vb.net) that can show me how to use a bound Datagrid to it's fullest potential. I need to utilize the bound Datagrid in two modes. One were a bound Datagrid can be in edited directly utilizing bound combos and textbox right on the grid, AddNew etc.

The second where the bound Datagrid is bound to a set of controls in another pane below it where you click on a particular row and those bound controls
are filled, AddNew, etc.

I have looked all over and can't find anything that adequately explains what I want to do. I have tried myself with only moderate success and I am really just spinning my wheels right now.

Thnak in advance.


Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3578
by: Aaron Ackerman | last post by:
I am using typed datasets in an N-Tier Windows app using VB.NET. I know this posting cannot be fully explained in a single post that is why I am asking for someone to point me to a real world tutorial (in vb.net) that can show me how to use a bound Datagrid to it's fullest potential. I need to utilize the bound Datagrid in two modes. One were a bound Datagrid can be in edited directly utilizing bound combos and textbox right on the grid,...
3
2438
by: PAUL EDWARDS | last post by:
I have a windows form that is bound to a datatable. In VB6 I could just update the field contents and it would be updated in the database, however if I update the text property of the control from code it is 50% chance that the update will make it back to the dataset. If I update the dataset instead of the form, it does not show on the form. Is there a method that should be used?
0
1377
by: admin | last post by:
New Article Building a DataGrid with Add and Edit Features By Tulga Kalayci The DataGrid server control is one of the most widely used controls in ASP.NET-based projects to display data in a table form. When using a mixture of database- and manually-driven DropDownLists, placing them in a DataGrid can be confusing. In this tutorial, I'll focus on resolving this issue using an example of an expense entry and reporting system. (Monday,...
3
1730
by: Bill | last post by:
I have a seating chart web form that has over 50 entry field controls (tables/booths) where I use a DropDownList box to select a single company name from a single large list of organizations (200 plus conference attendees). All web form datavalues will be one of the same 200 organizations in this list. I would like to avoid creating 50 separate exact copies of the same DataSet object. Can you help? Q. Exactly how do I use the same...
1
1275
by: jm | last post by:
I manually put a datagrid in on a form. I then added this code to an event to populate it: OdbcConnection conn = new OdbcConnection("DSN=CardBase"); sqlCardHolders = "SELECT * FROM tblcardholders " + "WHERE last_name LIKE '%" + txtLastName.Text + "%'"; DataSet rs = new DataSet(); conn.Open(); OdbcDataAdapter myOdbcAdapter = new OdbcDataAdapter(sqlCardHolders, conn);
2
1307
by: Alpha | last post by:
Hi, Where is a good place on the internet for me to learn about how to use the datagrid. My grid's datasource is a dataset with one table from a DB. I need to know how to perform Edit, Delete and insert for the grid. The books I have are not that detail. I appreciate it someone can point me out to some good reading/learning article. Thanks, Alpha
2
2339
by: Sky | last post by:
Hello: Another question about trying to wring functionality from a DataGrid... Have a DB table of "Contacts" -- 14 or more fields per record Show in datagrid -- but only 5 columns (First,Last, Fax, Phone, Category). Put an Edit column at the end... Now what?! If you go into Edit mode -- you can only edit 5 cells -- not all the rest of the Record's fields...not enough!
0
885
by: Sachi | last post by:
Hi, I am looking for some control which is built using custom class. i.e. When user gives parameters or a collection with all the field name, editable, edit template control type, etc etc. With this arraylist i should be able to build a complete datagrid. So this datagrid user control become soo generic. But I could find only two article realted to this control. http://aspnet.4guysfromrolla.com/articles/102302-1.2.aspx
2
1317
by: Lars Netzel | last post by:
I have a Datagrid using the Edit/Update mode to alter data in the datasource. I needed to have a bit more flexible interface in the editmode with a design that couldn't work in the columns. So I fixed this by only having ONE template column (plus the edit button column) and then have html tables in both the header and the edit items to have complete control over the design. This works fine. Now my boss wants Sorting in the column...
8
3303
by: Jon Weston | last post by:
I'm setting up an Access2003 database with pictures. I put a bound ole picture ctrl on a form that's source is the table that contains the pictures and follow ALL the directions for embedding a picture. The ctrl in the form only displays the filename of the picture. The underlying table, when opened in table view, shows the word "package" in the field. When I double-click on either it opens the picture, but I can't get it to display. ...
0
9439
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10237
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10071
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8905
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7431
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3987
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.