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!

C#.NET / ASP.NET Programming Corner. UNITE.!

pa bookmark, eto pinag kaka abalahan ko ngaun. :)

asp.net, eto daw gagamitin namin pag gawa ng website.

i wonder kung bakit di na lang dreamweaver gamitin namin sa school, dba mas madali yun?
since may basic knowledge na din kami pag dating sa html at css.
 
Panoo i call function javascript jquery sa c# web
Gusto ko sana e walana yung on click lagay nalang sa js event.pag clicnick yung button e yung id nya mag ca call sa function.tulad sa php, pero sa dot net hindi ko mapa gana.salamat sa sasagot.tia
 
Panoo i call function javascript jquery sa c# web
Gusto ko sana e walana yung on click lagay nalang sa js event.pag clicnick yung button e yung id nya mag ca call sa function.tulad sa php, pero sa dot net hindi ko mapa gana.salamat sa sasagot.tia

Try mo po ung ClientScript.RegisterStartupScript na method. :)
 
Mga Masters Pahelp po ako regarding copying specific files na code in Csharp mostly kasi nakikita kong code ay buong directory or folder kasi ang icopy nya kaso need ko po kasi specific files lang po ang i-kacopy ko please see po picture below para sa output:
View attachment 278562

meron din akong nakita e kailangan din po ibrowse pa ng user para ma select ung file na ikacopy.

ito po ung is sa mga code na nakita kong medyo fit sa gagawin kong project kaso po buong directory ang ikacopy nya:

public partial class mainForm : Form
{
const string FromDir = "C:/FolderA/";
const string FromDir2 = "C:/Temp.txt";
const string ToDir = "D:/USBTest/";

public mainForm()
{
InitializeComponent();
}

private void btnCopy_Click(object sender, EventArgs e)
{


DirectoryInfo dirCopyFrom = new DirectoryInfo(FromDir2);
FileInfo[] diskFiles = dirCopyFrom.GetFiles(FromDir2);
foreach (FileInfo curFile in diskFiles)
{
try
{
File.Copy(curFile.FullName, ToDir + curFile.Name, true);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

}

Please pa help po ako...:help:
 

Attachments

  • OutPut.jpg
    OutPut.jpg
    135.3 KB · Views: 8
Last edited:
sino marunong mag remote desktop gamit c sharp
 
Guys, patulong naman po sabi kasi sa thread na to wag mahiyang magtanong ;) bale kasi may nagawa na akong program sa vb.net local network lang siya na-aaccess ang gusto ko po sana is via online ma-access naman siya using asp.net, pano ko ba gagawin yun? sabi kasi mag-sesetup pa daw ng IIS? pano yun? by the way i'm using VS2012 and SQL Server 2012. Salamat po. cheers!!!!
 
mga masters pahelp po ako regarding copying specific files na code in csharp mostly kasi nakikita kong code ay buong directory or folder kasi ang icopy nya kaso need ko po kasi specific files lang po ang i-kacopy ko please see po picture below para sa output:
View attachment 1140129

meron din akong nakita e kailangan din po ibrowse pa ng user para ma select ung file na ikacopy.

Ito po ung is sa mga code na nakita kong medyo fit sa gagawin kong project kaso po buong directory ang ikacopy nya:

Public partial class mainform : Form
{
const string fromdir = "c:/foldera/";
const string fromdir2 = "c:/temp.txt";
const string todir = "d:/usbtest/";

public mainform()
{
initializecomponent();
}

private void btncopy_click(object sender, eventargs e)
{


directoryinfo dircopyfrom = new directoryinfo(fromdir2);
fileinfo[] diskfiles = dircopyfrom.getfiles(fromdir2);
foreach (fileinfo curfile in diskfiles)
{
try
{
file.copy(curfile.fullname, todir + curfile.name, true);
}
catch (exception ex)
{
messagebox.show(ex.message);
}

}

please pa help po ako...:help:

na solve ko na po ito...

Ang problema ko nalang po ts is how to copy 3 specific directories into one folder or directory.
 
Last edited:
6

Kong sql command

SqlCommand sqlcommandinsert = new Sqlcommand();
connectionngdatabasemo.open();
sqlcommandinsert.CommandText="INSERT into tablepersonalinfo(name,age,birthdate,address) VALUES (@name,age,birthdate,address)";

Tapos saka mo iset ang value na gusto mo.

sqlcommandinsert.parameters.Clears();
sqlcommandinsert.Parameter.Add("@name", SqlDbType.VarChar).Value ="Blue Lemon";
Ituloy mo sa bawat field sa table mo, after matapos mo na iset mona ang connection

sqlcommandinsert.Connection = connectionngdatabasemo;
sqlcommandinsert.ExecuteNonQuery();
connectionngdatabasemo.Close();


sir pwedi nyo rin po bang lagyan ng example kung pano magset ng values kunyari para kay name ung values ng textbox1.text
 
#request please close this thread.

reason: inactive thread starter, at parang walang may ganang smagut sa mga requests.
 
Mga bosing, patolong naman. :) gamit ko c#.net visual studio 2012, sa report crystal report.
yung problima ko, ay yung pag change ng paper size ng report, ayaw nya kasing magchange during runtime.
kung meron may alam, tulong naman mga bosing. pls pls. :) :) thnx.
 
Hi sir, patulong naman po ako in connecting c#.net to my sql or ms access.. for database. And how to make a report for my HMS
 
hi sir, sino po pwede tumulong sa akin dito, ganito po kasi iyan pinatuloy po sa akin nang sir ko yung dating nagawa nang website , ngayon po may pinapadagdag lang po siya at may mga bug daw po , nahihirapan po ako kalikutin kasi new lang po ako sa gamit niyang Programming Language nang dating programmer pero pilit ko pong kinokontact yung dating gumawa hindi na po sumasagot ngayon po sabi ko sa sir ko gawa nalang akong bago pero ayaw niya po kasi iyon na po ginagamit nila at nakasanayan sino po ba pwede tumulong po sa akin dito kahit makipag kita lang po , ako pong bahala sa inyo bigay ko po yung files maraming salamat po ...... number ko po pala 09303638443.. sana po matulungan niyo po ako....

- - - Updated - - -

hello po kaway kaway po diyan..
 
hi sir, sino po pwede tumulong sa akin dito, ganito po kasi iyan pinatuloy po sa akin nang sir ko yung dating nagawa nang website , ngayon po may pinapadagdag lang po siya at may mga bug daw po , nahihirapan po ako kalikutin kasi new lang po ako sa gamit niyang Programming Language nang dating programmer pero pilit ko pong kinokontact yung dating gumawa hindi na po sumasagot ngayon po sabi ko sa sir ko gawa nalang akong bago pero ayaw niya po kasi iyon na po ginagamit nila at nakasanayan sino po ba pwede tumulong po sa akin dito kahit makipag kita lang po , ako pong bahala sa inyo bigay ko po yung files maraming salamat po ...... number ko po pala 09303638443.. sana po matulungan niyo po ako....

- - - Updated - - -

hello po kaway kaway po diyan..

anong PL nyan?
 
bossing newbie lng po sa c#..ito po problema ko..yung connectionstring ko po pag pina run ko na sa ibang pc yung WFA ko..ganito lalabas

View attachment 294582

pro pag sa lap top ko connected nmn sya..

View attachment 294583

ano ba my problema nito bossing sa codes or sa Pc?? salamat po:)
 

Attachments

  • 2.PNG
    2.PNG
    65 KB · Views: 7
  • 1.png
    1.png
    70 KB · Views: 6
HI

I'm new in asp.net and I'm planning to build a website using asp.net and sql server .

I would appreciate if someone help me on how to deploy my project online and tell me the procedure and so on. .

thank you ..
 
may nakaexperience na po ba dito gumamit ng angular with ASP.NET or ASP.Net Core as backend? mas okay po ba sya gamitin as backend with angular?
 
san ako mag start? Mag aral ako mvc, layo talaga ng deference sa web form :weep:
 
Back
Top Bottom