Search results

  1. Lotok

    MVC4 Authorization

    I am trying to get to grips with MVC so I am redoing a site in MVC 4 just as a practice. I do not want to use the provided accounts controller which uses ASP.NET user management and roles. Instead I want to customize how users and roles are handled as a means to learn. My question really is...
  2. Lotok

    Question Reporting best practice

    I have created reporting in apps and also in ssrs, but never had to call ssrs reports from an app. I have now been asked to. My question is not a how-to but more should I advise against it. Having my apps call something managed separately and having no control over it's existence causes...
  3. Lotok

    Unexpected Datatable Behaviour

    I have an application where the initial form downloads a list of status's to a DataTable. That form then passes that DataTable byval over to other forms, which saves each form from accessing the same static data from the Database. Example Status's, Open, Closed, Awaiting Authorisation...
  4. Lotok

    Question Selecting DataGridViewRows using LINQ

    I am maybe having an off day here and doing something daft. I am trying to select some DGVRs from one datagridview to another using LINQ. I already have a databound table containing the data, this other table shows a subset of the information. So I am querying the existing table and applying...
  5. Lotok

    VS2012 Development Server Settings

    I have a couple of issues with the VS2012 development server. It seems to show as .NET 2, when the application I am writing is .NET 3.5. Now i know 3.5 is an addon to 2 however pretty sure it should show as 3.5. The other problem is application permissions. I am building an intranet tool for our...
  6. Lotok

    MSSQL INSERT Based on MS Exchange Event

    I have been asked something today which I have never had to do, so I am completely open to ideas on how to go about it. I wrote a helpdesk application a while back and I have been asked to extend it, so when an email goes into an IT mailbox, it automatically raises an incident in the helpdesk...
  7. Lotok

    Question Visual Studio differences for C# and VB.NET

    I am switching my language from VB.NET to C#, I accounted for a few weeks of slow coding as I get used to the different syntax which is fine, what I didnt account for is the differences in Visual Studio. a couple of examples: 1) With VB.NET winforms, visual studio provides a handy dropdown at...
  8. Lotok

    Tip SharePoint 2010 - List to DataTable Code.

    Hey Fellas Here is some code I have written for extracting a SharePoint list to a DataTable. As it stands it works fien but does take 3 or 4 seconds to complete. As well as this just being me sharing some code, I am also happy to hear ideas for making it more efficient. The Client Object...
  9. Lotok

    Best Practice Reading Material

    Does anyone have some good links or recommendations for best practice reading? I have done VB.NET for a few years now and can usually come up with code to solve the problem at hand, however there are always more than one way to skin a cat. I am looking to spend some time working with best...
  10. Lotok

    iTextSharp issues

    I am rewriting a Sharepoint 2010 Webpart to move away from PDFSharp to iTextSharp. The formatting required on this projects seems to lend itself better to iTextSharp's capabilities. With that said, I am having a few issues getting iTextSharp to play ball this morning and hoping we maybe have...
  11. Lotok

    ads

    Hey, I know you want to make a little cash out of this venture, but the ads are a little NSFW. I like helping folks out, used to do it on expert exchange but recently took a liking to here. But any chance of at least changing the ad types?
  12. Lotok

    Sharepoint

    It would be great to have a SharePoint specific forum. Most SharePoint code samples are c# so it would be a valuable resource to many. I was recently tasked with a SharePoint so have had to learn a lot about the SharePoint assemblies, it would be cool to have a places to share the info and...
  13. Lotok

    LINQ query returning cast exception

    I am learning linq, up to this point its been going well but cant figure this one out! Using LINQ to query a sharepoint list, done it 100 times by this point but never had this problem before. Specified cast is not valid.SPAuthSnrMgmtChangesWP at Set__wrkflwCreateID(Object , Object ) at...
  14. Lotok

    Looking for reading suggestions (Sharepoint)

    I recently moved company and have had to revisit old skills, I use the word skills loosely! I havent been developing in ages so had to re-aquaint myself with vb.net while working on a project I was given. Now I have been asked to develop a sharepoint site. The company have WSS 3.0 on a server...
  15. Lotok

    Question Linq querying DataTables

    I am not great with linq and even after googling I am struggling, hoping someone can help. TABLE1 Created from CSV 1 column, string format. Contains a numeric ID TABLE 2 From SQL 30 columns (col 4 has ID matching table 1) ID is double datatype I need to compare the 2 tables, then only keep...
  16. Lotok

    Question DataGridview: keep row style upon sort

    I have a datagrid control on a winform. During the process of data manipulation, via form button presses, the code will highlight some Cells (ones containing errors). when an error is detected I have an arraylist of string arrays. My initial thinking was to input the row index and column name...
  17. Lotok

    I need a fresh pair of eyes. (DataTable.Select)

    I've done these a million times but for some reason this one isn't working, I just cant see why. Dataset mapds has 1 table and 1 column with 40k rows of numbers, int64's mainly but some smaller. All I am doing is comparing a set of numbers in another dataset to the numbers in mapds. If they...
Top Bottom