i am using datalist. i have taken a table in Datalist.and i want to use another datalist in this table. When i use another datalist .then DataBind is not working.
So i can use one Datalist into Another Datalist?
and also I have to Fetch record in Both DataList from different tables.
You can get the data from 2 different tables
I would use a dataset
Bind Table1 to parent datalist
And on ItemDataBound event of parent datalist get the corresponding rows from table2 and bind them to child datalist
This way, you dont have to read from DB once for each row on table1
dim MyMsg as new MailMessage()
MyMsg.From = new MailAddress("email@example.com", "My Admin")
MyMsg.Subject = "My Reports"