By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,152 Members | 2,039 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,152 IT Pros & Developers. It's quick & easy.

Empty gridview cells and checking for empty string

P: n/a
In a RowDataBound event, I want to check if a column is empty (it's a simple
column, not a template with a label in it). I use the following syntax to get
the value from the cell:

s = e.row.cells(1).text

but s returns " " so I can't use String.IsNullOrEmpty(s) function, because
it's not empty.

What can I do?

TIA
Iordanis
Sep 5 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
The post displayed the value returned from the cell as " ", while it is
actually & n b s p; when I see it when debugging.
Sep 5 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.