G
Guest
I have a HyperLink Column , View, in DataGrid, which link to URL Field,
called URLQuery.
In codebehind, I have
dsResource.Tables("Resource4Spec").Columns.Add("URLQuery",
Type.GetType("System.String"), "MethodName + '?pkey=' + PatientKey + '&prot='
+ Protocol + '&ip=' + IPaddress + '&path=' + DirPath + '&file=' + FileName +
'&rscID=' + ResourceID")
where MethodName, PatientKey, IPaddress, DirPath, FileName, and ResourceID
are column names of a database table.
The problem is that when FileName field in a row is NULL (Nothing), the View
field is not highlighted (i.e., not enabled) and URLQuery field is empty too
in that row.
In this case, how can I do such that the URLQuery field can have other
key/name pairs but not file/FileName?
Thank you
David
called URLQuery.
In codebehind, I have
dsResource.Tables("Resource4Spec").Columns.Add("URLQuery",
Type.GetType("System.String"), "MethodName + '?pkey=' + PatientKey + '&prot='
+ Protocol + '&ip=' + IPaddress + '&path=' + DirPath + '&file=' + FileName +
'&rscID=' + ResourceID")
where MethodName, PatientKey, IPaddress, DirPath, FileName, and ResourceID
are column names of a database table.
The problem is that when FileName field in a row is NULL (Nothing), the View
field is not highlighted (i.e., not enabled) and URLQuery field is empty too
in that row.
In this case, how can I do such that the URLQuery field can have other
key/name pairs but not file/FileName?
Thank you
David