Welcome to Official "Darkness" Forum.
 
Welcome to Official "Darkness" Forum.
 
Would you like to react to this message? Create an account in a few clicks or log in to continue.

 

 
 
HomeLatest imagesRegisterLog in
Top posters
-=Dark Master=-
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcapASP.NET, VB.NET PROGRAMMING SUPPORT I_voting_barASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap 
†dArk_r0okiE†
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcapASP.NET, VB.NET PROGRAMMING SUPPORT I_voting_barASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap 
†Dark Prince†
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcapASP.NET, VB.NET PROGRAMMING SUPPORT I_voting_barASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap 
^DarkLord^
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcapASP.NET, VB.NET PROGRAMMING SUPPORT I_voting_barASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap 
dark_kernel
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcapASP.NET, VB.NET PROGRAMMING SUPPORT I_voting_barASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap 
Dark_MessengeR_kHai
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcapASP.NET, VB.NET PROGRAMMING SUPPORT I_voting_barASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap 
darknet
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcapASP.NET, VB.NET PROGRAMMING SUPPORT I_voting_barASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap 
traxexpulse12
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcapASP.NET, VB.NET PROGRAMMING SUPPORT I_voting_barASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap 
xo Dark Scene xo
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcapASP.NET, VB.NET PROGRAMMING SUPPORT I_voting_barASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap 
Darkness
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcapASP.NET, VB.NET PROGRAMMING SUPPORT I_voting_barASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap 
Latest topics
» Himmatwala .pk. Song
ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeWed Feb 19, 2014 10:23 am by golmana

» Hentai Games Pc 2013
ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeSat Feb 15, 2014 4:57 pm by golmana

» FalloutNVUERK.part1.rar
ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeSat Feb 15, 2014 8:05 am by golmana

» The dark forum must rise again!!
ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeWed Aug 17, 2011 11:25 am by -=Dark Master=-

» gEntleNES!! :))
ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeTue Jul 19, 2011 4:05 pm by †dArk_r0okiE†

» Personal/Educational Info here
ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeSun Jul 03, 2011 12:53 am by Dark_Dragon

»  Get the best web design with the best web design software.
ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeMon Apr 18, 2011 2:38 pm by RebeccaChirby

» BUHAYIN ULIT ANG DARKNESS
ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeSat Oct 09, 2010 1:30 pm by Darkness

» HELP!!!!! for gamers only
ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeSat Feb 06, 2010 1:27 pm by xo Dark Scene xo

Poll
Vote for the MQC band Logo (multi choice allowed)
Logo 1
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcap33%ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap
 33% [ 2 ]
Logo 2
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcap0%ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap
 0% [ 0 ]
Logo 3
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcap0%ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap
 0% [ 0 ]
Logo 4
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcap0%ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap
 0% [ 0 ]
Logo 5
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcap0%ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap
 0% [ 0 ]
Logo 6
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcap17%ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap
 17% [ 1 ]
Logo 7
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcap0%ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap
 0% [ 0 ]
Logo 8
ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_lcap50%ASP.NET, VB.NET PROGRAMMING SUPPORT I_vote_rcap
 50% [ 3 ]
Total Votes : 6
May 2024
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
2728293031  
CalendarCalendar

 

 ASP.NET, VB.NET PROGRAMMING SUPPORT

Go down 
4 posters
AuthorMessage
^DarkLord^
Programmer
^DarkLord^


Posts : 54
Dark Points : 5497
Reputation : 6
Join date : 2009-07-03
Age : 40

Character sheet
Dark Field: 200

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: ASP.NET, VB.NET PROGRAMMING SUPPORT   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeFri Jul 31, 2009 8:08 am

Here you can post your questions regarding ASP.NET, VB.NET. And I'll try to find time to answer all your questions regarding dotNET.
Back to top Go down
http://www.sidebarmetrics.com
†dArk_r0okiE†
Programmer
†dArk_r0okiE†


Posts : 65
Dark Points : 5502
Reputation : 1
Join date : 2009-07-14
Age : 32
Location : pampanga

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: ..in VB   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeFri Jul 31, 2009 8:29 pm

..sir

...example i have one textbox then in that textbox i input (kenneth)
but if I press any numbers or symbols it will not input in textbox but the text that i have enter will not erase...

....thank you sir..nose bleed..

....hope you will help me
Back to top Go down
^DarkLord^
Programmer
^DarkLord^


Posts : 54
Dark Points : 5497
Reputation : 6
Join date : 2009-07-03
Age : 40

Character sheet
Dark Field: 200

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeSat Aug 01, 2009 1:26 am

♥†lAst_dArkNeSs†♥ wrote:
..sir

...example i have one textbox then in that textbox i input (kenneth)
but if I press any numbers or symbols it will not input in textbox but the text that i have enter will not erase...

....thank you sir..nose bleed..

....hope you will help me

Try this codeblock...

Code:

Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress

e.Handled = True

If e.KeyChar Like "[A-z]" Then e.Handled = False

End Sub

Let me know if it works.
Back to top Go down
http://www.sidebarmetrics.com
Dark_MessengeR_kHai
Programmer
Dark_MessengeR_kHai


Posts : 27
Dark Points : 5458
Reputation : -5
Join date : 2009-07-08
Age : 30
Location : MQC

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeSat Aug 01, 2009 10:36 am

DL hndi ba tao mag ASP.NET?? ehehe
Back to top Go down
-=Dark Master=-
Advanced Programmer
-=Dark Master=-


Posts : 102
Dark Points : 5565
Reputation : 15
Join date : 2009-07-05
Age : 37
Location : darkest corner of san roque guagua pampanga

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeSat Aug 01, 2009 11:10 am

Vb.Net section to. U sure hindi VB6 ung question mo? kc mgkaiba ung method eh d 2lad ng vb6 na ascii code gngamit

sa vb6 kasi directly makukuha mo ung keyboard input via keyascii example
example sa keypress event ng textbox

if isnumeric(chr(keyascii)) = true then
msgbox("you have entered a numeric value")
else
msgbox("value is not a number")
end if

tinetest ng code na to if ung pinindot sa keyboard (keyascii) ay number.
kaso ascii code ung nirereturn na value kaya kailangan muna iconvert into keyboard character kaya pinasok natin sa chr() function... at ung isnumeric() function naman ang ngtetest if number ang result..

sa dotNet naman may mga arguments na ng hahandle sa event like ung snippet ng dakilang si sir DL, ung "e" ung handler

so instead of keyascii, gamitin mo ung method nung handler

example: e.keychar

at hindi ascii code ung nirereturn na value kundi ung mismong keyboard input na.

"******************************"
Back to top Go down
†dArk_r0okiE†
Programmer
†dArk_r0okiE†


Posts : 65
Dark Points : 5502
Reputation : 1
Join date : 2009-07-14
Age : 32
Location : pampanga

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeSat Aug 01, 2009 1:14 pm

...sorry d pla VB.net yun.....

VB6 pu yun sorr DL..

....when i press a number or symbol
it will no be inputed in the textbox...
only alpha lng yung maiinput dun sa textbox...
..at wala po itong msgbox...basta pagpinindut ko yung
number ito ay di maiinput sa textbox..pero d mabubura yung mga alpha na nilagay ko..

.....salamat p0h
Back to top Go down
†dArk_r0okiE†
Programmer
†dArk_r0okiE†


Posts : 65
Dark Points : 5502
Reputation : 1
Join date : 2009-07-14
Age : 32
Location : pampanga

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeTue Aug 04, 2009 9:30 pm

....sorry DL hindi ko pa p0h na subkan......

pero sa tingin ko tama yun....

........ahihihihhhihi pig
Back to top Go down
-=Dark Master=-
Advanced Programmer
-=Dark Master=-


Posts : 102
Dark Points : 5565
Reputation : 15
Join date : 2009-07-05
Age : 37
Location : darkest corner of san roque guagua pampanga

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeWed Sep 02, 2009 8:24 am

Hoi mangutang kayu! nung ali lumasa kayu balat!




lasang patis!
Back to top Go down
†dArk_r0okiE†
Programmer
†dArk_r0okiE†


Posts : 65
Dark Points : 5502
Reputation : 1
Join date : 2009-07-14
Age : 32
Location : pampanga

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeWed Sep 02, 2009 8:37 pm

...ehehehhehehehhehe



nu kayang magandang tanong....??

......yung d ko pah kasi masyadong know sa VB eh yung mag connect sa database access 2003....yun DM....ehehhe


panu ba yun??

.,....yan ah nag tanong na ako kaya atana lasang patis..ehehehhehe

....wahhaahaa......DS kawawa ya nandin oh....pigtripan deh..wahahha lol!
oink-oink pig pig

DM IDOL flower
Back to top Go down
†dArk_r0okiE†
Programmer
†dArk_r0okiE†


Posts : 65
Dark Points : 5502
Reputation : 1
Join date : 2009-07-14
Age : 32
Location : pampanga

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeWed Sep 02, 2009 8:38 pm

ay sorry sa VB 6.0 pala yun...ehehhe
Back to top Go down
-=Dark Master=-
Advanced Programmer
-=Dark Master=-


Posts : 102
Dark Points : 5565
Reputation : 15
Join date : 2009-07-05
Age : 37
Location : darkest corner of san roque guagua pampanga

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: GETS KO NAH!!!   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeWed Sep 02, 2009 11:20 pm

con.ConnectionString = constr
con.Open()
Dim adapt As New OdbcDataAdapter("select * from student", con)
Dim ds As New DataSet

adapt.Fill(ds)
DataGridView1.DataSource = ds.Tables(0)


'********************************


Dim i As Integer
Dim dr As DataTable = CType(DataGridView1.DataSource, DataTable)
For i = 0 To (dr.Rows.Count - 1)
Dim x As integer
If DataGridView1.Rows(i).Cells("status").Value = "enrolled" Then
x = 1
Else
x = 0
End If

DataGridView1.Rows(i).Cells("column1").Value = x
Next i


HAHAHA! If enrolled ya ing keng database. magcheck ya itang checkbox keng datagridview!!!
Back to top Go down
^DarkLord^
Programmer
^DarkLord^


Posts : 54
Dark Points : 5497
Reputation : 6
Join date : 2009-07-03
Age : 40

Character sheet
Dark Field: 200

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeThu Sep 03, 2009 2:38 am

-=Dark Master=- wrote:
con.ConnectionString = constr
con.Open()
Dim adapt As New OdbcDataAdapter("select * from student", con)
Dim ds As New DataSet

adapt.Fill(ds)
DataGridView1.DataSource = ds.Tables(0)


'********************************


Dim i As Integer
Dim dr As DataTable = CType(DataGridView1.DataSource, DataTable)
For i = 0 To (dr.Rows.Count - 1)
Dim x As integer
If DataGridView1.Rows(i).Cells("status").Value = "enrolled" Then
x = 1
Else
x = 0
End If

DataGridView1.Rows(i).Cells("column1").Value = x
Next i


HAHAHA! If enrolled ya ing keng database. magcheck ya itang checkbox keng datagridview!!!

Ayos! Galing!
Back to top Go down
http://www.sidebarmetrics.com
^DarkLord^
Programmer
^DarkLord^


Posts : 54
Dark Points : 5497
Reputation : 6
Join date : 2009-07-03
Age : 40

Character sheet
Dark Field: 200

ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitimeThu Sep 03, 2009 2:40 am

^DarkLord^ wrote:
-=Dark Master=- wrote:
con.ConnectionString = constr
con.Open()
Dim adapt As New OdbcDataAdapter("select * from student", con)
Dim ds As New DataSet

adapt.Fill(ds)
DataGridView1.DataSource = ds.Tables(0)


'********************************


Dim i As Integer
Dim dr As DataTable = CType(DataGridView1.DataSource, DataTable)
For i = 0 To (dr.Rows.Count - 1)
Dim x As integer
If DataGridView1.Rows(i).Cells("status").Value = "enrolled" Then
x = 1
Else
x = 0
End If

DataGridView1.Rows(i).Cells("column1").Value = x
Next i


HAHAHA! If enrolled ya ing keng database. magcheck ya itang checkbox keng datagridview!!!

Ayos! Galing!, BTW, Jay? Mig ODBC kaba ketang BreakThrough Project Tamo? o itang mysqlclient ing ginamit mu?
Back to top Go down
http://www.sidebarmetrics.com
Sponsored content





ASP.NET, VB.NET PROGRAMMING SUPPORT Empty
PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   ASP.NET, VB.NET PROGRAMMING SUPPORT I_icon_minitime

Back to top Go down
 
ASP.NET, VB.NET PROGRAMMING SUPPORT
Back to top 
Page 1 of 1
 Similar topics
-
» JAVA PROGRAMMING SUPPORT
» what is better web programming languages?
» PHP SUPPORT TOPIC

Permissions in this forum:You cannot reply to topics in this forum
  :: Programming Support-
Jump to: