- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
29 Posted Topics
Re: [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 … | |
Re: Christos, You still need to choose what language are you going to use, either C# or VB.Net. | |
Re: what's the error? or it just doesn't get what you want to produce? | |
Re: 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; … | |
Re: '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 … | |
Re: 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. | |
Re: 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 … | |
Re: you forgot the enter :D keyascii 13 | |
Re: [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] | |
Re: 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 … | |
Re: 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 | |
Re: You can schedule it. MS SQL has scheduling, so you can process your task here let say every 5 mins. | |
Re: 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] … | |
Re: 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] | |
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 … | |
Re: [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. | |
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? | |
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 … | |
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 … | |
Re: [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. … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: [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 … | |
Re: 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 … | |
Re: 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 … | |
Re: [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??? | |
Re: 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 … | |
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.. |
The End.