User Profile
Collapse
-
as far as i know there are no validations when your editing or adding in gridview so its pretty hard to validate for repeated values. maybe you can place it in a textbox first before you add it to the gridview... -
are using visual web developer? if yes what version?
i'm not sure what's wrong with what you've done. maybe you've reset some properties in the gridview accidentally
i've tried on what you said but my gridview works fine when paging 22 records maybe what you can do is delete your current gridview and create a new one with the same name as the one as before and set the paging properties you need. this would probably delete properties...Leave a comment:
-
do you already have a forgot password page? im not sure but in the forgot password you look for the username to find his record but in the username maybe you can use an email or something to search for his record...Leave a comment:
-
-
Tutorial for vb.net?
hi everyone!
i want to try vb.net does anyone now of a good tutorial on this? lets say from a person who does not know much about programming, he will be able to understand the tutorial :D -
you talked about errors, maybe we could see about your errors and that we can solve it from there :P
could you note what are you using to develop asp so we can better help you..
regarding you query have you tried using:
Code:comInsert.CommandText = "Insert into [Table] values " & _ "('" & firstvalue & "', " & _
Leave a comment:
-
ow i see..
so i just use sql statements for all the functions i want..
tnx :P...Leave a comment:
-
adding, saving, editing database without adding adodc or datacontrol
hi! how do i add a record in a database without using the datacontrol and adodc. i want to rework my code to using purely codes and not being dependent on the design on vb. so far i have.
Code:Set rs = New ADODB.Recordset Set con = New ADODB.Connection con.ConnectionString = "provider=microsoft.jet.oledb.4.0;data source=C:\Program Files\Logsheet\Logsheet.mdb;" con.Open rs.Open
-
maybe that's because in the data control there is no find but a findfirst or a findlast. in a data control your code would look like this..
the txtInputID.text here is the id number of the customer you wish to search for. just tinker with the codes :P
Code:strFind = Trim(txtInputID.Text) & "*" strFind = "[CustomerID] like '" & strFind & "'" daoCustomer.Recordset.MoveFirst
Leave a comment:
-
if you can't find the data report, its probably not yet added in the tabs. what you need to do is right-click on your toolbox and click components. and on the designer tab check the field on data environment and data reports
** you can use a standard exe for this...Leave a comment:
-
does an error occur when you try to install it to the pc's without vb6? if it does what's the error so we can help you further.. :PLeave a comment:
-
i see, i'll check the calculations and will try to give you a code when i got home :PLeave a comment:
-
yup if you want to print a hardcopy, use the data reports in vb6 we can show you how, if that's what you really want...Leave a comment:
-
you could try formating the date
dim dhourminute as string
dhourminute = format(dtpicker 1.value, "hh:mm")
this eliminates the seconds in the time
then just convert the string to an int with the cInt(dhourminut e)
you could probably format the date to just get the hour and another variable for the minute for ur caculationsLeave a comment:
-
now i get this one.. :P
i kinda need this code to in my vwb using vb.net,
Thus this code work in vb.net? what's the equivalent? :P...Leave a comment:
-
-
Thanks Veena & Lotus!
Sorry about the coding convention it was my first time using the DAO :PLeave a comment:
-
-
Yeah everyone here is willing to help :)
with regards to the cDbl by mohan it converts a string to a double datatype as long as the string is a valid double
eg.
Code:str as string = "10.10" x as double x = cDbl(cstr)
also works for cInt for integer and others stuff...Leave a comment:
-
the codes that have been suggested to prevents a user from entering letters in the textbox. to use the codes given, insert in to the textbox's keypress event suchas given below
Code:Private Sub text1_KeyPress(KeyAscii As Integer) If KeyAscii <> 8 And (KeyAscii < 48 Or KeyAscii > 57) Then KeyAscii = 0 End If End Sub
Leave a comment:
No activity results to display
Show More
Leave a comment: