Click here to Skip to main content
15,886,199 members
Home / Discussions / Database
   

Database

 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
miah alom9-Sep-05 7:56
miah alom9-Sep-05 7:56 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
Jaffer Mumtaz11-Sep-05 19:41
Jaffer Mumtaz11-Sep-05 19:41 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
OMalleyW12-Sep-05 6:32
OMalleyW12-Sep-05 6:32 
GeneralRe: Timeout Expired The timeout period elapsed prior to completion Pin
Andy Brummer12-Sep-05 8:27
sitebuilderAndy Brummer12-Sep-05 8:27 
QuestionDataRow Deletion Error.Please Help Me ! Pin
User 20930738-Sep-05 21:10
User 20930738-Sep-05 21:10 
AnswerRe: DataRow Deletion Error.Please Help Me ! Pin
miah alom9-Sep-05 6:00
miah alom9-Sep-05 6:00 
GeneralRe: DataRow Deletion Error.Please Help Me ! Pin
User 20930739-Sep-05 18:41
User 20930739-Sep-05 18:41 
GeneralRe: DataRow Deletion Error.Please Help Me ! Pin
miah alom12-Sep-05 8:57
miah alom12-Sep-05 8:57 
I think I understand your problem correctly now.
My bet will be to subclass DataGrid that you are using and add the following method

public override bool PreProcessMessage( ref Message msg )
{

Keys keyCode = (Keys)(int)msg.WParam & Keys.KeyCode;

if(msg.Msg == WM_KEYDOWN
&& keyCode == Keys.Delete
&& ((DataView) this.DataSource).AllowDelete)
{

//Do something here(like row["Deleted"] = 1);
// return true will make sure the Row is not deleted.
return true;

}

return base.PreProcessMessage(ref msg);

}


QuestionSql Enterprise Manager Pin
smita_roy8-Sep-05 19:49
smita_roy8-Sep-05 19:49 
AnswerRe: Sql Enterprise Manager Pin
Andy Brummer8-Sep-05 20:03
sitebuilderAndy Brummer8-Sep-05 20:03 
AnswerRe: Sql Enterprise Manager Pin
enjoycrack8-Sep-05 23:28
enjoycrack8-Sep-05 23:28 
AnswerRe: Sql Enterprise Manager Pin
miah alom9-Sep-05 7:54
miah alom9-Sep-05 7:54 
QuestionError with INSERT INTO Pin
°[Halo]°8-Sep-05 11:57
°[Halo]°8-Sep-05 11:57 
AnswerRe: Error with INSERT INTO Pin
Colin Angus Mackay8-Sep-05 12:22
Colin Angus Mackay8-Sep-05 12:22 
AnswerRe: Error with INSERT INTO Pin
enjoycrack8-Sep-05 21:14
enjoycrack8-Sep-05 21:14 
AnswerRe: Error with INSERT INTO Pin
Frank Kerrigan9-Sep-05 0:43
Frank Kerrigan9-Sep-05 0:43 
GeneralRe: Error with INSERT INTO Pin
miah alom9-Sep-05 5:41
miah alom9-Sep-05 5:41 
QuestionRe: Error with INSERT INTO Pin
°[Halo]°11-Sep-05 22:43
°[Halo]°11-Sep-05 22:43 
AnswerRe: Error with INSERT INTO Pin
QuietKnight13-Sep-05 11:16
QuietKnight13-Sep-05 11:16 
GeneralRe: Error with INSERT INTO Pin
QuietKnight13-Sep-05 11:18
QuietKnight13-Sep-05 11:18 
Questionabout SQL ... Pin
mostafa_h8-Sep-05 9:25
mostafa_h8-Sep-05 9:25 
AnswerRe: about SQL ... Pin
Colin Angus Mackay8-Sep-05 10:57
Colin Angus Mackay8-Sep-05 10:57 
GeneralRe: about SQL ... Pin
mostafa_h8-Sep-05 15:24
mostafa_h8-Sep-05 15:24 
GeneralRe: about SQL ... Pin
Colin Angus Mackay8-Sep-05 20:08
Colin Angus Mackay8-Sep-05 20:08 
GeneralRe: about SQL ... Pin
mostafa_h14-Sep-05 20:17
mostafa_h14-Sep-05 20:17 

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.