Click here to Skip to main content
15,914,905 members
Home / Discussions / C#
   

C#

 
Questiondatagridview delete last row when sort order changes ? Pin
cmpeng3412-Jun-06 2:48
cmpeng3412-Jun-06 2:48 
AnswerRe: datagridview delete last row when sort order changes ? Pin
Elina Blank12-Jun-06 8:10
sitebuilderElina Blank12-Jun-06 8:10 
QuestionHow to Run exe from memory or stream ? Pin
hdv21212-Jun-06 1:58
hdv21212-Jun-06 1:58 
AnswerRe: How to Run exe from memory or stream ? Pin
Super Lloyd12-Jun-06 2:10
Super Lloyd12-Jun-06 2:10 
QuestionSNMP TRAP Programming in C#[modified] Pin
bannapradeep12-Jun-06 1:53
bannapradeep12-Jun-06 1:53 
Questionminimixing the fullscreen window in javascript Pin
Vivek Pokale12-Jun-06 1:38
Vivek Pokale12-Jun-06 1:38 
QuestionListView checkboxes... [modified] Pin
Kasic Slobodan12-Jun-06 1:20
Kasic Slobodan12-Jun-06 1:20 
AnswerRe: ListView checkboxes... Pin
Ed.Poore12-Jun-06 9:15
Ed.Poore12-Jun-06 9:15 
Kasic Slobodan wrote:
ListViewItem item = (ListViewItem)sender;
item.Checked = false;

If you'd read the error then it'd tell you that sender cannot be cast to ListViewItem because sender is in fact an instance of ListView D'Oh! | :doh: .  In fact if you're running it inside the debugger then it'd even break on that line for you.


It'd be best to handle the ItemChecked event, if the checkbox wasn't suppose to be checked then invert it, otherwise leave it alone.



You know you're a Land Rover owner when the best route from point A to point B is through the mud.

Ed
GeneralRe: ListView checkboxes... [modified] Pin
Kasic Slobodan13-Jun-06 0:43
Kasic Slobodan13-Jun-06 0:43 
QuestionDataGrid..Assign Runtime Values? Pin
innocent7312-Jun-06 1:20
innocent7312-Jun-06 1:20 
AnswerRe: DataGrid..Assign Runtime Values? Pin
Mairaaj Khan12-Jun-06 1:47
professionalMairaaj Khan12-Jun-06 1:47 
Questiontabcontrol problem ? howto check if a different tab is clicked ? Pin
cmpeng3412-Jun-06 1:01
cmpeng3412-Jun-06 1:01 
AnswerRe: tabcontrol problem ? howto check if a different tab is clicked ? Pin
Mairaaj Khan12-Jun-06 1:31
professionalMairaaj Khan12-Jun-06 1:31 
AnswerRe: tabcontrol problem ? howto check if a different tab is clicked ? Pin
MCSD-Gandalf12-Jun-06 2:13
MCSD-Gandalf12-Jun-06 2:13 
AnswerRe: tabcontrol problem ? howto check if a different tab is clicked ? Pin
Andrei Ungureanu12-Jun-06 4:18
Andrei Ungureanu12-Jun-06 4:18 
GeneralRe: tabcontrol problem ? howto check if a different tab is clicked ? Pin
Mairaaj Khan12-Jun-06 20:53
professionalMairaaj Khan12-Jun-06 20:53 
QuestionHow to Clear data from DataGridView? Pin
Mairaaj Khan12-Jun-06 0:47
professionalMairaaj Khan12-Jun-06 0:47 
QuestionWritting listview items to xml file Pin
chandler8312-Jun-06 0:47
chandler8312-Jun-06 0:47 
AnswerRe: Writting listview items to xml file Pin
rah_sin12-Jun-06 0:50
professionalrah_sin12-Jun-06 0:50 
GeneralRe: Writting listview items to xml file Pin
chandler8312-Jun-06 1:11
chandler8312-Jun-06 1:11 
GeneralRe: Writting listview items to xml file Pin
rah_sin12-Jun-06 1:35
professionalrah_sin12-Jun-06 1:35 
QuestionProblem with TVM_GETITEM Pin
suguimoto12-Jun-06 0:44
suguimoto12-Jun-06 0:44 
QuestionFile Downloading - Help Please Pin
Andrew Mercer12-Jun-06 0:17
Andrew Mercer12-Jun-06 0:17 
QuestionDataGridView.SelectedRows to DataTable in C# Pin
peshawarcoder11-Jun-06 23:03
peshawarcoder11-Jun-06 23:03 
QuestionCrystal reports - Keycodev2.dll Pin
SysJey11-Jun-06 22:48
SysJey11-Jun-06 22:48 

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.