Recent content by jamie_pattison

  1. J

    Sort multiple columns in gridview

    Never mind i noticed i forgot to set the view state again..... Although if anyone knows how to sort multiple view then please advise.
  2. J

    Sort multiple columns in gridview

    I am trying to sort a gridview which contains around 10 columns. I have the below code which works to an extent but i cant reverse the procedure (i.e. Ascend the row). In addition im not sure how i could sort multiple columns rather than just one? page_Load ViewState("sort") = "" End Sub...
  3. J

    How to display data

    True, but i wouldnt have asked this question if i knew the answer now would i? Point was that i thought in case there were third party controls or a way that anyone else has done something similar, however the approach i took was to have a repeater with a table and insert a label within the cell...
  4. J

    How to display data

    I have an app where user1 would log in send a message to the Support team. The Support personnel would then see it on their system and can send a reply back to them and so forth. What control would be appropriate to display the conversation? I understand i could use a SQL Stored proc to order...
  5. J

    Advice on getting detauls from employee

    I would like to get all of an employee details along with their previous employment history. What controls could I use to get the employees details at stage one and then prev employers at stage two? Especially when they have multiple employers. What could the database look like?
  6. J

    N Tier layer questions

    Thanks Ian. The way i read the code i think it would make two calls to get two details as opposed to making one call loading the object with the data and then using that object?
  7. J

    N Tier layer questions

    I created a website using the following structure: Class Project - Called DataAccessLayer > Added a Dataset > Add a tableAdapter and Datatable with a query called GetcustomersByID(ID) Class Project - Called BusinessLayer > Created some code to call into the DataAccessLayer and return the...
  8. J

    Class creation questions

    Where could i find this tool if one has been used? I don't think it has as most tools would have a comment stating a tool has been used but i could be wrong? Are there any links/tutorials where i could read up how this class has integrated with the data model? Or even a book? Thanks again
  9. J

    Class creation questions

    I have a project that im maintaining. I have come across the following class <MetadataType(GetType(Customer.CustomerMeta))> _ Partial Public Class Customer Friend Class CustomerMeta <Required(), StringLength(20)> Public FirstName As String End Class Questions are: 1. Is this the 'standard'...
  10. J

    Linq to XML data and service

    I am consuming a web service which i believe is raw XML (in case my terminology is incorrect then the service address is http://site/service). If i send a request then i send it as http://site/service/?name=MyNameIs. Once i do that i see an XML page in my browser. I would like to have the...
  11. J

    Create a popup

    Im looking to create a pop up so when a user clicks a button on a webpage it opens up in a new window. Ive seen a few articles but not sure which one may apply to this situation. In short i would like a user to click a button a small window (200px x 300px) shows up and the user can enter some...
  12. J

    Cannot be converted to '1-dimensional array

    Ok so if i have Dim myhouseList as Array then is that along the right line? No, not a list it has to be an array (Im sure i tried a List and it didnt work)
  13. J

    Cannot be converted to '1-dimensional array

    This is a little trickier than i thought...... Dim arrHouseList() as HouseList but none of the houselist properties appear?
  14. J

    Cannot be converted to '1-dimensional array

    Im using a service to get a list of houses based on the input from a customer. When i pass in GetListHouse i get the error "Value of type 'HouseList' cannot be converted to '1-dimensional array of HouseList'.". So i understand that i need to insert the item that im referring to i.e...
  15. J

    N Tier structure

    Using Linq to SQL I am wondering if the below procedure is correct? (DAL= Data Access Layer, DTO= Data Transfer Object, BLL= Business Logic Layer Add a Class Library project and call it DAL. Delete the existing class and add a Linq to SQL file. Drag/drop required tables etc. Add another Class...
Top Bottom