newbie question on data in code
- From: "Neil" <neil@xxxxxxxxxxxxxxx>
- Date: Fri, 23 Feb 2007 08:50:43 -0000
Hi,
I need to access some data in my normal code.
I assume that i need to create a datasource as per this example:
<asp:sqldatasource id="SqlDataSource3" runat="server" connectionstring="<%$
ConnectionStrings:interarcConnectionString %>"
selectcommand="SELECT [ID], [CategoryID] FROM [vtg_tblRangeList]
WHERE ([ID] = @ID)"><SelectParameters>
<asp:QueryStringParameter Type="Int32" Name="ID"
QueryStringField="RID"></asp:QueryStringParameter>
but how do I then access the data as in
<%
iCID = CategoryID
%>
Many thanks for any advice.
NEIL
.
- Follow-Ups:
- Re: newbie question on data in code
- From: Alexey Smirnov
- Re: newbie question on data in code
- Prev by Date: Re: newbie question on tests and styles
- Next by Date: Re: Automating an upload of data
- Previous by thread: Re: newbie question on tests and styles
- Next by thread: Re: newbie question on data in code
- Index(es):
Relevant Pages
|