Doğru Cevap
-
web.config dosyana
<httpRuntime maxRequestLength="256000"/>
satırını eklersen sorun çözülebilir. Sayı KB cinsinden dosya boyutunu belirtir.
<tr> <td> Dosya Ekleyin : </td> <td> <div class="content"> <asp:FileUpload ID="FUDokuman" runat="server" Width="220px" /> </div> </td> </tr> <tr> <td> Dosya Yolu : </td> <td> <asp:Label ID="lblDosyaYolu" runat="server"></asp:Label> </td> </tr> <tr> <td> Dosya URL : </td> <td> <asp:Label ID="lblDosyaURL" runat="server"></asp:Label> </td> </tr> <tr> <td align="center" colspan="2"> <asp:Button ID="btnDokumanDosyalarKayit" CssClass="button" runat="server" Text="Dosyayı Kaydet" OnClick="btnDokumanDosyalarKayit_Click" /> </td> </tr>