Bhushan Posted March 1, 2006 Share Posted March 1, 2006 Hi,I have a datagrid populated with 3 rows and 3 columns. for the thirs column the text is big ( nearly 50 rows). I want to display only 10 rows in this cell. How can i do that?. Please let me know.Thnx,Bhushan. Link to comment Share on other sites More sharing options...
aspnetguy Posted March 1, 2006 Share Posted March 1, 2006 Hi,I have a datagrid populated with 3 rows and 3 columns. for the thirs column the text is big ( nearly 50 rows). I want to display only 10 rows in this cell. How can i do that?. Please let me know.Thnx,Bhushan.<{POST_SNAPBACK}> Is it 50 lines or 50 rows???You said you have a datagrid with 3 columns and 3 rows, how can the 3rd column then have 50 rows???Please post the code you use to populate the datagrid (both .aspx and codebehind(.aspx.cs))if you ment 50 lines of text in the 3rd column you can use the Substring() function to take only a certain number of characters and cut the rest off. Link to comment Share on other sites More sharing options...
Bhushan Posted March 2, 2006 Author Share Posted March 2, 2006 This problem is resolved now. I made use of substring.thnx. Link to comment Share on other sites More sharing options...
aspnetguy Posted March 2, 2006 Share Posted March 2, 2006 This problem is resolved now. I made use of substring.thnx.<{POST_SNAPBACK}> good to hear. I guess it was 50 lines of text, huh? Link to comment Share on other sites More sharing options...
Bhushan Posted March 3, 2006 Author Share Posted March 3, 2006 ya justin.....I made mistake in mentioning the problem :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now