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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

code_explorer

@code_explorer
About
Posts
4
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • populate details view or list view with non empty rows
    C code_explorer

    Sir, If I will use that sql query then null age records will not be included in dataset. I just want to eliminate empty rows alongwith their lables in my details or form or list view.

    ASP.NET

  • populate details view or list view with non empty rows
    C code_explorer

    Dear friends, I want to populate a formview or details view or list view in such a way that empty rows will not be displayed at all i.e. suppose there are records in a database having name, age and qualification field. I have some records which do not have age field. I want to populate formview or details view or list view in such a way that for those who have age their records are diplayed alongwith their age. But who don't have, instad of displaying empty fields I do not want to show its row alongwith its label (age) at all. One more thing. How to display multiple records (say 5) in formview or details view or list view alongwith paging (I know paging but don't know how to display particular no of records per page). I will be very much thankful.

    ASP.NET

  • Unable to read black and white image
    C code_explorer

    Dear Friends, I am using the following code to read colored (24 bit) image into array, but when I want to read black and white (1 bit image) it gives error "AccessViolationException unhandled" "Attempted to read or write protected memory. This is often an indication that other memory is corrupt.": public static bool identifyLine(Bitmap imtooperated) { ArrayList blah = new ArrayList(); BitmapData bmData = new BitmapData(); Rectangle rect = new Rectangle(0, 0, imtooperated.Width, imtooperated.Height); bmData = imtooperated.LockBits(rect, ImageLockMode.ReadOnly, imtooperated.PixelFormat); int stride = bmData.Stride; int range=0; unsafe { byte* p = (byte*)(void*)bmData.Scan0; for (int y = 0; y < imtooperated.Width; y++) { for (int x = 0; x < imtooperated.Height; x++) { blah.Add(p[range]); //here error comes range++; } p += 1; } p += stride; } imtooperated.UnlockBits(bmData); return true; } Please help.

    C# help graphics data-structures performance

  • How to develop line art based program
    C code_explorer

    Dear Friends, I want to know that how line art based programs like autocad. Or progrms where we can draw circles or lines, drag them, join two lines at a point are developed. Please guide me if you have source code of any small program please post it or email it I will be very much thankful to you.

    C# 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