Answer Posted / sona
this one fr retrieving
private void CheckChkBoxStatusRetrieve()
{
ArrayList objChkBoxRetrieve=new ArrayList();
if (Cache[(Session["Userid"]
+ "BankReconChkBoxID")] != null)
{
objChkBoxRetrieve=(ArrayList)Cache[(Session
["Userid"] + "BankReconChkBoxID")];
for (int j = 0; j <
objChkBoxRetrieve.Count; j++)
{
for (int i = 0; i < CurPageCnt; i++)
{
if (objChkBoxRetrieve[j].ToString()
== ((Label)lstBankReconcilation.Items[i].FindControl
("lblVoucherId")).Text)//lblVoucherNo
{
((CheckBox)
lstBankReconcilation.Items[i].FindControl
("chkReconcile")).Checked = true;
((TextBox)
lstBankReconcilation.Items[i].FindControl
("txtReconcileDate")).Text = DateTime.Now.ToString
("dd/MM/yyyy");
}
}
}
}
}
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to get Dynamically Linked Comboboxes Set?
Code for Presenting Parent/Child Data in a Data Grid Row?
Coding for Synchronizing Cache Access in ASP.NET?
How to Bind Nested XML to a Repeater Control with Container.DataItem?
How to use Client-side Script to Focus Controls in ASP.NET?
What is the code of Password Recovery or Forget your password? Plz tell in c # language.
how to track links visited in google using iframes
ArrayList declaration in .net
Code for Communicating over Sockets?
Coding for .NET Delegates?
How we use ajax in asp.net through javaScript. Please givee me an example.
Code for Creating a Form Using PlaceHolder Controls?
how to create a search bar which access data from various websites and retrieves the data
Code for Document Validation in XML.NET?
Code for Using Keyboard Events?