Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #1K
~8K People Reached
Favorite Tags

29 Posted Topics

Member Avatar for twistercool

[CODE]rs.Open "select *from purchasetable", cn, adOpenKeyset, adLockOptimistic temp = 100 temp2 = Val(rs!Remaining) rs.AddNew rs!Name = Label6.Caption rs!Quantity = Text1.Text rs!Total = Label5.Caption rs!MAXstock = 100 rs!Remaining = temp - Val(Text1.Text) rs.Update End Sub [/CODE] you are subtracting temp(100) to the value of your text1.text should it be temp2(your remaining …

Member Avatar for twistercool
0
207
Member Avatar for Christos 696

Christos, You still need to choose what language are you going to use, either C# or VB.Net.

Member Avatar for Christos 696
0
150
Member Avatar for abelingaw
Member Avatar for abelingaw
0
154
Member Avatar for Nithyamaha

hello Nithyamaha as you can see [CODE]public static string GetRandomPassword(int length) { char[] chars = "$%#@!*abcdefghijklmnopqrstuvwxyz1234567890?;:ABCDEFGHIJKLMNOPQRSTUVWXYZ^&".ToCharArray(); string password = string.Empty; Random random = new Random(); for (int i = 0; i < length; i++) { int x = random.Next(1, chars.Length); if (!password.Contains(chars.GetValue(x).ToString())) password += chars.GetValue(x); else i--; } return password; …

Member Avatar for Nithyamaha
0
151
Member Avatar for raheel88

'or try this one I just modify Jx_Man Code. [CODE]Private Sub cmdAddItem_Click() Static count As Integer Static name As String count = lstPoints.ListCount count = count + 1 name = "Point " & count lstPoints.AddItem name If count = 8 Then cmdAddItem.Enabled = False End If 'when we add an …

Member Avatar for raheel88
0
1K
Member Avatar for Shreya J

I did use Telerik before. [QUOTE]Is there any extra feature or advantage of using these that's not present in ASP controls ? [/QUOTE] only few.

Member Avatar for Shreya J
0
113
Member Avatar for yongj

set pointer p to reference address of x set pointer q reference address of y -when we said address we are not actually refering the its value but the location in the memory, so when we set pointer p value = 35, set pointer q value = 98, then set …

Member Avatar for Eagletalon
0
184
Member Avatar for yeeitsneo
Member Avatar for theBear

[CODE] do {//menu cout<<"1. Input Price\n"; cout<<"2. Input Cases Sold\n"; cout<<"3. Display Report\n"; cout<<"4. Quit\n"; cin>>mans; } // missed this one while (mans <1 || mans > 4) [/CODE]

Member Avatar for Cruize_Invades
0
2K
Member Avatar for cyberdaemon

If your database doesn't have cascade on delete, you must first delete the records from the other tables related to the records you want to delete. This is due the the relationships of table, if you have a primary key on the main table that you wanted to delete an …

Member Avatar for cyberdaemon
0
128
Member Avatar for fawadkhalil

seems like you are removing the wrong session name. your session name in the web handler is tempSaleID and what you are trying to remove is SaleID

Member Avatar for Cruize_Invades
0
103
Member Avatar for smeboyds

You can schedule it. MS SQL has scheduling, so you can process your task here let say every 5 mins.

Member Avatar for Cruize_Invades
0
103
Member Avatar for rotemorb

as cocool stated, you are using an asp:button which by default calls a server events and do a postback. if you want to call an javascript upon the click of asp:button, you might want to add a onclientclick event to the button to call a javascript then add [code]return false;[/code] …

Member Avatar for rotemorb
-1
117
Member Avatar for deceivingrakesh

aside from ajax, which is very handy, you can also try to use a webmethod [URL="http://forums.asp.net/t/1528982.aspx"]http://forums.asp.net/t/1528982.aspx[/URL]

Member Avatar for Cruize_Invades
0
121
Member Avatar for Cruize_Invades

my connection string goes like this... [CODE]Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyDB;Data Source=mysource[/CODE] I am using windows authentication, iis 7 and Classic ASP to to connect to SQL express 2008. Using UDL i can connect to my SQL. I can also connect to my SQLExpress when i am running my Database …

Member Avatar for rajendra.parmar
0
189
Member Avatar for unknowndevil41

[CODE]Dim ssql As String = "UPDATE passwrd SET password ='" + TextBox1.Text + "'where username='" + TextBox2.Text + "'"[/CODE] an error here is near the where clause. Try inserting a space between ' and where.

Member Avatar for hielo
0
137
Member Avatar for Cruize_Invades

HI currently I am studying asp.net, how ever I manage to view my image just in my test.aspx page using this code [CODE]<img src="img/image.jpg" >[/CODE] but when i use it on my login.aspx using the same code no image shows up. can anyone help me about this?

Member Avatar for Cruize_Invades
0
69
Member Avatar for Cruize_Invades

Hello! I am currently doing some authentication in Active Directory. Our AD is running in Windows 2008 Server and I manage to log-in based in our AD. However I also want to get the group where the user belongs. but I don't know how. Can anyone help me? here is …

Member Avatar for Stitch1920
0
150
Member Avatar for Cruize_Invades

Guys please help me. I am kinda new to ASP.net Luckily I've manage log-in using forms authentication so that i could have a customize log-in page based on my Active Directory. Now a Problem arise. I have to connect to my SQL EXPRESS database using the log-in I use. My …

Member Avatar for Cruize_Invades
0
88
Member Avatar for Dryems

[QUOTE=Dryems;1034434]Hi guys i have just installed windows 7 on ma pc but failed too configer the IIS "internet information service" in order to enable me run ma asp pages. is iis installed already or not?[/QUOTE] i believe it is not yet installed. but you can install it. follow this link. …

Member Avatar for Cruize_Invades
0
106
Member Avatar for Cosa

Please check the data type of the fields 'Barcode' in both table, the Personal and the Store_Barcode. The data type of the two must be the same, example the Barcode in Personal is in Integer data type and the other is in "Text/Char" data type, then it would really return …

Member Avatar for jireh
0
350
Member Avatar for Pareshja

The application would actually run, but as they said, it cannot access the database and probaby get an error... But if you are trying to access the SQL on using a client.. you should first establish a connection between the CLIENT and the unit where the SQL is installed... then …

Member Avatar for Cruize_Invades
0
92
Member Avatar for guru511

if you want to know the length of a string just simply use the [inlinecode]len(string)[/inlinecode] that would return the length of the string.. just the string.. string is the variable you want to get the length.

Member Avatar for QVeen72
0
151
Member Avatar for Pastafarian

[code] For x = 1 To UBound(Sarray) - 1 For y = (x + 1) To UBound(Sarray) If Sarray(x) >= Sarray(y) Then doSwap x, y Else Exit For Next y Next x End If Next y Next x [/code] I think that there is really a compiler error here.. you …

Member Avatar for Pastafarian
0
164
Member Avatar for coco86

I'm so sorry I don't have a vb installed on my pc. I just reformated it.. try using this one as a partial code. [code] ID= left$(str,5) str= mid(str,5) [/code] hope it help. though the problem here is that you the str is being crop continuously... try solving it.. you …

Member Avatar for coco86
0
116
Member Avatar for paodzy

If I can still remember... Goto Add Components and add the Shockwave Flash... if you can't see the Shockwave flash component click browse and then go to the folder where the Flash is installed and then search for its .ocx... then to have a movie playing.. well do it for …

Member Avatar for Byaptia
0
115
Member Avatar for Abdul Farhan

[quote=Abdul Farhan;405538]if anybody knows how to apply searching in VB6.0 ,please let me know.[/quote] exactly what dbase are you going to use and what kind of searching do you wanT???

Member Avatar for jireh
0
89
Member Avatar for paodzy

I don't know what code you have but here is a trick.. in order to have different random number all you have to do is to put the code [inlinecode]Randomize[/inlinecode] in the main form where the random number is generated. But the problems may occurs here, it is not a …

Member Avatar for Cruize_Invades
0
114
Member Avatar for Cruize_Invades

I heard that using VB 6.0 I can disable the start button. But I've search to found what code to be put but unfortunately i cannot found one. I also know that code for win98 differ from XP OS... So pls some one teach me... Thanks a lot..

Member Avatar for Cruize_Invades
0
122

The End.