acdagirl
asked on
need onrowdatabound/ondatabound string parsing
i have a detailsview where I need a row modified ondatabound or on rowdatabound to remove the redundant names:
this is what it appears like on the screen:
employee names: bob_smith
bob_smith
karen_jones
the employee_names field from the database comes in as a string with <br> tags in it:
bob_smith<br>bob_smith<br> karen_jone s
I want to only have one instance of bob_smith. The data is quite complex so I'd rather attempt this on the detailsview inbound rather than play with the sql...
this is what it appears like on the screen:
employee names: bob_smith
bob_smith
karen_jones
the employee_names field from the database comes in as a string with <br> tags in it:
bob_smith<br>bob_smith<br>
I want to only have one instance of bob_smith. The data is quite complex so I'd rather attempt this on the detailsview inbound rather than play with the sql...
ASKER
sure, I guess so... how though? I'm more familiar with the rowdatabound... (p.s. I'm using .net 2.0)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Can't you use OnItemCreated event ?
Regards,
mmarinov