justputitdown
Member
- Joined
- Aug 6, 2006
- Messages
- 7
- Programming Experience
- Beginner
i have the following code:
where filesData is a dataset and dgdMyFiles is a datagrid. In the xml file there is a a record in which the fileid tag contains 00000000. I dont want this to show up in the datagrid but when i use the above code the datagrid still displays the record whose fileid = 00000000
Any ideas?http://www.vbdotnetforums.com/
VB.NET:
[LEFT]filesData.ReadXml(Server.MapPath("users/" & m_User.ID.ToString) & "/myfiles.xml")
filesData.Tables("file").DefaultView.RowFilter = "fileid <> '00000000'"
dgdMyFiles.DataSource = filesData
dgdMyFiles.DataBind()[/LEFT]
where filesData is a dataset and dgdMyFiles is a datagrid. In the xml file there is a a record in which the fileid tag contains 00000000. I dont want this to show up in the datagrid but when i use the above code the datagrid still displays the record whose fileid = 00000000
Any ideas?