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!
Good day po mga ka SB!
pwede po magpahelp about sa Visual Studio VB kung paano ma save sa database yung import file na galing sa excel, yung database ko po is access lang nakagawa na po ako ng pang import at nagdidisplay napo sa datagridview, pero hinde po nagsasave sa database ko. Patulong naman po. Thanks in advance Gd Bless
help po sa code ko hnd ko po maskip ung system folder View attachment 1201186
Sino pede makatulong on how to create a custom user rights and privileges?
here.. how i create customer user rights and priveleges
http://img1.uploadhouse.com/fileuploads/25104/251044913c702bad3735b46de16db73ac3add91c.png
- - - Updated - - -
any tips or link saan pwede mapag-aralan yan sir?
Good day, masters!
May problema po ako. May system po ako. Inventory System tapos gxto ko po i EXPORT ang data from datagridview to MS Excel. ginawa ko na po lahat ng research sa Google pati sa Youtube, ayaw parin gumana. Baka may codes po kayo jan or method para mag work natong Export to Excel feature ng system ko. Maraming salamat po sa tutulong!
- - - Updated - - -
any tips or link saan pwede mapag-aralan yan sir?
Bigyan kita ng idea kung paano yan sir.
(e.g.)
Sa Application mu may dalawang klase ng User Account (i.e Administrator & User)
Meron ka ding sabihin nating apat (4) na role (i.e (1)Maintenance, (2)Transaction, (3)POS & (4)Reports)
==================================
Si Administrator ay dapat accesible sa lahat.
Si User naman sa POS lang Or Else pwede rin pati Reports.
==================================
Ngayon, sa Database mu dapat meron kang table kung saan nakasave ang kanilang privileges.
(e.g)
tblPrivileges
--------------------------------
UId | RoleType | Status
--------------------------------
user123 | Maintenance | 0
user123 | Transaction | 0
user123 | POS | 1
user123 | Reports | 1
admin1 | Maintenace | 1
====================================
Since may LoginForm or LoginPage ka, pagkatapos mung ma-verify yung user account,
dun mu na i-filter kung ano lang ang accesible ng bawat user account base sa tblPrivileges.
Hope it helps.
- - - Updated - - -
Medyo naintindihan kita sir, update kita pag nagawa kona thanks.
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
The advantage of using folders is that you don't need to have a custom handler that fetches those BLOBs out of a database and turns them into regular streams. It's also simpler to host them from different locations and you'll avoid the burden on the database server.
You have to be careful about storing the pathnames. Relative pathnames work better as URLs and will allow you some flexibility and scaling in where you store them, how you serve them, and so forth.
Two thoughts on this:
Use the filesystem. But make sure you design your scheme well enough that any one folder is not overloaded with images and it becomes something of a nightmare to manage. For instance, you can tree it out with first or last letters of the identifier, or subsequent positional notation. Your mileage will vary, so make sure the scheme fits your data set (images) size. No need to go to detailed lengths if you're only managing, say, 20 images.
Use SQL Server 2008. It has a new datatype called filestream while will save the images to the filesystem but allow you to retrieve it via standard database queries. See http://msdn.microsoft.com/en-us/library/cc949109.aspx for more information.
These aren't exclusive choices, but at the very least, I'd recommend option #1 for the sheer fact that you'll get better performance out of using a filesystem-based-scheme rather than storing and reading blobs out of a database.
- - - Updated - - -
Medyo naintindihan kita sir, update kita pag nagawa kona thanks.
D ko na kaya suko na ako.. kung may makatulong sa akin maawa kayo Mga Boss at expert sa VB.net Share niyo naman nalalaman niyo d2..
Hirap na ako sir.. 2 weeks ko na fix to ..newbie ako..
LINQ
SQL SERVER 2008
Visual Studio Professional 2010
'--------------------------------------------
ito code ko sa module ko..
ito sa baba ohh..
Sub save_item(ByVal stridn As String, ByVal strtype As String, ByVal strgendes As String, ByVal strquantity As String, ByVal strfund As String, ByVal strebudget As String, _
ByVal strtotaltenpercent As String, ByVal strjan As String, ByVal strfeb As String, ByVal strmarch As String, _
ByVal strapril As String, ByVal strmay As String, ByVal strjune As String, ByVal strjuly As String, _
ByVal straug As String, ByVal strsept As String, ByVal stroct As String, ByVal strnov As String, ByVal strdec As String, _
ByVal strq1 As String, ByVal strq2 As String, ByVal strq3 As String, ByVal strq4 As String, ByVal strtotal_item As String, _
ByVal strtotalprice As String, ByVal strdate As String)
Dim saveall1 As New tblPPMP With {.IDN = stridn, _
.Type = strtype, _
.GenDes = strgendes, _
.Quantity = strquantity, _
.Fund = strmay, _
.Ebudget = strebudget, _
.Total_tenpercent = strtotaltenpercent, _
.Jan = strjan, _
.Feb = strfeb, _
.March = strmarch, _
.April = strapril, _
.May = strmay, _
.June = strjune, _
.Jul = strjuly, _
.Aug = straug, _
.Sept = strsept, _
.Oct = stroct, _
.Nov = strnov, _
.Dec = strdec, _
.Q1 = strq1, _
.Q2 = strq2, _
.Q3 = strq3, _
.Q4 = strq4, _
.Total_Item = strtotal_item, _
.Total_Price = strtotalprice, _
.dr_date = strdate}
dbcon.tblPPMPs.InsertOnSubmit(saveall1)
Try
MsgBox("save successfully")
Catch ex As Exception
End Try
'-------------------------------------------------------------------------------------
ito yong code ko sa save
'-------------------------------------------------------------------------------------
save_item(Val(txtID.Text), txttype.Text, txtdescription.Text, txtquantity.Text, txtFund.Text, Val(txtEBudget.Text), Val(txtTenpercent.Text), _
Val(txtjan.Text), Val(txtfeb.Text), Val(txtmarch.Text), Val(txtapril.Text), Val(txtmay.Text), Val(txtjune.Text), Val(txtjuly.Text), Val(txtaug.Text), _
Val(txtsept.Text), Val(txtoct.Text), Val(txtnov.Text), Val(txtdec.Text), Val(txtq1.Text), Val(txtq2.Text), Val(txtq3.Text), Val(txtq4.Text), _
Val(txttotalitem.Text), Val(txttotalprice.Text), dtp.Value)
hirap na ako sir ..tulong namn po.. interesado aq sa programming .. tulong naman kayo..sakit na ulo ko kakafix