Syntax:
LookupSet(source_expression, destination_expression, result_expression, dataset)
The .NET Framework and ASP.NET help you create web applications and services for Windows.
LookupSet(source_expression, destination_expression, result_expression, dataset)
Lookup(source_expression, destination_expression, result_expression, dataset)
Use ReportServer select * from ExecutionLog3
.button:disabled
{
color:gray;
CURSOR: default;
}
.button
{
CURSOR:pointer;
}
protected void Page_Load(object sender, EventArgs e)
{
using(CustomerRepository cr = new CustomerRepository())
{
IQueryable<Customer> fCust = cr.getCustomers()
.Where(c => c.City_Id > 2);
foreach (var item in fCust)
{
Response.Write(string.Format(
"<br>Customer {0}'s cityId is {1}",
item.Name, item.City_Id));
}
}
}
public class CustomerRepository : IDisposable
{
IQueryable<Customer> iCust;
MyTestEntities db;
public CustomerRepository()
{
db = new MyTestEntities();
}
public IQueryable<Customer> getCustomers()
{
iCust = (from Customer c in db.Customers
select c);
return iCust;
}
public void Dispose()
{
db.Dispose();
}
}
$("#divRightOnFrame").css("width", "100%");
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">
</script>
<script>
$(document).ready(function(){
$("#btn").click(function () {
$("#iframe").attr("src", "Home.aspx");
return false;
});
});
</script>
Dim objDictionary As New Dictionary(Of String, String)
Dim objHashtable As New Hashtable
Dim sw As New Stopwatch
sw.Start()
For index = 1 To 1000000 Step 1
Dim str As String = index.ToString & "i"
objDictionary.Add(str, "Mitesh")
Next
Response.Write("<br>Dictionary Add time: " _
& sw.ElapsedMilliseconds.ToString())
sw.Stop()
sw = Nothing
sw = New Stopwatch
sw.Start()
For index = 1 To 1000000 Step 1
Dim str As String = index.ToString & "i"
objHashtable.Add(str, "Mitesh")
Next
Response.Write("<br>Hashtable Add time: " _
& sw.ElapsedMilliseconds.ToString())
sw.Stop()
sw = Nothing
sw = New Stopwatch
sw.Start()
For Each s As String In objDictionary.Keys
Next
Response.Write("<br>Dictionary Loop time: " _
& sw.ElapsedMilliseconds.ToString())
sw.Stop()
sw = Nothing
sw = New Stopwatch
sw.Start()
For Each s As String In objHashtable.Keys
Next
Response.Write("<br>Hashtable Loop time: " _
& sw.ElapsedMilliseconds.ToString())
sw.Stop()
sw = Nothing
I had more than 4000 items in searchable dropdownlist. I have used react-select but it was very slow. finally I found complete solution to ...