Click here to Skip to main content
15,891,184 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: showModalDialog Pin
Rahithi28-Jul-07 17:49
Rahithi28-Jul-07 17:49 
GeneralRe: showModalDialog Pin
Paul Conrad28-Jul-07 18:10
professionalPaul Conrad28-Jul-07 18:10 
GeneralRe: showModalDialog Pin
Rahithi28-Jul-07 18:20
Rahithi28-Jul-07 18:20 
GeneralRe: showModalDialog Pin
Paul Conrad28-Jul-07 18:30
professionalPaul Conrad28-Jul-07 18:30 
GeneralRe: showModalDialog Pin
Rahithi28-Jul-07 18:53
Rahithi28-Jul-07 18:53 
GeneralRe: showModalDialog Pin
Jeff Bowman28-Jul-07 21:25
professionalJeff Bowman28-Jul-07 21:25 
QuestionVB.Net 2003 DataGrid Cell Selection Pin
ford8628-Jul-07 10:57
ford8628-Jul-07 10:57 
AnswerRe: VB.Net 2003 DataGrid Cell Selection Pin
Rahithi28-Jul-07 17:42
Rahithi28-Jul-07 17:42 
Hi,


look at this code, i am checking the cell value when i am binding the data ....and if it is empty, then i am displaying it as '0'

hope this will give you some idea resolve your problem!!


Private Sub YourDataGridName_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles YourDataGridName.ItemDataBound
If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
If e.Item.Cells(0).text="" then e.Item.Cells(0).text=0
End if
end sub



Thanks,
Rahi

If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "

QuestionCombobox Problems Pin
ryan11728-Jul-07 10:53
ryan11728-Jul-07 10:53 
AnswerRe: Combobox Problems Pin
Luc Pattyn28-Jul-07 11:51
sitebuilderLuc Pattyn28-Jul-07 11:51 
AnswerRe: Combobox Problems Pin
The ANZAC28-Jul-07 12:31
The ANZAC28-Jul-07 12:31 
QuestionValidation Pin
ryan11728-Jul-07 10:33
ryan11728-Jul-07 10:33 
AnswerRe: Validation Pin
Paul Conrad28-Jul-07 10:50
professionalPaul Conrad28-Jul-07 10:50 
AnswerRe: Validation Pin
Luc Pattyn28-Jul-07 11:55
sitebuilderLuc Pattyn28-Jul-07 11:55 
GeneralRe: Validation Pin
Paul Conrad28-Jul-07 12:37
professionalPaul Conrad28-Jul-07 12:37 
GeneralRe: Validation Pin
Luc Pattyn28-Jul-07 13:49
sitebuilderLuc Pattyn28-Jul-07 13:49 
GeneralRe: Validation Pin
Paul Conrad28-Jul-07 13:59
professionalPaul Conrad28-Jul-07 13:59 
GeneralRe: Validation Pin
Luc Pattyn28-Jul-07 14:58
sitebuilderLuc Pattyn28-Jul-07 14:58 
GeneralRe: Validation Pin
Paul Conrad28-Jul-07 15:03
professionalPaul Conrad28-Jul-07 15:03 
AnswerRe: Validation Pin
The ANZAC28-Jul-07 12:20
The ANZAC28-Jul-07 12:20 
AnswerRe: Messagebox Pin
Dave Kreskowiak28-Jul-07 8:45
mveDave Kreskowiak28-Jul-07 8:45 
GeneralRe: Messagebox Pin
Paul Conrad28-Jul-07 18:48
professionalPaul Conrad28-Jul-07 18:48 
GeneralRe: Messagebox Pin
Dave Kreskowiak29-Jul-07 3:06
mveDave Kreskowiak29-Jul-07 3:06 
GeneralRe: Messagebox Pin
Paul Conrad29-Jul-07 3:14
professionalPaul Conrad29-Jul-07 3:14 
QuestionSimple Date Pin
ryan11728-Jul-07 7:34
ryan11728-Jul-07 7:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.