See this code :
include necessary header files as u know
::Full code snipped per Posting Guidelines::
::Link removed per Posting Guidelines::...
User Profile
Collapse
-
hello friend
let the combo boxes be cmb_box1 and cmb_box2
tables like tbl_country has field 'country' and tbl_state
has fields 'country' and 'state'
first loard countrires list on cmb_box1 as you know then
on_click() event of cmb_box1 write the code as follows
"select state from tbl_state where country = ' " & cmb_box2.text & " ' "
for loarding records as states...Leave a comment:
-
hello friend
The changes I think is given below
Code:document.frm_index.method="post" document.frm_index.action="Login_amit.asp?mode=login" document.frm_index.submit()
<input type="button" name="Button" value="Submit" onClick=log_Ver ify()>[/html]...Leave a comment:
-
Use the following code segment in your ASP page
<% Response.Write( Request.ServerV ariables("REMOT E_HOST")) %>...Leave a comment:
-
I think the below changes
set cn = Server.CreateOb ject("ADODB.Con nection")
cn.open "provider=MICRO SOFT.JET.OLEDB. 4.0;DATA SOURCE=" & Server.MapPath( "\dbname.md b")
rs.open sql, db, adopendynamic,a dlockoptimistic
[removed signature. Sig is not allowed in technical posts]...Leave a comment:
-
Hey friend
use a frame named 'framepartdet'
put MSFlex grid named 'searchgrid' on 'framepartdet' with three columns, fixed rows 2
[CODE=vb]Private Sub txtcode_Change( ) 'event
Dim i As Integer
If rsstock.State = adStateOpen Then rsstock.Close
Dim ccode As String
If txtcode.Text = "" Then ' text box value
framepartdet.Vi sible = False
Exit Sub
End...Leave a comment:
-
Hello friend
when a string input from keyboard, it keeps in memory with a '\0' char as a terminator of string, because we get another string, it has to be kept in memory there after previous string, and there must be an end, to put another one so sysytem keeps a null char ('\0') with the end of each string. ie each time system put a string randomnly after a null char.
Otherwise in a wide range of memory a string will be replaced by...Leave a comment:
-
fibonacci series : 0,1,1,2,3,5,8,1 3,21......
below writing this series upto a limit read
void main()
{
code removed
}
More From : [link removed...Leave a comment:
-
do one thing
try strcopy(s,"hell o");
then append c onto string s
ie strcat(s,"world "); or strcat(s,'c'); or strcat(s,"c");
then s becomes "helloworld " okkkk...Leave a comment:
-
first you search "stdio.h" in your computer. It may either in D:\TC\INCLUDE.
But you may have copied in to C:\TC\INCLUDE or like wise.
ie you just go to window or other menu, there may be one submenu as 'DIRECTORIES' there you can see the path where stdio.h has to be copied.
If the path is c:\tc\include and the header file is already in d:\tc\include. You change the path d:\tc\include it will work
More from ...Leave a comment:
No activity results to display
Show More
Leave a comment: