Important alert: (current site time 7/15/2013 7:48:18 AM EDT)
 

winzip icon

A "DataGrid" -extended-: FullRowSelect + Disabled Cell editing.

Email
Submitted on: 9/19/2003 7:24:02 PM
By: VWorker 007 
Level: Advanced
User Rating: By 33 Users
Compatibility: VB.NET
Views: 57184
author picture
(About the author)
 
     1 part of code: I want to show you how you can set FullRowSelest in DataGrid + disable cell(textbox) editing. 2 part of code: How you can use DataGridColumnStyles to show fields in DataGrid that only you want to be viewable/avaiable. 3 part of code: How to make your own DataGridColumnStyles. This project is all documented ( on englis ). *****If you like it, please vote..

 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
// for :A "DataGrid" -extended-: FullRowSelect + Disabled Cell editing.
//**************************************
free to use ... ( by Habjan )
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 4 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
9/19/2003 7:32:47 PMHabjan

you are free to live a comment..
(If this comment was disrespectful, please report it.)

 
9/19/2003 7:36:15 PMHabjan

It is for Visual Studio 2003 ...
If you want .. you can set it work on VS2002 by changeing solution file version from 8.0. to 7.0. ( ofcourse, by editing .sln file )
(If this comment was disrespectful, please report it.)

 
9/19/2003 9:55:03 PMRob R

I still couldn't get it to work by editing the solutions file.

VS gives an error about the project was created in a newer version of visual studio and It can only be viewed by that version.

Any help would be appreciated.

Thanks
(If this comment was disrespectful, please report it.)

 
9/20/2003 4:54:06 AMHabjan

Make new solution, and put Form, and code files in solutions ..
(If this comment was disrespectful, please report it.)

 
9/20/2003 10:32:55 AMJuan Jose

Try putting also the schema version to 1.0
(If this comment was disrespectful, please report it.)

 
9/20/2003 11:57:17 AMRob R

Ok I got it to work thanks. Great code 5 globes here.
(If this comment was disrespectful, please report it.)

 
9/20/2003 1:49:34 PMHabjan

thanks...
(If this comment was disrespectful, please report it.)

 
10/30/2003 8:13:43 PM

I have VB.NET 2002 and I cannot open this project. How I can do it.
(If this comment was disrespectful, please report it.)

 
11/10/2003 3:40:30 PM

Thanks for your help, if you have any more complete code on how to edit and update the usual datagrid from the tool box can you help please..using VB.Net
(If this comment was disrespectful, please report it.)

 
5/20/2004 2:57:05 AM

i cannot open this project. i'm using vb .net 2002, may this project was made in vb .net 2003? what should i do?....
(If this comment was disrespectful, please report it.)

 
8/31/2004 10:22:25 PM

Great code 5 globes from me
(If this comment was disrespectful, please report it.)

 
8/13/2005 12:03:52 PM

Anyone know how one goes about importing this into a different project?
(If this comment was disrespectful, please report it.)

 
10/7/2005 1:30:18 PMviji

i am a beginer of vb.net i want to know about how to add checkbox? that u have used in your demo coloum name is multi value.i am very poor in english please for give if any mistake
(If this comment was disrespectful, please report it.)

 
11/3/2006 10:44:50 PMlynn_es

i also cannot open this project. i'm using vb 2006. what should i do?
(If this comment was disrespectful, please report it.)

 
1/9/2007 4:42:46 AMganesh

good work
(If this comment was disrespectful, please report it.)

 
1/11/2007 10:43:35 AMJuhardi

Good Application, Please send back for me, about design,Complite aplication source development, Thanks you very much.
(If this comment was disrespectful, please report it.)

 
8/16/2007 3:22:38 AMAndrews J Stanley

Its good to see few collection of program
(If this comment was disrespectful, please report it.)

 
12/5/2007 11:29:56 AMrvproductions2000

I am receiving the following error when opening the project:

Could not find type 'Project_DataGrid.Components.CDataGrid'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.
(If this comment was disrespectful, please report it.)

 
3/30/2008 9:38:05 AMphyu phyu aung

Thank u so much.
(If this comment was disrespectful, please report it.)

 
1/28/2009 1:59:13 AM<< Charlie >>

Thanks for the effort... Learn a lot...
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.