Solved

C# check record set for null values

Posted on 2013-01-10
1
558 Views
Last Modified: 2013-01-11
I have a form in ASP.Net (C# code behind, SQL Server 2005 database) that users use to enter data. Once done, they click a button to submit it to the next department. In this instance, when they click submit I would like to check and make sure that certain fields in a details forms are filled out. The details forms can have 1 or more records. Each of those records has required fields. When the submit button is clicked, I think I need to run a sql command to check the recordset fields for null values. If a field is null, the form does not get submitted and a message pops for the user notifying them. I also think it will take a for each loop to look through each record. Is there an example of this somewhere, or am I even on the right track? Thanks.
0
Comment
Question by:dodgerfan
1 Comment
 
LVL 19

Accepted Solution

by:
Daniel Van Der Werken earned 500 total points
ID: 38764557
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video discusses moving either the default database or any database to a new volume.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now