|
Missed that one.
What's with the arrays of controls? [ gb(i) ]
|
|
|
|
|
yeah I'm not quite sure why my college did it like this but I don't think it will make a difference
(I didn't write the code just have to correct it = real fun )
-- modified at 8:32 Friday 17th August, 2007
just asked him, here is his answer:
quote 'Because I can then fit it on to 1 line of code' end quote
o and I just tested it with adding them like this 'gb(i).controls.add(rbnot(i))' and it doesn't make a difference so...
|
|
|
|
|
I have an update on the problem:
when I use the following as the first datarow I don't have the problem
dr = dt.NewRow()
dr("FieldName") = "ActiviteitTypeCode"
dr("FieldType") = "string"
dr("lblField") = "Code:"
dr("rbNot") = True 'this changed from false to true
dr("rbIn") = False 'this changed from true to false
dr("rbNotin") = False
dr("FlgSearchbtn") = False
dr("FlgSelection") = True
dr("FlgFromTo") = False
dr("txtSelection") = ""
dr("txtFrom") = ""
dr("txtTo") = ""
dt.Rows.Add(dr)
|
|
|
|
|
I didn't answer this question yesterday because I don't have a fricken' clue what you're talking about!! Reposting the exact same question isn't going to help.
You're description of what you want amounts to a rambling pile of _____ that I can't make heads or tails of. A much simpler explanation of what you want would help.
|
|
|
|
|
Dave Kreskowiak wrote: didn't answer this question yesterday because I don't have a fricken' clue what you're talking about!
Dave Kreskowiak wrote: description of what you want amounts to a rambling pile of _____ that I can't make heads or tails of
What was the pile of _____ that was from the deleted post? If I dare ask
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Deleted?? I just left a blank for someone to fill in their culturally-specific reference to the term "dung".
|
|
|
|
|
Dave Kreskowiak wrote: just left a blank for someone to fill in their culturally-specific reference to the term "dung".
I figured it was a fill in the blank thing.
Also, I was just wondering what the original post was...
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I want to read data from a hardware device like time access punching machine.
What is the complete process to read data and storing into a databse from any hardware device.
If any one have some idea, please guide me.
Thanks,
Pathak
|
|
|
|
|
this is different for every hardware device.
normally the hardware device has an dll you can access (if the manufacterer wants you to), and also some documentation on how to use that dll
I suggest you read that documentation, since every dll is different there is no global answer to you question
|
|
|
|
|
hi
friends,
i use SQLBASE as backend
i have a table by name date1. in that i have two cloumns with name and dob. here dob column contains date in the following format(19-feb-1987). now i wan to display the dat ein the datagrid in the same format. but i am getting the date as follows (02/19/1987 12:30:40 am). but i want to display the date as it is in the datagrid from the database.
i have tried the boundcolumn part. but there is a draw back. cause as we r binding the column with a certain column form the database, if in the query that particular column is not there. error occurs.
i would like to know the solution for this
there is no such thing as good or bad.
|
|
|
|
|
If you're letting the DataGridView create the columns for you, this is the default formating you get for DateTime values.
Either you have to alter the autogenerated column AFTER you bind the data, supplying a new formating string to the column, or, you have to create your own columns in the DataGridView and make the same changes. Either way, you're supplying the format string for how you want the date to show up to the columns DefaultCellStyle.Format property.
|
|
|
|
|
hey
change the data type of the column dob from any thing related to datetime and put it nvarchar and hope this makes your problem works
NEO ISSA
|
|
|
|
|
hi guys
i am developing a project in vb.net, it is ntier based,,
here i have my business layer , data access layer and as well ui layer,,,
issue is that for each of my class in each of my layer except ui i am using
singelton pattern to create object and call methods of any layer,,
if it is a good approach or i shuld call each time new object with new keyword to access methids in these classes,, i am confused,,
thanks in advance
best regards
hello
|
|
|
|
|
depending on what the methode does you can make it shared
(public shared sub 'name')
like this you can access the methode by just calling you class name . methode name
but be carefull on how you use it
a shared methode is 'shared' over all the classes so everything you use inside it has to be given to it
from inside the shared methode you can't access the property's of that class (at least not if they aren't shared aswel)
don't know if this makes much since to you but play around with it a bit and you'll find out for you're self
|
|
|
|
|
Dear All,
I am using VbSemdMail.DLL for sending mail via SMTP server but unable to do so. I am getting error : Connection is Aborted due to time out or other error. Can anybody tll em what is the possible reason for this problem? Is there any other method to send mail other than CDONTS and winsock?
Thanks
Virendra
|
|
|
|
|
Did you try Persits ASPEmail Library?
|
|
|
|
|
Without clicking and moving the mouse. Can i move the cursor using codes to move it...
|
|
|
|
|
|
I have written stored procedured which should return certain value.The below query executes in sql server.The stored procedure is like this:
ALTER PROCEDURE ValidateUser
@MemberName varchar(50)
AS
select * from T_Members where MemberName = @MemberName
return
But i couldn't implement this stored procedure in the button click and store it in the variable 'a' of the dot net 2005 platform.
suchitamanandhar@hotmail.com
|
|
|
|
|
What does your VB.Net part of the code look like?
Something akin to:
Dim foo As New System.Data.SqlClient.SqlCommand("execute ValidateUser @username")
foo.Parameters.Add(New SqlClient.SqlParameter("@username", "Duncan"))
Dim rdr As SqlClient.SqlDataReader = foo.ExecuteReader
While rdr.Read
'do stuff with the records...
End While
|
|
|
|
|
within a website have very link. within a link have very link
how do? i want to get all link in a website
thank
|
|
|
|
|
'Help me'....Off course we are here to help you. Try to give subjects that makes sense so will be a lot easier for us.
piter_crao wrote: within a website have very link. within a link have very link
how do?
Can you provide more description of what you exactly want?
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|
|
from what I understand he wants to get every link a website provides then go to every website of those links and get the links there and so on
I'm afraid that (if at all possible) is going to be an endless program
|
|
|
|
|
|
Since you are new to Code Project, please read the forum guidelines. Your messages need to have titles with meaning like "question about links." Posts that just say 'help' or 'urgent' tend to get ignored. We have had a lot of these lately so people are getting flamed.
_____________________________________________
Flea Market! It's just like...it's just like...A MINI-MALL!
|
|
|
|