Click here to Skip to main content
15,892,005 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Getting the Value of a DropDownList on WebForm Pin
Christian Graus29-Nov-05 14:16
protectorChristian Graus29-Nov-05 14:16 
GeneralRe: Getting the Value of a DropDownList on WebForm Pin
dptalt30-Nov-05 3:56
dptalt30-Nov-05 3:56 
QuestionCrystal Selection Formula Pin
vertig073029-Nov-05 7:35
vertig073029-Nov-05 7:35 
QuestionCoding web camera Pin
Amr M. K.29-Nov-05 6:31
Amr M. K.29-Nov-05 6:31 
AnswerRe: Coding web camera Pin
Briga29-Nov-05 7:37
Briga29-Nov-05 7:37 
QuestionDatagrid problems - deleting rows Pin
oakleaf29-Nov-05 4:20
oakleaf29-Nov-05 4:20 
AnswerRe: Datagrid problems - deleting rows Pin
lavanya_satheesh29-Nov-05 19:24
lavanya_satheesh29-Nov-05 19:24 
GeneralRe: Datagrid problems - deleting rows Pin
oakleaf30-Nov-05 4:03
oakleaf30-Nov-05 4:03 
I think that the datagrid in question is a bit too complex for this to work. I tried what you had posted in the DataGrid1_KeyDown event...

If e.KeyCode = Keys.Delete Then.....

but I still immediately receive:


************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Windows.Forms.DataGrid.ResetSelection()
at System.Windows.Forms.DataGrid.ResetUIState()
at System.Windows.Forms.DataGrid.SetDataGridRows(DataGridRow[] newRows, Int32 newRowsLength)
at System.Windows.Forms.DataGrid.DeleteDataGridRows(Int32 deletedRows)
at System.Windows.Forms.DataGrid.DeleteRows(DataGridRow[] localGridRows)
at System.Windows.Forms.DataGrid.ProcessGridKey(KeyEventArgs ke)
at System.Windows.Forms.DataGrid.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+IMsoComponent.FPreTranslateMessage(MSG& msg)



GeneralRe: Datagrid problems - deleting rows Pin
lavanya_satheesh30-Nov-05 18:29
lavanya_satheesh30-Nov-05 18:29 
QuestionGetting Database Permission in a Web Form Pin
dptalt29-Nov-05 2:54
dptalt29-Nov-05 2:54 
AnswerRe: Getting Database Permission in a Web Form Pin
Briga29-Nov-05 7:22
Briga29-Nov-05 7:22 
AnswerRe: Getting Database Permission in a Web Form Pin
KaptinKrunch29-Nov-05 7:49
KaptinKrunch29-Nov-05 7:49 
AnswerRe: Getting Database Permission in a Web Form Pin
dptalt29-Nov-05 8:04
dptalt29-Nov-05 8:04 
QuestionPlease help. Going crazy over here! Pin
noamha29-Nov-05 1:32
noamha29-Nov-05 1:32 
AnswerRe: Please help. Going crazy over here! Pin
Briga29-Nov-05 1:40
Briga29-Nov-05 1:40 
GeneralRe: Please help. Going crazy over here! Pin
noamha29-Nov-05 1:47
noamha29-Nov-05 1:47 
GeneralRe: Please help. Going crazy over here! Pin
Briga29-Nov-05 2:01
Briga29-Nov-05 2:01 
Questionproblem exporting result from vb.net to ms word Pin
uktrips00728-Nov-05 23:54
uktrips00728-Nov-05 23:54 
AnswerRe: problem exporting result from vb.net to ms word Pin
Briga29-Nov-05 1:30
Briga29-Nov-05 1:30 
AnswerRe: problem exporting result from vb.net to ms word Pin
KaptinKrunch29-Nov-05 8:03
KaptinKrunch29-Nov-05 8:03 
GeneralRe: problem exporting result from vb.net to ms word Pin
uktrips0072-Dec-05 18:28
uktrips0072-Dec-05 18:28 
Questionhow to count how many items in a data grid Pin
microuser_200028-Nov-05 23:40
microuser_200028-Nov-05 23:40 
AnswerRe: how to count how many items in a data grid Pin
Kotolom29-Nov-05 0:22
Kotolom29-Nov-05 0:22 
GeneralRe: how to count how many items in a data grid Pin
microuser_200029-Nov-05 0:47
microuser_200029-Nov-05 0:47 
GeneralRe: how to count how many items in a data grid Pin
microuser_200029-Nov-05 2:00
microuser_200029-Nov-05 2:00 

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.