Click here to Skip to main content
15,891,316 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to insert the same record multiple times in a MS Access 2000 database Pin
PIEBALDconsult13-Apr-13 11:18
mvePIEBALDconsult13-Apr-13 11:18 
AnswerRe: How to insert the same record multiple times in a MS Access 2000 database Pin
Mycroft Holmes13-Apr-13 13:20
professionalMycroft Holmes13-Apr-13 13:20 
AnswerRe: How to insert the same record multiple times in a MS Access 2000 database Pin
jschell14-Apr-13 7:12
jschell14-Apr-13 7:12 
Questionthe output of select command Pin
sara-setare12-Apr-13 7:13
sara-setare12-Apr-13 7:13 
AnswerRe: the output of select command Pin
RobCollins12-Apr-13 7:17
RobCollins12-Apr-13 7:17 
GeneralRe: the output of select command Pin
sara-setare12-Apr-13 7:28
sara-setare12-Apr-13 7:28 
GeneralRe: the output of select command Pin
RobCollins12-Apr-13 7:59
RobCollins12-Apr-13 7:59 
GeneralRe: the output of select command Pin
sara-setare12-Apr-13 19:44
sara-setare12-Apr-13 19:44 
ok,I put all of codes here!
///In the getid.aspx page
<pre><%@ Page Language="C#" AutoEventWireup="true" CodeBehind="authenticate1.aspx.cs" Inherits="hokm.Admin.authenticate1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
  
    
    protected void salam(object sender, EventArgs e)
    {
        Session["field1"] = sh1.Text;
        Response.Redirect("editinformation.aspx");
    }
        


</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server" enctype="multipart/form-data" >
    <div dir="rtl">
    <table>
    <tr class="style1"> 
    <td  width="3%" bgcolor="#FF6666">
    Please enter your id number
        <br />
        <br />
        <asp:TextBox  name="shomare"  ID="sh1" runat="server"/>
        <br />
        <br />
        <asp:Button ID="Button1" Width="60" runat="server"  Text="confirm"  OnClick="salam" />
        </td>
        </tr>
        </table>
    </div>
    </form>
</body>
</html>

so I put the Id in session["field1"];
and in the editinformation.aspx
    protected void page_Load(object sender, EventArgs e)
    {
        sh.Value = (string)Session["field3"];
     
        
    }
<html>
<body>
<table>
 <td colspan="5">&nbsp;
             ID number:
            <input name="shomare karmandy"      disabled="disabled" id ="sh" runat="server" />
            </td>
<tr>
<td>
name:
<input name="name" id="sh2" disabled="disabled" runat="server"/>
</table>
</body>
</html>

you see that I have filled the id textbox with a value,and I want to do this with name input,but I dont know how should I use the database to access the name with this Id?????
Questionupdate special row Pin
sara-setare12-Apr-13 1:20
sara-setare12-Apr-13 1:20 
AnswerRe: update special row Pin
Tim Carmichael12-Apr-13 1:35
Tim Carmichael12-Apr-13 1:35 
AnswerRe: update special row Pin
Shanalal Kasim12-Apr-13 3:11
Shanalal Kasim12-Apr-13 3:11 
AnswerRe: update special row Pin
David Mujica12-Apr-13 3:11
David Mujica12-Apr-13 3:11 
GeneralRe: update special row Pin
sara-setare12-Apr-13 3:50
sara-setare12-Apr-13 3:50 
AnswerRe: update special row Pin
Eddy Vluggen12-Apr-13 6:50
professionalEddy Vluggen12-Apr-13 6:50 
Questionthe insert command doesnt work Pin
sara-setare10-Apr-13 18:27
sara-setare10-Apr-13 18:27 
AnswerRe: the insert command doesnt work Pin
PIEBALDconsult10-Apr-13 19:00
mvePIEBALDconsult10-Apr-13 19:00 
GeneralRe: the insert command doesnt work Pin
sara-setare10-Apr-13 19:14
sara-setare10-Apr-13 19:14 
AnswerRe: the insert command doesnt work Pin
Pallavi Waikar10-Apr-13 19:55
Pallavi Waikar10-Apr-13 19:55 
GeneralRe: the insert command doesnt work Pin
sara-setare10-Apr-13 20:19
sara-setare10-Apr-13 20:19 
GeneralRe: the insert command doesnt work Pin
Richard Deeming11-Apr-13 1:53
mveRichard Deeming11-Apr-13 1:53 
AnswerRe: the insert command doesnt work Pin
Richard Deeming11-Apr-13 1:51
mveRichard Deeming11-Apr-13 1:51 
QuestionOleDb Overflow error Pin
TheJudeDude10-Apr-13 9:13
TheJudeDude10-Apr-13 9:13 
AnswerRe: OleDb Overflow error Pin
TheJudeDude10-Apr-13 9:28
TheJudeDude10-Apr-13 9:28 
Questionhow to create the databse?? Pin
tazeen ansari10-Apr-13 0:22
tazeen ansari10-Apr-13 0:22 
AnswerRe: how to create the databse?? Pin
Eddy Vluggen10-Apr-13 0:35
professionalEddy Vluggen10-Apr-13 0:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.