Is it possible to set two DataKeyField in DataList...........
If yes then pls help me out...................
crazydevelopervish
0
Light Poster
Recommended Answers
Jump to PostTry like this:
myDataList.DataKeyFields = "myCol1,myCol2";
Jump to PostMaybe like this:
string keys[] = DataList1.DataKeys[e.Item.ItemIndex].ToString().split(','); string productId = keys[0]; string customerId = keys[1];
All 7 Replies
AleMonteiro
238
Can I pick my title?
crazydevelopervish
0
Light Poster
AleMonteiro
238
Can I pick my title?
kvprajapati
commented:
Helpful.
+14
crazydevelopervish
0
Light Poster
AleMonteiro
238
Can I pick my title?
crazydevelopervish
0
Light Poster
AleMonteiro
238
Can I pick my title?
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.