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
S

student1988

@student1988
About
Posts
9
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • print button to print a control
    S student1988

    Sorry !! I didnt know it has been posted twice. the first time I posted it didnt appear on the forum board and gave me a message saying the website is installing some updates.:confused:

    C# graphics question

  • print button to print a control
    S student1988

    Hi people, I want to have a print button in my GUI to print the contents of a panel (control drawn using Graphics class) perhaps to take a screenshot of the panel and print it out as an image. Does anyone have any idea how I can do this? Cheers :)

    C# graphics question

  • Convert .Net datatype to Mysql datatype
    S student1988

    During runtime when I execute shiftInsertNewRow() method I get a Format exception at this line: command.ExecuteNonQuery() that says input string was not in a correct format.

    C# question csharp database mysql help

  • Convert .Net datatype to Mysql datatype
    S student1988

    it threw the same format exception again.

    C# question csharp database mysql help

  • Convert .Net datatype to Mysql datatype
    S student1988

    well I tried to assign a DateTime object to Value but it didnt work either command.Parameters[1].Value = DateTime.Now; command.Parameters[2].Value = DateTime.Now;

    C# question csharp database mysql help

  • Convert .Net datatype to Mysql datatype
    S student1988

    Hi people, I have the a form in my application where the user can enter a data and time and then save it to a Mysql database. but I get a FormatExeption saying "Input string was not in a correct format" How can I convert from .net datatime datatype to Mysql database type ? Heres my method for inserting a row that contains a datetime datatype private void shiftInsertNewRow() { conn = new MySqlConnection ("datasource=localhost;username=admin;password=student;database=hospital"); conn.Open(); MySqlCommand command = new MySqlCommand ("insert into shifts(ShiftID, Starttime, Endtime, WardID, NurseID) select ?ShiftID, ?Starttime, ?Endtime, ?WardID, ?NurseID", conn); command.Parameters.Add(new MySqlParameter("?ShiftID", MySqlDbType.Int32)); command.Parameters.Add(new MySqlParameter("?Starttime", MySqlDbType.Datetime)); command.Parameters.Add(new MySqlParameter("?Endtime", MySqlDbType.Datetime)); command.Parameters.Add(new MySqlParameter("?WardID", MySqlDbType.Int32)); command.Parameters.Add(new MySqlParameter("?NurseID", MySqlDbType.Int32)); command.Parameters[0].Value = shiftidTextBox.Text; command.Parameters[1].Value = startTimeTextBox.Text; command.Parameters[2].Value = endTimTextBox.Text; command.Parameters[3].Value = wardShiftidTextBox.Text; command.Parameters[4].Value = wardNameTextBox.Text; command.ExecuteNonQuery(); conn.Close(); } any help would be greatly appreciated :)

    C# question csharp database mysql help

  • the best way to draw a calendar in C#
    S student1988

    what do you mean by third party control? something like Google calendar API Cheers

    C# csharp graphics xml help tutorial

  • the best way to draw a calendar in C#
    S student1988

    Thanks for the reply, Rob. this is not what i im looking for though. i want to draw a calendar for a schedule and to have the days of the week displayed vertically and the time horizontally (similar to school timetable format) and then to populate this with shifts created in the program.

    C# csharp graphics xml help tutorial

  • the best way to draw a calendar in C#
    S student1988

    Hi im trying to implement a calendar interface in my C# application but im not sure what the best way to draw the calendar is - i had a look at the form controls in visual C# 2005 and thought the datagridview might be a good start then populate it with events from an Xml file Another possible solution would be google calender but i couldnt find any help with drawing google calender in C# application and thier tutorial was about adding and manipultaing events using .NET cliet libraries. Does anyone have any ideas for this? i would appreciate any help Cheers

    C# csharp graphics xml help 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