MsAccessDataBase
------------------------------------------------------------------------------
<asp:accessdatasource id="adsgv" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString4 %>" SelectCommand="SELECT * FROM [filter]" FilterExpression="[City] like '{0}%' and [Country] like '{1}%'" Providername="<%$ ConnectionStrings:ConnectionString4.ProviderName %>">
</asp:accessdatasource>
In this tag we have ( ConnectionString and ProviderName ) is available but these 2 are not working in program and how we give the connection string and provider name to it.............
-------------------------------------------------------------------------------
---------------------------------------------------------------------------------
SqlDataBase
-------------------------------------------------------------------------------
<asp:sqldatasource id="sqlDataSourceGridView" mode="hold" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString4 %>" SelectCommand="SELECT * FROM [filter]" FilterExpression="[City] like '{0}%' and [Country] like '{1}%'" ProviderName="<%$ ConnectionStrings:ConnectionString4.ProviderName %>">
</asp:sqldatasource>
....... in this tag ConnectionString And ProviderName will working properly............
------------------------------------------------------------------------------
how i can resolve the problem...... :COOL:...