Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
null from Server
Dinesh Santhalingam
7y
211
1
Reply
From my server i stired the server values to datatable for temporary operation.If incase my column has null in my server then its populating an error .
String contactNo = (from DataRow dr1 in employeedetail.Rows where (string)dr1[
"EmployeeID"
] == userid select (string)dr1[
"ContactNo"
]).FirstOrDefault();
if the column value is null then the error is arising.I dont want to populate error.If value is not null then it will append to my string or else the value will be null.please help me to solve this.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Time change format in C#
Round robin code for c# .NET