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
J

JAYRAJ GIRI

@JAYRAJ GIRI
About
Posts
33
Topics
32
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Entity Frame work
    J JAYRAJ GIRI

    I have Use Entity Frame work in my web application

    C#

  • MVC
    J JAYRAJ GIRI

    what is fast datacommunication in mvc

    .NET (Core and Framework) asp-net architecture question

  • Silverlight/WPF
    J JAYRAJ GIRI

    i know google but i want to just basic example in silverling

    WPF csharp wpf question

  • Silverlight/WPF
    J JAYRAJ GIRI

    what is SilverLight

    WPF csharp wpf question

  • sharepoint [modified]
    J JAYRAJ GIRI

    inroduction of share point with example

    modified on Sunday, March 7, 2010 7:54 AM

    LINQ sharepoint tutorial

  • lnq
    J JAYRAJ GIRI

    What is LINQ :rolleyes:

    LINQ csharp linq question

  • String Compair
    J JAYRAJ GIRI

    hello Friends i want String Compairions function like str1=This is demo str2=this is Demo above str1 and str2 are same Thank you @};-

    ASP.NET

  • how to use ObjectDataSource
    J JAYRAJ GIRI

    How to use ObjectDataSource with example

    Database tutorial

  • how to use capcha code
    J JAYRAJ GIRI

    hello i want code in use capcha img use and give small example Thanx @};-

    ASP.NET tutorial

  • Crystal Report [modified]
    J JAYRAJ GIRI

    how to create reports

    modified on Sunday, April 12, 2009 1:52 AM

    ASP.NET tutorial

  • Crystal report in new [modified]
    J JAYRAJ GIRI

    generate date to date reports

    ASP.NET

  • how to call
    J JAYRAJ GIRI

    how to call function in class page to default.asp x

    ASP.NET tutorial

  • Share Point [modified]
    J JAYRAJ GIRI

    What is Share Point? how to work in Asp.net in Share Point with some example

    ASP.NET tutorial question csharp asp-net

  • key press [modified]
    J JAYRAJ GIRI

    If Not (e.KeyChar >= "0" And e.KeyChar < "9" Or e.KeyChar = vbBack) Then e.Handled = True

    modified on Sunday, March 8, 2009 12:49 AM

    Visual Basic

  • my vb.net code
    J JAYRAJ GIRI

    Public Class Form12 Dim ds As New DataSet Dim da As New SqlClient.SqlDataAdapter Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim CN As New SqlClient.SqlConnection CN.ConnectionString = "Data Source=homepc\sqlexpress;Initial Catalog=Northwind;Integrated Security=True" Dim cmd As New SqlClient.SqlCommand cmd.Connection = CN cmd.CommandText = "Select * From Customers" da.SelectCommand = cmd da.Fill(ds, "Customers") da.Fill(ds, "CustomersDummy") Dim PK(0) As DataColumn PK(0) = ds.Tables("Customers").Columns("CustomerId") ds.Tables("Customers").PrimaryKey = PK MsgBox("ok") Me.DataGridView1.DataSource = ds Me.DataGridView1.DataMember = "Customers" End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click MsgBox(Me.ds.Tables.Count) Me.ComboBox1.Items.Clear() For Each tbl As DataTable In ds.Tables Me.ComboBox1.Items.Add(tbl.TableName) Next End Sub Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged Dim tbl As DataTable = ds.Tables(Me.ComboBox1.SelectedItem) Me.ComboBox2.Items.Clear() For Each col As DataColumn In tbl.Columns Me.ComboBox2.Items.Add(col.ColumnName) Next End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim tbl As DataTable = ds.Tables(Me.ComboBox1.SelectedItem) Dim Ans As String = "" For Each dr As DataRow In tbl.Rows Ans &= dr.Item(Me.ComboBox2.SelectedItem) & ", " Next MsgBox(Ans) End Sub Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Dim dr As DataRow Dim Str As String = InputBox("Enter Customerid") dr = ds.Tables("Customers").Rows.Find(Str) If dr Is Nothing Then MsgBox("Not found...") Exit Sub End If MsgBox(dr.Item("ContactName") & "-" & dr.Item("Country")) dr.BeginEdit() dr.Item("ContactName") = "Mr. " & dr.Item("ContactName") dr.Item("Country") = dr.Item("Country").ToString.ToUpper dr.End

    Visual Basic csharp security

  • call dll
    J JAYRAJ GIRI

    i want code click button and call dll file in vb.net application

    Visual Basic csharp

  • [Message Deleted] [modified]
    J JAYRAJ GIRI

    Public Class Form1 Dim flag As Integer = 1 Dim tem, j As Integer Private Sub timer(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Dim path As String = "C:\C#\LED\off.gif" Dim path1 As String = "C:\C#\LED\on.gif" Me.PictureBox1.Image = Image.FromFile(path) If j <= Val(Me.TextBox2.Text) Then If flag = 1 Then Me.PictureBox1.Image = Image.FromFile(path) flag = 0 ElseIf (flag = 0) Then Me.PictureBox1.Image = Image.FromFile(path1) flag = 1 End If j = j + 1 If j = Me.TextBox2.Text Then Timer1.Interval = Me.TextBox3.Text * 1000 j = 0 End If End If End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click tem = Math.Floor(Val(Me.TextBox1.Text / Me.TextBox2.Text)) Timer1.Enabled = True Timer1.Interval = tem * 1000 End Sub End Class

    modified on Monday, March 9, 2009 3:33 PM

    ASP.NET csharp

  • how to retrieve data
    J JAYRAJ GIRI

    hello how can retrieve data in database i want fill all the check box selected from database use JavaScript asp.net

    ASP.NET csharp javascript asp-net database tutorial

  • retrieve check in data base
    J JAYRAJ GIRI

    SqlConnection cn = new SqlConnection(@""); string []Sel=new string[3]; int Cnt; protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { SqlCommand cmd = new SqlCommand("Select * from color", cn); SqlDataAdapter da = new SqlDataAdapter(cmd); DataSet ds = new DataSet(); da.Fill(ds, "color"); string d; for (int i = 0; i <= ds.Tables[0].Rows.Count - 1; i++) { for (int j = 1; j <= ds.Tables[0].Columns.Count-1; j++) { d = ds.Tables[0].Rows[i].ItemArray[j].ToString(); Sel = d.Split(new Char[] { ',' }); Cnt = Sel.Length; switch (j) { case 1: { multchk(chk1, chk2, chk3, Sel); break; } case 2: { multchk(chk4, chk5, chk6, Sel); break; } } } } } protected void multchk(CheckBox ch1,CheckBox ch2,CheckBox ch3,string []str) { if (Cnt==1) { if (str[0] == "1") ch1.Checked = true; if (str[0] == "2") ch2.Checked=true; if (str[0] == "3") ch3.Checked = true; } if (Cnt==2) { if (str[0] == "1" || str[1] == "1") ch1.Checked = true; if (str[0] == "2" || str[1] == "2") ch2.Checked = true; if (str[0] == "3" || str[1] == "3") ch3.Checked = true; } if (Cnt==3) { if (str[0] == "1" || str[1] == "1" || str[2] == "1") ch1.Checked = true; if (str[0] == "1" || str[1] == "2" || str[2] == "3") ch2.Checked = true; if (str[0] == "1" || str[1] == "2" || str[2] == "3") ch3.Checked = true; } } protected void singchk(CheckBox ch1,CheckBox ch2,string []str) { if (str[0] == "1") ch1.Checked = true; if (str[1] == "2") ch2.Checked = true; }

    ASP.NET

  • store data in database use check box
    J JAYRAJ GIRI

    i have store data use check box selected in text how cant retrieve data in check box retrieve time fill the check box selected with find own text like store database text in mango fruits banana[] mango[,] orange[]

    ASP.NET database
  • Login

  • Don't have an account? Register

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