•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 456,601 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,481 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 948 | Replies: 1
![]() |
•
•
Join Date: Sep 2007
Posts: 23
Reputation:
Rep Power: 2
Solved Threads: 0
Hi!
I am inserting text in a table which contains date field.
In some of the entered records, the date field is to be left blank.
By default, it enters something like "1/1/1900".
Now I wish to display data from this table into a datagrid.
For the records in which the default date specified above is entered, I wish to display the character "#".
Is this possible?
If yes, then how?
Thanks,
I am inserting text in a table which contains date field.
In some of the entered records, the date field is to be left blank.
By default, it enters something like "1/1/1900".
Now I wish to display data from this table into a datagrid.
For the records in which the default date specified above is entered, I wish to display the character "#".
Is this possible?
If yes, then how?
Thanks,
yes it is possible
num = Me.DataSet11.Your_Table_name.Count
For i = 0 To num - 1
If Me.DataSet11.Your_Table_name(i).Item("date")="1/1/1900" then
Me.DataGrid1.Item(i, Column_index) = "#"
End If
Next Last edited by manal : Sep 7th, 2007 at 12:11 pm. Reason: to correct the code :)
"give only what u willing to receive "
![]() |
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
.net .net framework 3.0 access asp breach broadband code combo crime custom daniweb data data protection data transfer database drive dropdownlist forensics government hard hardware hitachi internet linux microsoft module net news reuse security skin storage terabyte theme web wikipedia windows workflow
- reading a date field out to a jTable component (Java)
- How can I generate report from data grid?? (VB.NET)
- data grid.... very urgent...... (C#)
- Help with data grid please (VB.NET)
- How to store data in data grid to database by single mouse click in Asp.net (ASP.NET)
- Data Grid in Win32 C (C++)
- Data Grid: How to include Hyperlinks (ASP.NET)
- refresh datagrid causes error if oper scrolled off right side of grid (VB.NET)
Other Threads in the VB.NET Forum
- Previous Thread: Drill Down
- Next Thread: sql 2000 + xml file


Linear Mode