What I am wanting to to:
I have a web application, and in this application I want to allow the users choose what database queries are going to be run against. What I'd planned to do was use a <input type="file" id="filename" runat="server"><br><asp:button id="btnUpload" runat="server" Text="Upload" onClick="runQuery">. For testing purposes the runQuery fn is just setting the text value of a label to filename.value.tostring().
Problem:
This works fine for files that are approx 4mb and lower but doesnt work for files bigger than this. I think that it's trying to upload the whole file, when all i need is the file name.
Is there another way around this?
Cheers,
foz
I have a web application, and in this application I want to allow the users choose what database queries are going to be run against. What I'd planned to do was use a <input type="file" id="filename" runat="server"><br><asp:button id="btnUpload" runat="server" Text="Upload" onClick="runQuery">. For testing purposes the runQuery fn is just setting the text value of a label to filename.value.tostring().
Problem:
This works fine for files that are approx 4mb and lower but doesnt work for files bigger than this. I think that it's trying to upload the whole file, when all i need is the file name.
Is there another way around this?
Cheers,
foz