Hello,
I need to use a relative URL path instead of the system path inside the
<wmx:> tag in the following code:
<wmx:AccessData SourceControl id="AccessDataS ourceControl1" runat="server"
SelectCommand=" SELECT * FROM [ContactInfo]"
ConnectionStrin g="Provider=Mic rosoft.Jet.OLED B.4.0; Ole DB Services=-4; Data
Source=D:/nrcweb2/db/contact.mdb"></wmx:AccessDataS ourceControl>
I have tried to do it this way,
<wmx:AccessData SourceControl id="AccessDataS ourceControl1" runat="server"
SelectCommand=" SELECT * FROM [ContactInfo]"
ConnectionStrin g="Provider=Mic rosoft.Jet.OLED B.4.0; Ole DB Services=-4; Data
Source=" &
Server.MapPath(/nrcweb2/db/contact.mdb")></wmx:AccessDataS ourceControl>
But I always get a parser error. It seems that functions cannot be evaluated
within the tag.
Please help me
Thank you
Mostafa
I need to use a relative URL path instead of the system path inside the
<wmx:> tag in the following code:
<wmx:AccessData SourceControl id="AccessDataS ourceControl1" runat="server"
SelectCommand=" SELECT * FROM [ContactInfo]"
ConnectionStrin g="Provider=Mic rosoft.Jet.OLED B.4.0; Ole DB Services=-4; Data
Source=D:/nrcweb2/db/contact.mdb"></wmx:AccessDataS ourceControl>
I have tried to do it this way,
<wmx:AccessData SourceControl id="AccessDataS ourceControl1" runat="server"
SelectCommand=" SELECT * FROM [ContactInfo]"
ConnectionStrin g="Provider=Mic rosoft.Jet.OLED B.4.0; Ole DB Services=-4; Data
Source=" &
Server.MapPath(/nrcweb2/db/contact.mdb")></wmx:AccessDataS ourceControl>
But I always get a parser error. It seems that functions cannot be evaluated
within the tag.
Please help me
Thank you
Mostafa
Comment