Pass parameter from vb code to SQLDataSource Select Command
My problem is to declare a parameterKey in vb code..what should i declare thisKey? Please help me..
Here is the relevant parts of my SQLDataSource generated HTML:
<asp

qlDataSource ID="SqlDataKeyword" runat="server" ConflictDetection="CompareAllValues" ConnectionString="<%$ ConnectionStrings

occerConnectionString %>"
SelectCommand="SELECT keyid, contestName FROM tblKeyword WHERE (keyid <> @
Key) ">
<SelectParameters>
<asp:QueryStringParameter DefaultValue="" Name="
Key" QueryStringField="
Key" />
</SelectParameters>
[1006 byte] By [
Nur86] at [2008-1-9]
Move the thread from Visual Basic Language. Please post the web development questions in http://forums.asp.net that is supported by Microsoft for the web developers. There are more exports on ASP.NET development, I believe you can get satisfying answers in ASP.NET forums.
Thanks again for your question.