M
Mostafa
Hello,
I need to use a relative URL path instead of the system path inside the
<wmx:> tag in the following code:
<wmx:AccessDataSourceControl id="AccessDataSourceControl1" runat="server"
SelectCommand="SELECT * FROM [ContactInfo]"
ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data
Source=D:/nrcweb2/db/contact.mdb"></wmx:AccessDataSourceControl>
I have tried to do it this way,
<wmx:AccessDataSourceControl id="AccessDataSourceControl1" runat="server"
SelectCommand="SELECT * FROM [ContactInfo]"
ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data
Source=" &
Server.MapPath(/nrcweb2/db/contact.mdb")></wmx:AccessDataSourceControl>
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:AccessDataSourceControl id="AccessDataSourceControl1" runat="server"
SelectCommand="SELECT * FROM [ContactInfo]"
ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data
Source=D:/nrcweb2/db/contact.mdb"></wmx:AccessDataSourceControl>
I have tried to do it this way,
<wmx:AccessDataSourceControl id="AccessDataSourceControl1" runat="server"
SelectCommand="SELECT * FROM [ContactInfo]"
ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data
Source=" &
Server.MapPath(/nrcweb2/db/contact.mdb")></wmx:AccessDataSourceControl>
But I always get a parser error. It seems that functions cannot be evaluated
within the tag.
Please help me
Thank you
Mostafa