Code to test Databinder

Posted on 2013-01-28
Medium Priority
Last Modified: 2013-02-08

what code should I add to test if the Dataitem is ""? If it is blank, ignore it.
Question by:zachvaldez
  • 2
LVL 96

Expert Comment

by:Bob Learned
ID: 38830701
First, what do you mean by "ignore it"?  Second, you could use the string.IsNullOrEmpty function.

Author Comment

ID: 38830983
Sorry,leave it blank.
LVL 96

Expert Comment

by:Bob Learned
ID: 38831083
An empty string would naturally be blank, so I thought you were looking for something more elaborate.
LVL 23

Accepted Solution

Roopesh Reddy earned 940 total points
ID: 38844291

Check the solution in this ASP.NET thread - http://forums.asp.net/t/1755135.aspx/1

Hope it helps u...

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question