Trim a string! ASP.NET C#

  CutNpaste 10:21 25 Apr 07

Need help!!
I connetected to an access database using dreamweaver and created a dataset and can display data using the dataset.

i want to trim a dynamic text to a certain amount of characters such as:

%# DataSet1.FieldValue("ServiceName", Container) %>
to about 20 characters.

how do i set a variable to the feild value above and then trim it.

i tried a couple of things like:

string str= DataSet1.FieldValue("ServiceName", Container);

but i get an error saying the "Container" doesnt exist.

please help!!!!

This thread is now locked and can not be replied to.

Nintendo Switch review: Hands-on with the intuitive modular console and its disappointing games…

1995-2015: How technology has changed the world in 20 years

This abstract video touches on division in our technologic world

Best alternatives to iTunes for Mac | Best music players for macOS: Free your music from the…