I am doing a social portal project and hereby, i have a gridview which could display alll the users latest status updates. (For E.g: John is feeling very bored). Inside this gridview, i have another gridview which would retrieve comments for the status updates.
The problem i am facing over right now is , I am unable to retrieve the comments for the right status updates. For instance, when i post a comment into StatusID=134, when i retrieve, the comments will landed up at StatusID=133. Which means, it is lag by 1 StatusID. Below are my codes.. Could anyone give some suggestions?
Insert statement for the comment
Protected Sub StatusPost_Click(ByVal StatusID As [String], ByVal gv As GridView)
For Each row As GridViewRow In (gv.Rows)
Dim textBoxText As String = DirectCast(row.FindControl ...
Go to the complete details ...