473,800 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Diffences between DataGrids in Windows Forms and Asp.Net

I am trying to find the differences between handling of DataGrids in Windows
Forms and Asp.Net.

They are completely different in how you bind to them, get number of rows,
look at columns and rows, selecting rows, handling events, etc.

I know how to handle them in Asp.net, but not as sure when dealing with
DataGrids in a Windows Form.

Where would I find some good articles on these?

Thanks,

Tom
Nov 5 '07 #1
1 1159
Tom,

Time after time Microsoft departments make the mistake to use the same or
wrong names for total different things. One of those is the DataGrid in
ASPNET and WindowForms.

You can better take any other grid were some have less differences then the
two DataGrid's from Microsoft. (It is not for nothing that the new ones are
named DataGridView and GridView although both are totaly different grids
compared to the DataGrid's)

Cor

Nov 6 '07 #2

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

Similar topics

28
1887
by: Dennis Owens | last post by:
I am trying to run a thread off of a form, and every once in a while the thread will raise an event for the form to read. When the form gets the event, the form will place the event into a dataset and display it on a datagrid that is on the form. The problem is that the thread will slowly take over all of the processor time. After about 8 events, the form will not even respond anymore. Here is the guts of my test code // Class and event for...
0
1412
by: Eddie B. | last post by:
Is it possible to do nested datagrids for Windows Forms?
2
1431
by: Steve | last post by:
I would not have thought that getting a DataGrid connected to a DataSet (read in from an XML file) would be this complicated. I cannot get this to work. I have read everything I could find and modeled all the examples given but this grid just refuses to behave nicely. The code is listed below as well as the XML schema and XML data. The connection between the data set and grid seems to work just fine. What won't work is the display...
2
1320
by: OHM | last post by:
Windows Forms Controls. Has anyone personally read and recommends a good book which includes good coverage on DataGrids as this seems to be one of the most common problem areas. Regards - OHM
3
1750
by: John Jasobs | last post by:
I know this has been asked before but I have not seen it answered. How would one implement nested datagrids in windows forms based on the table relationships within a dataset? Or, is there some setting that lets you automatically display the details table (instead of the relationship name) on the new expanded row of a datagrid? I have seen it for ASP.NET, but is this doable for windows forms? Thanks in advance,
2
1451
by: simchajoy2000 | last post by:
Hi, In the VB.NET code behind ASP.NET, the programmer is able to directly access the columns and rows associated with the datagrid. Why are datagrids in VB.NET window forms so different? The only way I have figured out how to manipulate the columns and rows in a datagrid is to use data tables. So if I want to change any values contained in the datagrid table or to hide or show different columns depending on different criteria, I must...
3
1338
by: anon | last post by:
I want to obtain the appearance of frozen columns as in an excel sheet so thet the first two columns of the table remain in view at all times. Example - I have a table of products - listed by Item and Line. I want the Item and Line columns to remain visible whilst being able to scroll the rest of the grid across to reveal other columns. Ialso need the information to be present and synchronised with the rows when I scroll down.
9
1272
by: Dave | last post by:
Apologies if this has come up before, but I can't find it if it has. I am fairly new to .Net and am having problems with ghosts in the datagrid. Basically I have a find screen that accepts search criteria, then interrogates a database to find all matching records. These are put into a dataset, which has a dataview that is used as the datasource of my datagrid, which is read only. The idea is that the user selects which record they...
1
1546
by: tomb | last post by:
This is making me crazy! vb.net 2003 I have two datagrids, datasource is the same datatable. I need the first one to show only 2 columns, the second to show 99 columns. They also have to be in sync - if I resort one, the other must also resort. That's why I am not using dataviews. But this doesn't work. The second grid shows 99 columns, the first shows all 108. What gives? Please help?!?!
0
9690
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10501
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
10273
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...
1
10250
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
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...
0
6811
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
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2944
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.