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
R

roya irani

@roya irani
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • login from read file.txt
    R roya irani

    public string connectionString = "Data Source=" + File.ReadAllText(Path.GetDirectoryName(Application.ExecutablePath) + "\\PCName.txt").ToString() + ";Integrated Security=SSPI;Initial Catalog=" + File.ReadAllText(Path.GetDirectoryName (Application.ExecutablePath) + "\\DBSName.txt"); use a this code in your Program,and make a notepad file in your one of the drive in your computer. just write your computer name in notpad the save it and close. :) if you don't have database, you don't write DBSName.txt in codesource.

    C# security question

  • [Help] Data two tables with c#
    R roya irani

    using the following code you write.

    using Microsoft.SqlServer.Management.Smo;
    using Microsoft.SqlServer.Management.Common;
    using System.Data.SqlClient;

    DataTable dataset = new DataTable();

    dataset = Ds.DataTab("select M.*,P.Name,P.Id From Pay P Mem M where M.Id = " + Ds.TrueInt(Member.Text));

    dataset = Ds.DataTab("select * from Pay where Member =" + Ds.TrueInt(Member.Text + ""));

    dataset = Ds.DataTab(string.Format("select (Name+' ' + FName) as fullName from Mem where Id = '{0}'", Convert.ToInt32(Member.Text)));
    NameFName.Text = dataset.Rows[0].Field<string>("fullName");

    With this command you can use the SQL table at your disposal form (C #)

    C# help csharp
  • Login

  • Don't have an account? Register

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