I have a huge problem,i am trying to edit values from gridview and am not using adit command of gridview i want to use stand alone button and inside my gridview i have a checkbox this checkbox when checked on a certain line only that line on a gridview must change to editable mode when i click my stand alone edit button. i.e more like when you have mail on yahoo or anymail if you want to delete a message you check the checkbox and then click delete button so am looking something like that
You could for instance set the various columns, except your checkbox column, to readonly. Then when you click your editbutton, extract ticked DataRow and edit the data in a custom control. Or set all DataRows.ReadOnly property to 'true' except the ticked one. You could do this in the DataGridView.CellValueChanged event handler.
According to the errormessages, I'd say that your xml file violates the rules dictated by your xls schema.
If you don't want to edit the xml file, you'll most likely have to take a look at the xls schema.
I wrote a backprop neural net library in C# that is loosely based on the BrainNet articles. And as in the articles, the testing app that I developed is one that trains the NN logical operations (AND OR XOR etc.)
When I train it for AND & OR, it works perfectly. However, it refuses to learn XOR. There is obviously a bug somewhere.
Does anybody have a clue where I can look? I know this is a long shot in the dark, but I am at my wit's end....
whenever i run my application 2nd time, I get the error... i.e Unable to copy file "obj\Debug\File1.exe"to"bin\Debug\File.exe".
The process cannot access the file 'bin\Debug\File1.exe'
because it is being used by another process.
wts the reason behind it. I also closed or free all the resources.
plz help me out...
I see your point - as he doesn't know where it's happening and it might be a large application.
Though he could show us exitpoint of application, cleanups, anything related to starting/stopping threads perhaps.
If your app is running, the EXE file is locked and a new build will fail.
Most probable cause is you create some thread that does not finish, and was not
declared a background thread. Background threads don't prevent an app from exiting,
foreground threads do. See Thread.IsBackground
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google