Miscellaneous .NET tips, code, comments, and what-not.

Monday, March 14, 2005

RDF to ASP.NET Control: Step 4

Now to bind the returned DataView to your DataList (goes in your aspx page codebehind):



public void getMyDelLinks(string urlString,
string transformFile)
{
DataView dv = RDFToDataView(urlString, transformFile);

try
{
myDelLinksDG.DataSource = dv;
myDelLinksDG.DataBind();
}
catch (Exception goner)
{
Response.Write(goner.ToString());
}
}

0 Comments:

Post a Comment

<< Home