Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
F

frostcox

@frostcox
About
Posts
27
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Why would I use Azure?
    F frostcox

    Thanks very much for your informative answer. So specifically on the orchestration/management of these containers on lets say a windows VM running in the customers datacentre. Wouldn't you need to also deploy Kubernetes or Red Hat Openshift to deploy these containers in the wild so doesn't that add a level of complexity that a standard deployment doesn't?

    The Lounge sysadmin database sql-server cloud performance

  • Why would I use Azure?
    F frostcox

    Hey, can you elaborate a bit on how docker will give benefits when running on premis? I use docker a lot in my dev environment but not for deploying to production.

    The Lounge sysadmin database sql-server cloud performance

  • MCSD or MCPD??
    F frostcox

    Hey thanks for the reply, I think I remember reading somewhere that the MCPD exams are going to be retired in July, do you know anything about this??

    .NET (Core and Framework) question

  • MCSD or MCPD??
    F frostcox

    Hi thanks for your reply I re-phrased my question thanks

    .NET (Core and Framework) question

  • MCSD or MCPD??
    F frostcox

    Hey everyone, I want to obtain Microsoft Certification and im just wondering which certification is better to achieve MCSD or MCPD? Any suggestions are welcome.

    .NET (Core and Framework) question

  • Downvoting questions in "Quick Answers"
    F frostcox

    Hey I couldn't agree more, there are a few members who are just down voting a lot of questions/Answers just for the sake of it. If you don't think it's a good question or a good answer why is there such a need to down vote?? Just don't reply and move on. At the end of the day we are all here to learn off one another not ridicule those who try to help or need to be helped.

    Spam and Abuse Watch question

  • Try Catch
    F frostcox

    Thanks very much for your reply.

    ASP.NET discussion

  • Try Catch
    F frostcox

    Hey the thing is I know exactly when and where to use them it just seems that all through my code there are 100's of try catch blocks and I read very conflicting articles on wether or not this is best coding practice.

    ASP.NET discussion

  • Try Catch
    F frostcox

    Hey i wanna start a discussion on try catch blocks. I read a lot of conflicting opinions on wether or not to use them and where or where not to use them, I just want a diffinative answer. Cheers.

    ASP.NET discussion

  • Hurricane Sandy
    F frostcox

    Hey Guys, hopefully everything will be ok, may god be with u all!!

    The Lounge question

  • Excel Files
    F frostcox

    Hey Excel object model is a very powerfull object in the .net family. You can easly select Which values to export usind the Range property of the class. For instance if you wanted to export say cell A1 to A12 you can set the Excel.Range("A1 A12") when exporting hope this helps

    C# question css database tutorial

  • C# 2010 linkage through master pages
    F frostcox

    Hey, Just something to note, everybody is lead to believe that content pages are placed in to master pages when the application runs but it's actually the other way round, when you run you application, the webpage you run actually pulls the master page an displays it. So in short the content page is fired first and then the master page. Hope this helps you understand.

    ASP.NET question csharp windows-admin debugging announcement

  • procedure
    F frostcox

    ExecuteNonQurey should only be used for inserts, updates and deletes, if your preforming a select you should be saying ExecuteReader to return what ever you want, hope this helps, need any more help just ask.

    .NET (Core and Framework) database help mysql sysadmin announcement

  • how can i bind data from excel file?
    F frostcox

    Another way is to save the excel file in csv(tab seperated) format and use a streamreader to read the file. Then declare an array and split the reader into the array, if you need a code sample let me know and il gladly provide it.

    Web Development question

  • Modal PopUp extender
    F frostcox

    I take it that you dataset is got inside you loadgrid() function, so of course you code would check that the dataset and then display the modal if it were empty. am I missing something here?

    Web Development tutorial

  • Reading the contents of a file into an array
    F frostcox

    Hey I'd uses a streamreader. so store your csv file in a variable and read it in a using statement using streamreader and set your array = reader.split(',') or ('/t') depending on what format your csv file is in.

    Visual Basic data-structures help question

  • HTTP 404
    F frostcox

    Hey, have you debugged through your code and seen where it exactly crashes? place breakpoints in each function and see what exactly is the problem. Like the app could be failing because the url is incorrect, or it might be trying to parse out a value that is not there from your querystring. Anyway find out exactly where its crashing and il gladly help you.

    ASP.NET database csharp css asp-net help

  • Jquery quering the db
    F frostcox

    Was kinda thinking when the page firsts loads that I could some way store the values that were in the db and then if the user entered one of those values that jquery would present the user with a message to say this name already exists. I already have validation working for valid emails, lenght etc..

    JavaScript csharp javascript database tutorial question

  • how can i bind data from excel file?
    F frostcox

    Hey they are 2 ways which you can achieve this. You can get the cell range and store it in an array and then read the values from the array like so : this.openFileDialog1.FileName = "*.xls"; if (this.openFileDialog1.ShowDialog() == DialogResult.OK) { Excel.Workbook theWorkbook = ExcelObj.Workbooks.Open( openFileDialog1.FileName, 0, true, 5, "", "", true, Excel.XlPlatform.xlWindows, "\t", false, false, 0, true); Excel.Sheets sheets = theWorkbook.Worksheets; Excel.Worksheet worksheet = (Excel.Worksheet)sheets.get_Item(1); for (int i = 1; i <= 10; i++) { Excel.Range range = worksheet.get_Range("A"+i.ToString(), "J" + i.ToString()); System.Array myvalues = (System.Array)range.Cells.Value; string[] strArray = ConvertToStringArray(myvalues); TextBox.Text = strArray[0].ToString(); } } or you could use OleDb like so assuming you have a sheet in the excel file called MyObject : OleDbConnection con = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Book1.xls;Extended Properties=Excel 8.0"); OleDbDataAdapter da = new OleDbDataAdapter("select * from MyObject", con); DataTable dt = new DataTable(); da.Fill(dt); Hope this helps

    Web Development question

  • How to read Doc or Pdf file using javascript or jquery
    F frostcox

    Hey I needed this functionality a few weeks back and I came across these ready-made-plug-in's Multiple File Upload, Single File. I know its kinda cheating but you can disect the code to understand how it works.

    JavaScript javascript tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups