newbie question on data in code

Tech-Archive recommends: Fix windows errors by optimizing your registry



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


.



Relevant Pages

  • Re: mail merge to email
    ... do you have any advice on how I could have been more ... MVP FAQ site: http://mvps.org/ ... "Beth Melton" wrote: ... in your datasource, just like their First Name field. ...
    (microsoft.public.word.docmanagement)
  • Re: newbie question on data in code
    ... I need to access some data in my normal code. ... I assume that i need to create a datasource as per this example: ... For data binding you should use the notation ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: combobox add "--select" after populated by datasource
    ... if you add to the datasource (I'm assuming a DataTable object?) before ... I can not add a new items to combobox after the datasource was loaded. ... Please advice. ...
    (microsoft.public.dotnet.languages.vb)
  • RE: combobox add "--select--" after loaded datasource
    ... I can not add a new items to combobox after the datasource was loaded. ... not allow in window application in combobox. ... Please advice. ...
    (microsoft.public.vb.controls)