How to check null values in dataset ?
Answers were Sorted based on User's Feedback
Answer / jon
if(ds.Tables[0].Rows[0].IsNull(columnName)==true)
{
Response.write("Contains null value")
}
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / divya
if (IsDBNull(ds.Tables(0).rows(0).Item("fldname")) then
Response.write("Contains null value")
end if
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / sharad praskash singhania
If IsDBNull(ds) Then
Response.write("Null Value")
End If
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / jha
if(dataSet.Tables[0].Rows[0].IsNull("ColumnName"))
{
<code>
}
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / guest
Dataset.TableName[RowNumber].IsCOLUMNNAMENull
response.PayAnyonePaymentDetails[0].IsQueueNumberNull()
Is This Answer Correct ? | 3 Yes | 6 No |
When working with ASP.Net server controls, it is important to use the right event handlers to capture the event for the application to function properly. What event would you use to capture the selection of a new item in a DropDownList control? a) The Click event. b) The SelectionChanged event. c) The SelectionIndexChanged event. d) The ChangedSelection event.
What would be the salary of an Asp.net developer with 1 and half year experience in indian rupees..??
A Web Service Can Only Be Written In .net. Is it True??
I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?
What is the use of HttpHandlers? When to use this?
What is directive in asp net?
How do you use a custom validator? When might you want to use one?
accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) { TextBox t2 = new TextBox(); t2.ID = "adf" + i; PlaceHolder1.Controls.Add(t2); } accessing data entered in the above created controls.
Explain login control and form authentication.
can we edit records from repeater control
Explain page output caching?
Define data caching?