Im sure this is real easy... Please forgive my limited .Net abilities...

The script below genereates the correct value I need... I just want ot place the value obtained by dblTotal into a flash param... the param below is what I imagine it would look like.

<script Language="c#" runat="server">
void Page_Load() {
	 
	DateTime date1 = DateTime.Parse("01/20/2010");
	DateTime date2 = DateTime.Now;
	TimeSpan tsDiff = date2.Subtract(date1);
	
	string strChapter = "2666";
	string diff = tsDiff.Days.ToString();
	double dblChapter = Convert.ToInt32(strChapter);
	double dblTs = Convert.ToInt32(diff);
	double dblTotal = ((dblChapter) * (double)dblTs) + 4800000;
	
	Display1.Text = dblTotal.ToString();
	
}
</script>
<param name="movie" value="counter.swf?$txt=<%= dblTotla %>" />

I appreciate the help.

I used an asp:literal control to add the flash param

Use <Asp:Literal> instead of <param> variables.

Hi

If you want to Insert Value Into Hyperlink . I will give you one syntax it will help you.

sqlinsert = "INSERT INTO Links_Tbl (Link) VALUES ('" & me.txtlink & "');"
db.execute(sqlinsert)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.