Click here to Skip to main content
15,908,776 members
Home / Discussions / C#
   

C#

 
AnswerRe: Begin and End Drawing function in C# Pin
Ed.Poore14-Feb-07 0:30
Ed.Poore14-Feb-07 0:30 
GeneralRe: Begin and End Drawing function in C# Pin
free_soul42414-Feb-07 18:49
free_soul42414-Feb-07 18:49 
GeneralRe: Begin and End Drawing function in C# Pin
Ed.Poore14-Feb-07 23:50
Ed.Poore14-Feb-07 23:50 
QuestionHow to fill Combobox & ListBox in PopUp Windows Forms Pin
rzthebeginner13-Feb-07 23:44
rzthebeginner13-Feb-07 23:44 
AnswerRe: How to fill Combobox & ListBox in PopUp Windows Forms Pin
Ed.Poore14-Feb-07 0:31
Ed.Poore14-Feb-07 0:31 
GeneralRe: How to fill Combobox & ListBox in PopUp Windows Forms Pin
rzthebeginner14-Feb-07 0:41
rzthebeginner14-Feb-07 0:41 
GeneralRe: How to fill Combobox & ListBox in PopUp Windows Forms Pin
Ed.Poore14-Feb-07 0:47
Ed.Poore14-Feb-07 0:47 
GeneralRe: How to fill Combobox & ListBox in PopUp Windows Forms [modified] Pin
rzthebeginner14-Feb-07 0:53
rzthebeginner14-Feb-07 0:53 
private void bindingNavigatorCreateResumeItem_Click(object sender, EventArgs e)
{
int EmployeeId = 0;
DataSet dsEmlpoyee;

dsEmlpoyee=(DataSet)((BindingSource)grdVwEmpOverview.DataSource).DataSource;
if (grdVwEmpOverview.CurrentRow!=null)
{
EmployeeId = BaseObject.GetValue_Int32(grdVwEmpOverview.CurrentRow.Cells["EmployeeId"].Value);
string EmpName = Convert.ToString(grdVwEmpOverview.CurrentRow.Cells["ShortName"].Value);

frmEmployeeResume ofrmEmployeeResume = null;
ofrmEmployeeResume = (frmEmployeeResume)CCommonFunction.ShowChild(frmMain.Me, CConfiguration.ChildForms.EMPLOYEECREATERESUME);
ofrmEmployeeResume.ClearForm();
ofrmEmployeeResume.ShowEmployeeDetails(ref dsEmlpoyee, EmployeeId);
ofrmEmployeeResume.ShowDialog();


}

}
//ShowEmployeeDetails on other form.
public void ShowEmployeeDetails(ref DataSet DsEmployee, int EmployeeId)
{
DataRow[] drRequest = null;
try
{
m_EmpId = 0;
drRequest = DsEmployee.Tables[0].Select("fldEmployeeId=" + EmployeeId);
if (drRequest.Length > 0)
{
m_EmpId = EmployeeId;
txtPersonalno.Text = drRequest[0]["fldEmployeePersonnelNo"].ToString();
txtShortname.Text = drRequest[0]["fldEmployeeShortName"].ToString();

txtFirstname.Text = drRequest[0]["fldEmployeeFirstName"].ToString();

txtSurname.Text = drRequest[0]["fldEmployeeSurname"].ToString();



cmbStatus.SelectedIndex = Convert.ToInt32(drRequest[0]["fldEmployeeStatus"].ToString());
cmbMaritalStatus.SelectedIndex = Convert.ToInt32(drRequest[0]["fldEmployeeMaritalStatus"].ToString());
cmbCitizenship.SelectedValue = Convert.ToInt32(drRequest[0]["fldEmployeeCitizenship"].ToString());
cmbPAddrCountry.SelectedValue = Convert.ToInt32(drRequest[0]["fldEmployeePAddrCountryId"].ToString());


}

}
catch (Exception ex)
{
StaticUtils.LogExceptionAndContinue(ex, "frmEmployeeDetails.ShowRequestDetails()");
}
}
-- modified at 7:04 Wednesday 14th February, 2007

Help Please!!!

GeneralRe: How to fill Combobox & ListBox in PopUp Windows Forms Pin
Ed.Poore14-Feb-07 1:14
Ed.Poore14-Feb-07 1:14 
GeneralRe: How to fill Combobox & ListBox in PopUp Windows Forms Pin
rzthebeginner14-Feb-07 1:20
rzthebeginner14-Feb-07 1:20 
GeneralRe: How to fill Combobox & ListBox in PopUp Windows Forms Pin
Ed.Poore14-Feb-07 2:55
Ed.Poore14-Feb-07 2:55 
GeneralRe: How to fill Combobox & ListBox in PopUp Windows Forms Pin
rzthebeginner14-Feb-07 21:04
rzthebeginner14-Feb-07 21:04 
GeneralRe: How to fill Combobox & ListBox in PopUp Windows Forms Pin
Ed.Poore15-Feb-07 0:20
Ed.Poore15-Feb-07 0:20 
GeneralRe: How to fill Combobox & ListBox in PopUp Windows Forms Pin
rzthebeginner15-Feb-07 1:10
rzthebeginner15-Feb-07 1:10 
Questiondatetime [modified] Pin
debnathrubs13-Feb-07 23:27
debnathrubs13-Feb-07 23:27 
AnswerRe: datetime [modified] Pin
dipswitch@ownage4u.nl13-Feb-07 23:35
professionaldipswitch@ownage4u.nl13-Feb-07 23:35 
AnswerRe: datetime Pin
dipswitch@ownage4u.nl14-Feb-07 0:11
professionaldipswitch@ownage4u.nl14-Feb-07 0:11 
QuestionExporting DataGrid contents to Excel Pin
Imthu13-Feb-07 23:27
Imthu13-Feb-07 23:27 
AnswerRe: Exporting DataGrid contents to Excel Pin
debnathrubs13-Feb-07 23:34
debnathrubs13-Feb-07 23:34 
Questionget ipaddress Pin
Nekshan13-Feb-07 22:53
Nekshan13-Feb-07 22:53 
AnswerRe: get ipaddress Pin
virendra patel13-Feb-07 22:58
virendra patel13-Feb-07 22:58 
GeneralRe: get ipaddress Pin
Nekshan13-Feb-07 23:03
Nekshan13-Feb-07 23:03 
GeneralRe: get ipaddress Pin
virendra patel13-Feb-07 23:48
virendra patel13-Feb-07 23:48 
AnswerRe: get ipaddress Pin
Blue_Boy13-Feb-07 23:20
Blue_Boy13-Feb-07 23:20 
QuestionUser Controls [modified] Pin
mark_w_13-Feb-07 22:50
mark_w_13-Feb-07 22:50 

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.