Click here to Skip to main content
15,912,578 members
Home / Discussions / C#
   

C#

 
AnswerRe: getting table schema info in ADO .NET? Pin
Luis Alonso Ramos13-Jun-05 14:20
Luis Alonso Ramos13-Jun-05 14:20 
QuestionIs there a spawnlp function in c#? Pin
adonisv13-Jun-05 10:26
adonisv13-Jun-05 10:26 
AnswerRe: Is there a spawnlp function in c#? Pin
DavidNohejl13-Jun-05 10:59
DavidNohejl13-Jun-05 10:59 
GeneralRe: Is there a spawnlp function in c#? Pin
adonisv13-Jun-05 11:16
adonisv13-Jun-05 11:16 
GeneralRe: Is there a spawnlp function in c#? Pin
havyck14-Jun-05 9:00
havyck14-Jun-05 9:00 
GeneralOverride Items property in a list view Pin
Bikuni13-Jun-05 10:12
Bikuni13-Jun-05 10:12 
GeneralRe: Override Items property in a list view Pin
Daniel Monzert13-Jun-05 20:52
Daniel Monzert13-Jun-05 20:52 
GeneralRe: Override Items property in a list view Pin
Bikuni14-Jun-05 18:55
Bikuni14-Jun-05 18:55 
Zarrab,


Sorry for not being more clear on how I went about the Listview control. I did create a new Listview class and it does inherit the properties of the .net listview class. This is why I want to override the listview's items collection with my own. I tried creating a new property called ItemsExtra and a custom ListViewItemExtraCollection to store the ListViewItemsExtra class objects. using the get{} accessor I am able to add ListViewItemsExtra to the collection fine, but the IDE doesnt automatically create the code
below that it does for a normal listview item.

listViewExtra.addrange( new ListViewItemsExtra.ListViewItemsExtraCollection{
this.listViewItemExtra1, this.listViewItemExtra2, this.listViewItemExtra3, etc } )

If I could override the Items property and have it add my custom ItemsExtra object or override the Add() method on the ListViewItemCollection class I may be able to successfully get the ItemExtras in the listview without haveing to redraw them with code. It also works to change the code for a normal listview item to my ItemsExtra object, but that isn't clean like I would like. I want to be able to re-use the control whenever I need it, with the ease of other controls and not have to jerry rig code.

Do you have any suggestions?



Lamont Bullock
GeneralUsing Excel in C# and ASP.NET Pin
dgap13-Jun-05 10:08
dgap13-Jun-05 10:08 
GeneralRe: Using Excel in C# and ASP.NET Pin
Dave Kreskowiak13-Jun-05 10:35
mveDave Kreskowiak13-Jun-05 10:35 
GeneralRe: Using Excel in C# and ASP.NET Pin
dgap14-Jun-05 7:27
dgap14-Jun-05 7:27 
General'BEL' sound Pin
Dan Neely13-Jun-05 8:31
Dan Neely13-Jun-05 8:31 
GeneralRe: 'BEL' sound Pin
Andrew Kirillov13-Jun-05 8:36
Andrew Kirillov13-Jun-05 8:36 
GeneralRe: 'BEL' sound Pin
Dan Neely13-Jun-05 9:01
Dan Neely13-Jun-05 9:01 
GeneralRe: 'BEL' sound Pin
Andrew Kirillov13-Jun-05 9:17
Andrew Kirillov13-Jun-05 9:17 
GeneralRe: 'BEL' sound Pin
Dan Neely13-Jun-05 7:44
Dan Neely13-Jun-05 7:44 
GeneralRe: 'BEL' sound Pin
Andrew Kirillov13-Jun-05 10:50
Andrew Kirillov13-Jun-05 10:50 
GeneralRe: 'BEL' sound Pin
Dan Neely13-Jun-05 8:01
Dan Neely13-Jun-05 8:01 
GeneralRe: 'BEL' sound Pin
Andrew Kirillov13-Jun-05 11:06
Andrew Kirillov13-Jun-05 11:06 
GeneralRe: 'BEL' sound Pin
Dan Neely13-Jun-05 11:21
Dan Neely13-Jun-05 11:21 
GeneralRe: 'BEL' sound Pin
Andrew Kirillov13-Jun-05 11:25
Andrew Kirillov13-Jun-05 11:25 
GeneralRe: 'BEL' sound Pin
Dan Neely13-Jun-05 11:35
Dan Neely13-Jun-05 11:35 
GeneralRe: 'BEL' sound Pin
Dominik Reichl13-Jun-05 9:50
Dominik Reichl13-Jun-05 9:50 
GeneralRe: 'BEL' sound Pin
Dan Neely13-Jun-05 7:47
Dan Neely13-Jun-05 7:47 
Generalnetwork problem Pin
snouto13-Jun-05 8:28
snouto13-Jun-05 8:28 

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.