newbie question -
12-07-2005
, 06:06 PM
hi,
i'm new to .net. i'm getting this error in my app.
Line 21: NameValueCollection nvc = new NameValueCollection();
Line 22: nvc.Add("@MerchantCouponID", merchantCouponID);
Line 23: context.Response.Redirect(DAL.RetrieveData("sp_Add Click",
nvc).Tables[0].Rows[0]["CreativeUrl"]);
Line 24:
Line 25: }
Source File: g:\CouponsTest\website\Coupons\thank_you.ashx Line: 23
Stack Trace:
IndexOutOfRangeException: There is no row at position 0.
System.Data.DataRowCollection.get_Item(Int32 index) +98
thank_you.ProcessRequest(HttpContext context) in
g:\CouponsTest\website\Coupons\thank_you.ashx:23
the error is in line 23.
i'm not really sure what the problem is? how do i find out the value of
merchantCouponID.
please help
rafael |