|
below work in vs 2003, but not work in vs2010.
what the difference?
and what should i do if i want to run below code in vs2010?
1. behind code
Dim commonScript As String
commonScript = "SelectItem({0},{1},{2},{3},{4},{5},{6})"
objRadio.Attributes.Add("onclick", String.Format(commonScript, SQLReader.GetString(0), SQLReader.GetString(1), SQLReader.GetString(3), IIf(SQLReader.GetString(5).Equals("0"), "", SQLReader.GetString(5)), IIf(SQLReader.GetString(6).Equals("0"), "", SQLReader.GetString(6)), SQLReader.GetString(7), SQLReader.GetString(8)))
2.
<input id="_ctl0" type="radio" name="A" value="_ctl0" onclick="VBScript:SelectItem "JMX0579","visual2005","visual2006","visual2007","visual2008","visual2009","visual2010";" />
3.
Sub SelectItem(sItem1, sItem2, sItem3, sItem4, sItemGov, sItemNm, edu_ck)
.
.
.
.
end sub
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|