Click here to Skip to main content
15,905,686 members
Home / Discussions / Database
   

Database

 
GeneralRe: access permissions Pin
Jeff Varszegi11-Nov-03 4:41
professionalJeff Varszegi11-Nov-03 4:41 
Generalextended procedure for sql server Pin
mhmoud rawas11-Nov-03 1:21
mhmoud rawas11-Nov-03 1:21 
GeneralRe: extended procedure for sql server Pin
Mike Dimmick11-Nov-03 10:08
Mike Dimmick11-Nov-03 10:08 
GeneralRe: extended procedure for sql server Pin
mhmoud rawas11-Nov-03 18:21
mhmoud rawas11-Nov-03 18:21 
GeneralRe: extended procedure for sql server Pin
Mike Dimmick11-Nov-03 23:02
Mike Dimmick11-Nov-03 23:02 
GeneralRe: extended procedure for sql server Pin
mhmoud rawas11-Nov-03 23:16
mhmoud rawas11-Nov-03 23:16 
GeneralMore DTS questions Pin
Megan Forbes10-Nov-03 23:49
Megan Forbes10-Nov-03 23:49 
QuestionDataGrid - stopping additions, while allowing edits: possible? Pin
Pauwll10-Nov-03 23:46
Pauwll10-Nov-03 23:46 
Hi,

I've the following requirements:
1) Allow users to edit columns 2 & 3 of a DataGrid.
2) Prevent users from adding rows.


I can solve (1) by checking the event of moving cells, and then doing the following:
---------------------------------------------------------------
if (this.DataGrid1.CurrentCell.Columnnumber==0)
this.DataGrid1.ReadOnly=true;
else
this.DataGrid1.ReadOnly=false;
---------------------------------------------------------------


This works really neatly. I can't figure out how to solve problem (2) though.
Any ideas?



Pauwl
AnswerRe: DataGrid - stopping additions, while allowing edits: possible? Pin
Mike Dimmick11-Nov-03 10:13
Mike Dimmick11-Nov-03 10:13 
GeneralRe: DataGrid - stopping additions, while allowing edits: possible? Pin
Pauwll11-Nov-03 17:56
Pauwll11-Nov-03 17:56 
GeneralMigrate SQL to Oracle Pin
TPN10-Nov-03 16:40
TPN10-Nov-03 16:40 
GeneralRe: Migrate SQL to Oracle Pin
Guillermo Rivero12-Nov-03 7:31
Guillermo Rivero12-Nov-03 7:31 
GeneralRe: Migrate SQL to Oracle Pin
Mike Dimmick13-Nov-03 2:54
Mike Dimmick13-Nov-03 2:54 
GeneralIn-Memory Databases Pin
Andrew Shapira10-Nov-03 12:16
Andrew Shapira10-Nov-03 12:16 
GeneralRe: In-Memory Databases Pin
Arjan Einbu10-Nov-03 22:45
Arjan Einbu10-Nov-03 22:45 
GeneralStopping SQL Pin
Megan Forbes10-Nov-03 3:12
Megan Forbes10-Nov-03 3:12 
GeneralRe: Stopping SQL Pin
Jeff Varszegi10-Nov-03 3:36
professionalJeff Varszegi10-Nov-03 3:36 
GeneralRe: Stopping SQL Pin
Megan Forbes10-Nov-03 3:47
Megan Forbes10-Nov-03 3:47 
GeneralRe: Stopping SQL Pin
Jeff Varszegi10-Nov-03 7:21
professionalJeff Varszegi10-Nov-03 7:21 
GeneralRe: Stopping SQL Pin
Bruce Duncan10-Nov-03 7:05
Bruce Duncan10-Nov-03 7:05 
QuestionHow to set null values in dataset ? Pin
susree9-Nov-03 19:46
susree9-Nov-03 19:46 
AnswerRe: How to set null values in dataset ? Pin
Mike Dimmick11-Nov-03 10:22
Mike Dimmick11-Nov-03 10:22 
GeneralRe: How to set null values in dataset ? Pin
susree11-Nov-03 17:53
susree11-Nov-03 17:53 
GeneralMS Access Database Connection with VB.NET Pin
EdZa8-Nov-03 12:21
EdZa8-Nov-03 12:21 
GeneralRe: MS Access Database Connection with VB.NET Pin
Pauwll8-Nov-03 16:27
Pauwll8-Nov-03 16:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.