Click here to Skip to main content
15,889,867 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: What does the using System; line do ? Pin
S@53K^S9-May-12 4:22
S@53K^S9-May-12 4:22 
GeneralRe: What does the using System; line do ? Pin
Richard MacCutchan9-May-12 4:28
mveRichard MacCutchan9-May-12 4:28 
GeneralRe: What does the using System; line do ? Pin
S@53K^S9-May-12 4:26
S@53K^S9-May-12 4:26 
AnswerRe: What does the using System; line do ? Pin
Ron Beyer24-May-12 17:50
professionalRon Beyer24-May-12 17:50 
QuestionHello Everybody Pin
Member 878997430-Apr-12 11:20
Member 878997430-Apr-12 11:20 
AnswerRe: Hello Everybody Pin
Wes Aday30-Apr-12 11:39
professionalWes Aday30-Apr-12 11:39 
AnswerRe: Hello Everybody Pin
Dave Kreskowiak30-Apr-12 13:20
mveDave Kreskowiak30-Apr-12 13:20 
Questionhow to find creation time of file that is taken using fileupload contro? Pin
karan 201229-Apr-12 19:19
karan 201229-Apr-12 19:19 
C#
<asp:FileUpload ID="FileUpload1" runat="server" />
  <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
 
 // this is a aspx.cs file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
 
public partial class we : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
 
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        
       DateTime creationTime = File.GetCreationTime(FileUpload1.FileName);
        
        Label1.Text =creationTime.ToString() ; 
    }
}
//I tried this ..but I got the output 01-01-1601 //05:30:00 for all files. So what should I do?

shah k .j

AnswerRe: how to find creation time of file that is taken using fileupload contro? Pin
Alan N29-Apr-12 22:27
Alan N29-Apr-12 22:27 
QuestionStoring Large Object Array to File Pin
KenEldridge26-Apr-12 14:31
KenEldridge26-Apr-12 14:31 
AnswerRe: Storing Large Object Array to File Pin
Pete O'Hanlon26-Apr-12 20:06
mvePete O'Hanlon26-Apr-12 20:06 
QuestionRe: Storing Large Object Array to File Pin
KenEldridge27-Apr-12 6:56
KenEldridge27-Apr-12 6:56 
QuestionHow can i pass List<> to Oracle SP. Pin
sakthi250625-Apr-12 0:13
sakthi250625-Apr-12 0:13 
AnswerRe: How can i pass List to Oracle SP. Pin
Pete O'Hanlon25-Apr-12 0:34
mvePete O'Hanlon25-Apr-12 0:34 
AnswerRe: How can i pass List to Oracle SP. Pin
Eddy Vluggen25-Apr-12 5:09
professionalEddy Vluggen25-Apr-12 5:09 
GeneralRe: How can i pass List to Oracle SP. Pin
sakthi250626-Apr-12 2:00
sakthi250626-Apr-12 2:00 
QuestionHow can i pass List<> as a parameter to oracle SP Pin
sakthi250624-Apr-12 2:41
sakthi250624-Apr-12 2:41 
AnswerRe: How can i pass List as a parameter to oracle SP Pin
Eddy Vluggen24-Apr-12 5:32
professionalEddy Vluggen24-Apr-12 5:32 
QuestionHow can i pass List<> as a parameter to oracle SP Pin
sakthi250624-Apr-12 2:40
sakthi250624-Apr-12 2:40 
QuestionWhich is the Best ORM tool for .NET? Pin
Yordan-Petrov22-Apr-12 22:28
Yordan-Petrov22-Apr-12 22:28 
AnswerRe: Which is the Best ORM tool for .NET? Pin
Reza Ahmadi23-Apr-12 0:04
Reza Ahmadi23-Apr-12 0:04 
AnswerRe: Which is the Best ORM tool for .NET? Pin
Pascal Ganaye23-Apr-12 3:43
Pascal Ganaye23-Apr-12 3:43 
QuestionDataGrid to ReportViewer Pin
fatibou21-Apr-12 21:39
fatibou21-Apr-12 21:39 
AnswerRe: DataGrid to ReportViewer Pin
Reza Ahmadi23-Apr-12 0:05
Reza Ahmadi23-Apr-12 0:05 
QuestionHow to open Activex Object from .aspx page? Pin
dhanusahu20-Apr-12 4:52
dhanusahu20-Apr-12 4:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.