C
c676228
Hi all,
This is the code I am looking at:
protected void btnExportData_OnClick(object sender, EventArgs e)
{
string s = txtExportDate.Text;
DateTime d;
if (DateTime.TryParse(s, out d))
{
RunExport(d);
}
else
{
msgView.ShowError("Please enter a valid date.");
}
}
private void RunExport(DateTime d)
{
Export.Generate((DateTime?)d, null);
msgView.ShowMessage("The export is running. Please check the ftp
site.");
}
I try to find out what RunExport rountine would do(the code was delivered by
our vendor and runexport method just export database data for a specific date
entered by an user) . So in the following code, I expect this function call
Export.Generate((DateTime?)d, null);
will tell me how the data is extracted from our system.
But when I move my mouse over this method and select "go to the definition",
I only get the following:
using System;
using System.Data;
namespace TBN.Export
{
public static class Export
{
public static DataSet BenefitOptions { get; set; }
public static int? PlanID { get; set; }
public static string PlanName { get; set; }
public static DateTime? ReportDate { get; set; }
public static DataSet UserInputs { get; set; }
public static void Generate(DateTime? useThisDate, int?
useThisPlanID);
}
}
So I don't see anything what Export.Generate would do. Can you tell where
and How I can find out what it will do. I am new to both C# and .NET.
Thanks,
This is the code I am looking at:
protected void btnExportData_OnClick(object sender, EventArgs e)
{
string s = txtExportDate.Text;
DateTime d;
if (DateTime.TryParse(s, out d))
{
RunExport(d);
}
else
{
msgView.ShowError("Please enter a valid date.");
}
}
private void RunExport(DateTime d)
{
Export.Generate((DateTime?)d, null);
msgView.ShowMessage("The export is running. Please check the ftp
site.");
}
I try to find out what RunExport rountine would do(the code was delivered by
our vendor and runexport method just export database data for a specific date
entered by an user) . So in the following code, I expect this function call
Export.Generate((DateTime?)d, null);
will tell me how the data is extracted from our system.
But when I move my mouse over this method and select "go to the definition",
I only get the following:
using System;
using System.Data;
namespace TBN.Export
{
public static class Export
{
public static DataSet BenefitOptions { get; set; }
public static int? PlanID { get; set; }
public static string PlanName { get; set; }
public static DateTime? ReportDate { get; set; }
public static DataSet UserInputs { get; set; }
public static void Generate(DateTime? useThisDate, int?
useThisPlanID);
}
}
So I don't see anything what Export.Generate would do. Can you tell where
and How I can find out what it will do. I am new to both C# and .NET.
Thanks,