Hi
I have two btn s one is insert btn another one is fileupload btn.In the fileupload btn i creat a code in blow.I can upload the file suecessfully .i need to insert a file in sql by using insert btn.for that i can creat a insert query every thiong but i can not acess the string filename value in the insert btn. so how to i get the string value for insert btn.i mentioned the insert query also.
protected void UploadButton_Click(object sender, EventArgs e)
{
string filePath = FileUploadControl.PostedFile.FileName;
string filename = Path.GetFileName(filePath);
string ext = Path.GetExtension(filename);
string contenttype = String.Empty;
switch (ext)
Go to the complete details ...