Saif Khan

{ I am Saif } "Knowledge is power, information is free, share it!"
posts - 24, comments - 118, trackbacks - 0

My Links

News

Archives

.NET

Hardware

Networking

Friday, April 29, 2011

XtraGrid CardView – UI (1)

One of my application is used in warehouse operations. It has a weather control to keep dispatchers and drivers informed. Here are two screen-shots

4-27-2011 2-25-00 PM

 4-25-2011 5-13-51 PM

 

Powered By:

  • XtraGrid
  • Google Weather API

Posted On Friday, April 29, 2011 8:48 AM | Feedback (0) |

Honorable mention at INETA Component Code Challenge

I’ve always kept my creations out of the spotlight, however, this year I opted in and submitted one of my apps. The results, pleasing but mostly inspirational. I am fascinated with UI in both WinForms and Web applications. I am going to be making some posts on some of my applications UI.

Posted On Friday, April 29, 2011 8:10 AM | Feedback (0) |

SubSonic 2.2 Multiple Deletes

 

I was looking for a way to delete many objects (selected in a GridView) in one query instead of iterating each ActiveRecord and executing the .Destroy(). I tried the following but it didn’t work

myActiveRecordCollection().BatchDelete()

I used this instead

Dim items As New ArrayList() 
 
For Each Item Selected in the GridView 
 
    items.Add(the id of the record I want to delete)
 
Next
 
Dim query As New SubSonic.Query(Table.Schema) 
query.QueryType = SubSonic.QueryType.Delete 
query.IN("ColumnName", list) 
query.Execute()

 

Posted On Friday, April 29, 2011 7:32 AM | Feedback (0) |

Powered by: