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
M

mertkan65

@mertkan65
About
Posts
22
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Hash Table
    M mertkan65

    Hi, What is the Type of SchoolID? I am assuming it is "int" then you can try to write this line; List.Add((int)SchoolDT.Rows[cboSchool.SelectedIndex]["SchoolID"],cboSchool.Text.ToString());

    Mert Kantarcıoğlu

    C# help csharp data-structures cryptography tutorial

  • DataGridView SelectionBackColor and Transparency Problem
    M mertkan65

    Hi, In my DataGridView component there are two columns that have to be transparent when they are selected. Becouse these cells are CheckBox cells and their backgorund colors are important, I want that background color will be visible when they are selected. The problem is while they are selected, if I minimize program to taskbar and maximize again, these cells background color remain same with the desktop. After changing selection they are repainted and become normal. Also at first run, the same problem occurs. Do you have any solution or idea? Thanks.

    C# help question

  • DataGridView update
    M mertkan65

    You can use TableAdapter.Fill() Method to update DataGridView, assuming that DataGridView is bound to dataset, and it has BindingSource and TableAdapter.

    C# database question announcement

  • Dataset and DataGridView problem
    M mertkan65

    Thank you for your reply. ItemDataBound is a event of DataGrid and DataList, Since I am using DataGridView and developing windows application, this event is not useful.

    C# database question help

  • Dataset and DataGridView problem
    M mertkan65

    Hi, I have a SQL database and I want to display some items in my application with datagridview. I created stored procedures and datatables in my dataset. In one of the columns of the datagridview I want to draw an blinking image, but this image is not stored in database. For this image I have custom DGWCell and DGWColumn classes. How can I manipulate data while dataTable is creating? Or How can I override inherited DGWCell functions to draw an blinking image in that cell?

    C# database question help

  • Animated gif in DataGridViewCell
    M mertkan65

    Hello All, I want to show an animated gif in DataGridViewImageCell or DataGridViewCell. When I use DataGridViewImageCell, gif image is shown as static. I tried to use my custom class derived from DataGridViewCell, but I can not define any timer object in my custom class. My image is a simple circle colored red or yellow blinking on a white background. I tried to use Graphics class to draw the the image but I could not get any solution. Do you have any solution or comment about it? Thanks, Mert Kantarcioglu

    C# graphics question

  • DataGridView and Animated gif Problem!
    M mertkan65

    Hello All, I want to show an animated gif one of the DataGridViewColoumns, but it shows like static image. Do you have any suggestion? Thanks...

    C# help question

  • Is it possible?
    M mertkan65

    It is possible to generate source code from the class diagrams drawn in visio. But you need .net enterprise architect and visio enterprise architect editions.

    C# csharp tutorial question

  • NetworkStream.Length Property
    M mertkan65

    Should I put this code in my code? If it is so, "private m_NetworkStream = new NetworkStream();" it gives compile error. Can you give detailed information please?

    C# question

  • NetworkStream.Length Property
    M mertkan65

    Hi All, I want to use this property but in MSDN it says "This property is not currently supported and always throws a NotSupportedException.". When will it be supported? Can you suggest any other method or property?

    C# question

  • How to reconnect socket
    M mertkan65

    The recommended way to do this with V2.0 of the framework is to use the System.Net.NetworkInformation namespace.. This sample should get you started: public class NetInfoTest { public static void Main() { try { DumpIPAddresses(); NetworkChange.NetworkAvailabilityChanged += OnNetworkAvailabilityChanged; NetworkChange.NetworkAddressChanged += OnNetworkAddressChanged; Console.ReadLine(); } catch (Exception e) { Console.WriteLine(e); } finally { Console.ForegroundColor = ConsoleColor.Green; Console.BackgroundColor = ConsoleColor.Black; } } public static void OnNetworkAvailabilityChanged(object sender, NetworkAvailabilityEventArgs e) { if (e.IsAvailable) { Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine("Network Available"); } else { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine("Network *NOT* Available"); } } public static void OnNetworkAddressChanged(object sender, EventArgs e) { Console.ForegroundColor = ConsoleColor.Red; Console.BackgroundColor = ConsoleColor.Yellow; Console.WriteLine("Address change event at {0}", DateTime.Now.ToString()); Console.ForegroundColor = ConsoleColor.Green; Console.BackgroundColor = ConsoleColor.Black; DumpIPAddresses(); } public static void DumpIPAddresses() { //1. Get All Network Interfaces NetworkInterface[] NetworkInterfaces = NetworkInterface.GetAllNetworkInterfaces(); //2. Loop over the interfaces foreach (NetworkInterface NI in NetworkInterfaces) { //3. Select Ethernet Interface if (NI.NetworkInterfaceType == NetworkInterfaceType.Ethernet) { Console.WriteLine(Environment.NewLine); Console.WriteLine(En

    C# sysadmin tutorial

  • Connected to the network or not?
    M mertkan65

    Thank you for your reply, I dont need internet avaliability, but it is useful. I think I can use NetworkAvailabilityChangedEventHandler, as you wrote. Thanks again;)

    C# ios sysadmin question

  • Connected to the network or not?
    M mertkan65

    Hi all, I want to check whether computer is connected to the network or not. I use a boolean method IsNetworkConnected() as shown below. I wonder if this method is OK, if not can you suggest any method? public bool IsNetworkConnected() { IPAddress IPAd; ipHostInfo = Dns.GetHostEntry(Dns.GetHostName()); IPAd = ipHostInfo.AddressList[0]; if (IPAd.ToString() == "127.0.0.1") { return false; } else { return true; } }

    C# ios sysadmin question

  • How to check an internet connection
    M mertkan65

    I dont have much time, so may be this http://msdn2.microsoft.com/en-us/library/system.net.networkinformation.aspx will be useful

    C# csharp visual-studio tutorial

  • HOW TO TRANSFER DATA BY MODEM?
    M mertkan65

    You need a program uses "serial port" of the computer. I think yoru modem connected to PC trough serial port, if then you need to control serail port of the computer. After achiving control of the serial port, you need to read the "AT Commands" of the modem from its datasheet. Using these "AT commands" you can connect any modem and transfer any data you want. If you have no experience about these procedures, you have to spend time;) I gave the big picture, may be it will give a general opinion about the think you want.

    C# sysadmin tutorial question

  • Multicast Delegate
    M mertkan65

    it denotes but the delegates must return void, for example "public void delegate()"

    C#

  • Please HELP :: webbrowser within background worker [modified]
    M mertkan65

    May be the problem is using " Application.DoEvents()" in the delegate function. Using this method outside of the delegate function or DoWork method may be useful ;)

    C# help com

  • List Network(Lan) Computers
    M mertkan65

    I think this link will be helpful to you ;) http://www.codeproject.com/cs/internet/ListNetworkComputers.asp

    C# sysadmin help question

  • backgroundworker
    M mertkan65

    My BackgroundWorker experience is not so much but as I understood from MSDN, your code implemeantation is wrong. I think instead of "Application.DoEvents()" you can use "FormClosing.RunAsync()" method where you want your BW to start. For instance you can put this method in the other Form constructor. Calling "FormClosing.RunAsync()" starts your thread, thread will stop when it finishes its job or when you wants to stopped it. Since I dont know your whole code, I cant give exact code examples.

    C# help question announcement lounge

  • send and recieve bytes
    M mertkan65

    As I know there is no API for this purpose. It is used very common, may be someone has his own code and want to share;)

    C#
  • Login

  • Don't have an account? Register

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