Welcome to Official "Darkness" Forum.

 

 
 
HomeRegisterLog in
Top posters
-=Dark Master=-
 
†dArk_r0okiE†
 
†Dark Prince†
 
^DarkLord^
 
dark_kernel™
 
Dark_MessengeR_kHai
 
darknet
 
traxexpulse12
 
xo Dark Scene xo
 
Darkness
 
Latest topics
» Himmatwala .pk. Song
Wed Feb 19, 2014 10:23 am by golmana

» Hentai Games Pc 2013
Sat Feb 15, 2014 4:57 pm by golmana

» FalloutNVUERK.part1.rar
Sat Feb 15, 2014 8:05 am by golmana

» The dark forum must rise again!!
Wed Aug 17, 2011 11:25 am by -=Dark Master=-

» gEntleNES!! :))
Tue Jul 19, 2011 4:05 pm by †dArk_r0okiE†

» Personal/Educational Info here
Sun Jul 03, 2011 12:53 am by Dark_Dragon

»  Get the best web design with the best web design software.
Mon Apr 18, 2011 2:38 pm by RebeccaChirby

» BUHAYIN ULIT ANG DARKNESS
Sat Oct 09, 2010 1:30 pm by Darkness

» HELP!!!!! for gamers only
Sat Feb 06, 2010 1:27 pm by xo Dark Scene xo

Poll
Vote for the MQC band Logo (multi choice allowed)
Logo 1
33%
 33% [ 2 ]
Logo 2
0%
 0% [ 0 ]
Logo 3
0%
 0% [ 0 ]
Logo 4
0%
 0% [ 0 ]
Logo 5
0%
 0% [ 0 ]
Logo 6
17%
 17% [ 1 ]
Logo 7
0%
 0% [ 0 ]
Logo 8
50%
 50% [ 3 ]
Total Votes : 6
December 2016
MonTueWedThuFriSatSun
   1234
567891011
12131415161718
19202122232425
262728293031 
CalendarCalendar

Share | 
 

 ASP.NET, VB.NET PROGRAMMING SUPPORT

View previous topic View next topic Go down 
AuthorMessage
^DarkLord^
Programmer


Posts : 54
Dark Points : 2783
Reputation : 6
Join date : 2009-07-03
Age : 33

Character sheet
Dark Field: 200

PostSubject: ASP.NET, VB.NET PROGRAMMING SUPPORT   Fri 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


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

PostSubject: ..in VB   Fri 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


Posts : 54
Dark Points : 2783
Reputation : 6
Join date : 2009-07-03
Age : 33

Character sheet
Dark Field: 200

PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   Sat 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


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

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

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


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

PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   Sat 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


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

PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   Sat 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


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

PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   Tue 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


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

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

Hoi mangutang kayu! nung ali lumasa kayu balat!




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


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

PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   Wed 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


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

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

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


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

PostSubject: GETS KO NAH!!!   Wed 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


Posts : 54
Dark Points : 2783
Reputation : 6
Join date : 2009-07-03
Age : 33

Character sheet
Dark Field: 200

PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   Thu 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


Posts : 54
Dark Points : 2783
Reputation : 6
Join date : 2009-07-03
Age : 33

Character sheet
Dark Field: 200

PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   Thu 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




PostSubject: Re: ASP.NET, VB.NET PROGRAMMING SUPPORT   Today at 9:56 am

Back to top Go down
 
ASP.NET, VB.NET PROGRAMMING SUPPORT
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» example of Basic turbo C program in PLC Programming
» Good Effort and Good Support
» 2012 v8 Supercar TCL support series
» Programming A Chess Engine In Pure Javascript! (youtube)
» Ω Verax's Programming Tutorials Ω

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