Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't figure out why?
Message
From
14/09/2006 02:29:30
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Can't figure out why?
Miscellaneous
Thread ID:
01153598
Message ID:
01153598
Views:
69
The C#.Net code below works:
private void pckCustomer_ItemSelected(object sender, mmPickerItemSelectedEventArgs e)
{
   this.oOrder.GetOrdersByCustomerID("Select Orders.OrderID, Orders.OrderDate, Orders.RequiredDate, Orders.ShippedDate, Orders.ShipName, Customers.ContactName From Orders, Customers Where Orders.CustomerID = Customers.CustomerID And Orders.CustomerID Like '%"+this.pckCustomer.Text+"%'", 1 );
}
But if the code is put in multiple lines like below, it gives me an error:
private void pckCustomer_ItemSelected(object sender, mmPickerItemSelectedEventArgs e)
{
    this.oOrder.GetOrdersByCustomerID("Select Orders.OrderID, 
        Orders.OrderDate, Orders.RequiredDate,  
        Orders.ShippedDate, Orders.ShipName, 
        Customers.ContactName From Orders, Customers
        Where Orders.CustomerID = Customers.CustomerID And
        Orders.CustomerID Like '%"+this.pckCustomer.Text+"%'", 1 );
}
What's wrong here? It seems that it does not recognize multiple lines...
Next
Reply
Map
View

Click here to load this message in the networking platform