hi
this is House_p table
behcode
|
subset
|
classification
|
model
|
description
|
image
|
name
|
Id
|
2222
|
furniture
|
sofa
|
sofa
|
test
|
1.jpg
|
sara
|
1
|
|
|
|
|
|
|
|
|
House_classification table
Total product
|
Behcode
|
Name
|
id
|
|
1111
|
Curtian1
|
1
|
|
1111
|
Curtain2
|
2
|
|
2222
|
Furniture
|
3
|
|
2222
|
Furniture2
|
4
|
ok in edit.aspx page i need 2 parameter @behcode and @id in my page to show my table's data from House_p and House_classification table
i use this code to go edit.aspx page and show my House_p table's data
<asp:HyperLink ID="lnkRemove2" runat="server" CssClass="LBP3" Text = " edit" NavigateUrl = '<%# Eval("id", "edit.aspx?id={0}") %>'></asp:HyperLink>
here i need id column from House_p table
but in edit.aspx page i need @behcode for binding my dropdown list but i don't know where should i use @behcode
in other page i used this code for @behcode
protected void LinkartM_Click(object sender, EventArgs e)
{
Response.Redirect("create.aspx?BehCode=" + Request.QueryString["BehCode"]);
}
but here i should use
NavigateUrl = '<%# Eval("id", "edit.aspx?id={0}") %>
becuse id column is important now how i can use 2 above code toghether?
this is SP for binding dropdown list