I am trying to upload two files here with sm data on dropdownlist ..
i have this code working on my friends pc but wen i am running the same on mine the first piece of if statement is running
but the second one is throwing an exception and not saving the stuff in databse
i have no errors in the code watsoever and its running on my friends pc not mine..do u think der can be something wrong with visual studio
FOLLOWING IS THE PIECE OF CODE BEHIND IN WHICH FIRST IF STATEMENT IS WORKING BUT SECOND IS THROWING EXCEPTION.....
protected void Button1_Click(object sender, EventArgs e)
{
string emailid = Membership.GetUser().Email;
string userid = Membership.GetUser().UserName;
string Prefix = "";
try
{
if (fuTest.PostedFile.ContentLength != 0)
{
...
Go to the complete details ...