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.!

gusto ko kasi lagyan sir ee kapagod kapag ieencode ko ulet may way ba na hindi matangal un..
pati ung mga new variable na nilagay ko sa model natatangal kapag binabago ko ung database

mas maganda kung gagawa ka ng viewmodel para sa mga classes mo para hindi kana lalagay ng annotation everytime na e rerefresh mo yung entity.
 
pa tambay sa po sa Thread na to sana may mag post tungkol sa asp.net MVC. :D
 
nakita ko ito on youtube.. very detailed explanation nya kaya madaling maintindihan..
jan lahat ng topic like viewbag.. data access , models , controllers, view.. etc.

ADO .net tutorials for beginners..
https://www.youtube.com/playlist?list=PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7

ASP .net mvc tutorial for beginners
https://www.youtube.com/playlist?list=PL6n9fhu94yhVm6S8I2xd6nYz2ZORd7X2v

Entity Framework tutorials..
https://www.youtube.com/playlist?list=PL6n9fhu94yhUPBSX-E2aJCnCR3-_6zBZx

and many more tutorials like asp using c# or vb..
just subscribe to kudvenkat to list all his tutorial.

eto yung playlist nya ng lahat ng tutorial nya..
https://www.youtube.com/user/kudvenkat/playlists?sort=dd&view=1&shelf_id=4

share ko lang..
 
Last edited:
sir pwede po bang magtanong advisable bang gumamit ng sql sa mvc like stored proc di ko alam gumamit ng linq ee
 
Last edited:
:help:Pahelp ng pag insert ng data sa kahit anong database wag lang mysql.. asp.net c# sa vs2012.. personal info lang.. data like name, age, birth date at address... nahihirapan ako mag search sa net puro mysql lumalabas.. salamat sa sasagot.. kahit magbigay lang ng example ok na..
 
6
:help:Pahelp ng pag insert ng data sa kahit anong database wag lang mysql.. asp.net c# sa vs2012.. personal info lang.. data like name, age, birth date at address... nahihirapan ako mag search sa net puro mysql lumalabas.. salamat sa sasagot.. kahit magbigay lang ng example ok na..

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();
 
Last edited:
pano po dropdownlist tapos populate ung mga textboxes mga sir kaya ba sa c# or kaylangan pa ng jquery
 
parang auto complete textbox ba?

on change sir tapos populate ung mga other textboxes na related sa db..

tapos another po pano po ipopulate ung table without ienumerable na idedeclare
 
on change sir tapos populate ung mga other textboxes na related sa db..

tapos another po pano po ipopulate ung table without ienumerable na idedeclare

gamit ka ng jquery nyan.

try mo gumamit ng linq since naka EF ka nmn.
 
^ agree pwedi rin yan gawin sa ajax control toolkit
 
Hello po,
Hindi ko alam kung related to pero desperada na ko..lol... May installer ka po ba crack verison ng xamarin studio for mac.. may need kasi ako develop na C#/xamarin for cross platform mobile app. thanks a lot :)
 
Share
hahaha ang dali lang pala putiks
nakuha ko din sawakas ung jquery kahit papano

$('#Productid').change(function(){
$.ajax({
url: "@Url.Action("GetProductDetails")",
data: {id:$("#Productid").val()},
success: function (result) {
$("#Origprice").val(result.OrigPrice),
$("#Description").val(result.ProductDescription)
},
error: function () {
$("#panel-product :input").val('')
}
});
});
 
may tanong po ako, may project kasi ako na gingawa, LAN CHAT APPS, and someone propose to me the SIGNALR is good for real time communication.. and i researched about it and found out that its only for web, pede ko po ba magamit ang SIGNALR for WPF or Winforms for my LAN CHAT??, or pede ko po ba gawin na SIGNALR(chat server) then WPF/Winforms(chat users more than 200+).. pwede po ba ito?? thanks po sa sasagot.
 
may tanong po ako, may project kasi ako na gingawa, LAN CHAT APPS, and someone propose to me the SIGNALR is good for real time communication.. and i researched about it and found out that its only for web, pede ko po ba magamit ang SIGNALR for WPF or Winforms for my LAN CHAT??, or pede ko po ba gawin na SIGNALR(chat server) then WPF/Winforms(chat users more than 200+).. pwede po ba ito?? thanks po sa sasagot.

May nagawa nako niyan dati at isa sa mga reference ko ay ito:

http://www.codeproject.com/Articles/804770/Implementing-SignalR-in-Desktop-Applications

https://code.msdn.microsoft.com/windowsdesktop/Using-SignalR-in-WinForms-f1ec847b

Hapi codinng.....
 
Thanks sir! Malaking tulong itong reference na binigay mo po


Puno EXCEEDED na ang inbox mo dito kanalqng magtanong para wala ng popup.

Pag aralan mo tcp/ip application,socket-based network programming, you don't directly access the network interface device to send and receive packet, winsock api madal8ng gawin kong ayaw monaNg gamitin ang signalR
 
on change sir tapos populate ung mga other textboxes na related sa db..

tapos another po pano po ipopulate ung table without ienumerable na idedeclare

given na ung ID na nakadependent mga values ay region_code:


via angular:

$scope.$watch('data.region_code', function (newValue, oldValue) {

var record = $scope.data;

$http({
method: 'GET',
url: '/api/get_province?id=' + record.region_code,

}).success(function (data, status, headers, config) {

$scope.prov_code_options = data;
}).error(function (data, status, headers, config) {

$scope.message = 'Unexpected Error';
});


});


via knockout:

self.region_code.subscribe(function (newval) {

$.post("/api/get_province", { id: self.region_code() }, function (states) {
self.lib_provinces(states);
});

})




via jquery:


$(document).ready(function () {

$("#region_code").change(function () {

$.ajax({
type: 'POST',
url: '@Url.Action("get_province", "api")', // we are calling json method
dataType: 'json',
data: { id: $("#region_code").val() },
success: function (states) {
// states contains the JSON formatted list
// of states passed from the controller
$.each(states, function (i, state) {
$("#lib_provinces").append('<option value="' + state.Name+ '">' + state.Id+ '</option>');
}); // here we are adding option for States
},
error: function (ex) {
alert('Failed to retrieve data.' + ex);
}
});
return false;
})
});



sa likod eto lang:

[Route("api/get_province")]
public IHttpActionResult GetProvinces(string id)
{
return Json(db.lib_province.Where(x => x.region_code == id).Select(x => new { Id = x.prov_code, Name = x.prov_name }));

}
 
Last edited:
Back
Top Bottom