votes
votes
Delete Row on status and Date entry
Guys I'm getting a little confused on how best to do this. I have a datagrid with 3 columns, column [2] contains a status and column [3] contains a date. now I want to delete the row but only if the status is "CLEANED" and is over ...
votes
LINQ To SQL Rollback problem
Hi I'm using c#. I have create a stored procedure in my SQL Server 2005 db for deleting clients. The reason I used a stored procedure is because in order to delete a client I have to delete several other records from different tables tha ...
votes
Simplest way to delete certain records from Access database
I know this is incredibly basic, but I can't find a simple, straightforward answer that isn't missing some critical element. I have an access database. I need to do some data integrity checking before it gets updated. There are multiple ...
votes
LastRow in DataGrid
Hi! I have an XML file: [code] <Paths> <Name>Total Commander</Name> <Path>C:\Programs\TC\TC.exe</Path> </Paths>[/code] I load this into DataGrid via DataSet and it works just fine. T ...
votes
delete all files except
hello, i have this code [code] DirectoryInfo di = new DirectoryInfo(Application.StartupPath + "\\lab"); // or whatever it's called FileInfo[] fia = di.GetFiles(); DirectoryInfo[] subDirs = di.GetDi ...
votes
votes
delete all files except
hello, i need code to delete all files in my folder application except tow files how can i do that? For example: my folder application "Debug" file 1 = Debug.exe file 2 = WindowsFormsApplication1.vshost.exe.manife ...
votes
text file delete line
hi i have a text file with 1000 lines and i wand to delete the last line each time i press a button! is any function to delete the last line?? thanks
votes
Delete a record throws exception
Hi, Im writing an application that uses SQL Server 2005. I have two tables CLIENT and CLIENT_PURCHASES The tables are joinned by the client_id field. I would like to delete a client but if a client has some purchases I'm receiving an ex ...
