Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

101 Visual Basic and C# Code Samples for Visual Studio .Net

Status
Not open for further replies.
Ask lang mga ka symb im creating a simple record system that store all data's like picture and documents, but i want to know kung anu mas maganda storing images in SQL database vs storing images in seperate folder and using URL image path. Balak ko kasi i store yung imgae sa sql server and convert into binary. What are the dis advantages and advantages. Im using c# 2012 as my programing language and sql server 2012. Request na din ng mga sample code nyu about storing and retrieving image from sql kung meron heheh salamat. May error kasi lage code ko para may reference lang
 
taga tagum diay ka TS.... asa ka dapit sa tagum nag puyo?
 
Ask lang mga ka symb im creating a simple record system that store all data's like picture and documents, but i want to know kung anu mas maganda storing images in SQL database vs storing images in seperate folder and using URL image path. Balak ko kasi i store yung imgae sa sql server and convert into binary. What are the dis advantages and advantages. Im using c# 2012 as my programing language and sql server 2012. Request na din ng mga sample code nyu about storing and retrieving image from sql kung meron heheh salamat. May error kasi lage code ko para may reference lang

Storing images into folder, kasi kapag lumaki yang database mo, babagal ng pag fetch/save ng data dyan, much better kung sa folder mo sya ilalagay then path nalang ilagay mo sa database, opinion lang hehe :thumbsup:
 
Panu ang pag call ng events like meron ako 3 forms which is Main form, Form1 and from2. Main form contains buttons to load form 1 and form2, my problem is how to initiate button perform click in main form to load form 2 while you are in form1? gamitin ko lang sa MDI child to MDI child to MDI parent.


Button edit Code for form1

private void btnEdit_Click(object sender, EventArgs e)
{
if (this.dgvListEmployee.SelectedRows.Count > 0)
{

string edit = dgvListEmployee.SelectedRows[0].Cells[0].Value + string.Empty;
var AddEmp = new frmAddEmployee();
SetValueForText1 = edit;
SetValueForText2 = "Update Record";
AddEmp.Text = "Update Record";
AddEmp.FormClosed += new FormClosedEventHandler(frmListEmployee_FormClosed);
AddEmp.Show();
this.Hide();
}
else
{
MessageBox.Show("Please select the entire row to edit record");
}
}


pero ginawa ko is eto pero ayaw mag load si form2

private void btnEdit_Click(object sender, EventArgs e)
{
if (this.dgvListEmployee.SelectedRows.Count > 0)
{

string edit = dgvListEmployee.SelectedRows[0].Cells[0].Value + string.Empty;
var AddEmp = new frmAddEmployee();
var main = new frmMain();
SetValueForText1 = edit;
SetValueForText2 = "Update Record";
AddEmp.Text = "Update Record";
AddEmp.FormClosed += new FormClosedEventHandler(frmListEmployee_FormClosed);
AddEmp.MDIParent = main;
Addemp.Topmost = true;
AddEmp.Show();
this.Hide();
}
else
{
MessageBox.Show("Please select the entire row to edit record");
}
}


code ko naman sa main form to load form1 and form2
load from1
frmListEmployee lemp;
private void btnListEmp_Click(object sender, EventArgs e)
{

if (Vlemp == "")
{
lemp = new frmListEmployee();
lemp.MdiParent = this;
this.BackColor = Color.White;
lemp.TopMost = true;
lemp.Show();
Vlemp = "visible";
}
}


load form2

private void btnAddNewEmp_Click(object sender, EventArgs e)
{
var emp = new frmAddEmployee();
SetValueForText1 = "Add New Record";
emp.Text = "Add New Record";
emp.MdiParent = this;
this.BackColor = Color.White;
emp.TopMost = true;
emp.Show();
}


balack ko nalang sana is i perform click yung Main Form btnAddNewEmp_Click sa form1 to load form 2


howww!!!!
 
Broken Link na Papsi Hindi nako umabot need ko panaman to sana mayroon din ng JAVA for Mobilie Application Thanks.:weep::weep::weep::thumbsup:
 
sir pwede ba magpatulong sa vba connect sa excel?
 
pa reshare po please sa may samples nito, broken na kasi yung link..salamat :)
 
Sir pa help po sa vb6 script.Gusto ko kasi palitan ang buong line ng text file with different name. Example: ang qwerty=123456 sa line 2 ay palitan ko ng qwerty=987654. Pero gusto ko khit qwerty lang makita nya sa text file ay palitan nya pa rin ng qwerty=987654. Paiba-iba kasi ang value ng qwerty=123456 minsan ay qwerty=123457 kaya ang gusto ko ay find nya lang ang qwerty then replace with qwerty=987654. Maraming salamat po sa tutulong.
 
Status
Not open for further replies.
Back
Top Bottom