473,480 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Example code of an unbound datagrid

I am trying to fine some examples of using the datagrid in unbound mode.
Does anyone have any information on this please?

Regards,
Mike.
Nov 20 '05 #1
1 3026
Hi Mike,

You can create an empty DataTable and bind the grid to that in-memory data
source. This way you will avoid all pain related to putting the grid into
conditions it was just not designed to work under.

--
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

"Mike Stephens" <mi**************@nopeasandham.yahoo.co.nz> wrote in message
news:uL**************@tk2msftngp13.phx.gbl...
I am trying to fine some examples of using the datagrid in unbound mode.
Does anyone have any information on this please?

Regards,
Mike.


Nov 20 '05 #2

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

Similar topics

4
25350
by: Wes | last post by:
I want to use a DataGrid and manually populate the data in the table. Does anyone know how this is done?? I want to create all the Columns, and then just add rows as my Program runs. Is there...
1
4210
by: sianan | last post by:
I tried to use the following example, to add a checkbox column to a DataGrid in an ASP.NET application: http://www.codeproject.com/aspnet/datagridcheckbox.asp For some reason, I simply CAN'T get...
0
2194
by: Brian | last post by:
Hello - Ive got a READ ONLY Datagrid with records of people (2 columns, FirstName and LastName). I would like the first column to be a checkbox that allows the user to select a row and then...
0
950
by: jy836 | last post by:
I have a DataGrid which is bound to a dataset. I created a table style (mapped to a table in a database) and about 20 column styles which are all mapped to fields in the database. My problem is...
1
3046
by: BuzzLight | last post by:
Iam very new to .net, in vb6 there was the flexigrid component, you could add rows, columns .. change their width, height, header captions etc very easily... but in .net all I see is one DataGrid. ...
2
1424
by: Greg | last post by:
I was wondering if there is a simple way to present a totals column in a bound datagrid where the totals aren't actually persisted (in my case to an xml file). Ideally, when I populate the datagrid...
0
1270
by: robin9876 | last post by:
In Visual Studio 2003 I have a VB web page which has a few parameters which generates a SQL Data reader which is used as the data source for a data grid. The data grid is unbound, has viewstate...
2
59046
NeoPa
by: NeoPa | last post by:
CHAPTER 1 - TABLE OF CONTENTS (Including attached database) CHAPTER 2 - INTRODUCTION CHAPTER 3 - TABLE LAYOUT CHAPTER 4 - FORM LAYOUT CHAPTER 5 - FORM MODULE CHAPTER 6 - CODE DISCUSSION (FILTER...
4
3176
by: =?Utf-8?B?am9obmI=?= | last post by:
Hi All I have a 2005vb.net Form with 2 datagrids with a perent child relationship. On the child datagrid I have 2 unbound columns which are derived from other columns in the grid. And it works...
0
6912
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...
0
7052
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,...
0
7092
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...
1
4790
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...
0
4488
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...
0
3000
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...
0
2989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1304
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 ...
0
188
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...

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.