|
-
Apr 24th, 2003, 12:11 PM
#1
Thread Starter
Junior Member
Deleting rows
When you bring in SQL records onto an .aspx page, is it possible to delete a row off the page (using VB) without deleting the record itself from the SQL table?
"Ignorance and prejudice and fear walk hand in hand" - 'Witch Hunt', by Rush
-
Apr 28th, 2003, 10:34 PM
#2
No, but you can do a select statement like this to avoid displaying a particular record:
select * from myTable where record_id != 10;
Or, to avoid displaying multiple records:
select * from myTable where record_id not in (1, 2, 3, 8, 9);
-
Apr 29th, 2003, 08:50 AM
#3
Lively Member
Actaully you should be able if you delete it from the dataset without ever updating the dataset back to the server. I do believe.
"All those who wonder are not lost" -j.r.r tolkien
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|