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
A

Abdulnazark

@Abdulnazark
About
Posts
11
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Question regarding C#
    A Abdulnazark

    thanks..

    C# csharp tutorial question

  • Question regarding C#
    A Abdulnazark

    Now i got you, please try bellow

    static void Main(string[] args)
    {
    String s = "the bestiality displayed by the main character, Ali, suggests that there is a causality at stake here";
    string pattern = @"\bali\b";
    string replace = "/";
    var s1 = Regex.Replace(s, pattern, replace, RegexOptions.IgnoreCase);
    string[] parts = s1.Split('/');
    for (int i = 0; i < parts.Length; i++)
    Console.WriteLine(parts[i]+ i.ToString());
    Console.ReadLine();

        }
    
    C# csharp tutorial question

  • Question regarding C#
    A Abdulnazark

    http://stackoverflow.com/questions/6025560/how-to-ignore-case-in-string-replace

    C# csharp tutorial question

  • Question regarding C#
    A Abdulnazark

    i tried with your string 'My Name Is Ali' also and it return 'My Name Is'

    C# csharp tutorial question

  • Question regarding C#
    A Abdulnazark

    static void Main(string[] args) { String s = "aaa ali jskdfhskjdfhk ali sjkhfkjsfhkjsdh ali"; var regex = new Regex("ali", RegexOptions.IgnoreCase); var s1 = regex.Replace(s, "/"); string[] parts = s1.Split('/'); for (int i = 0; i < parts.Length; i++) Console.WriteLine(parts[i]); Console.ReadLine(); }

    C# csharp tutorial question

  • Question regarding C#
    A Abdulnazark

    try this string s="test1 ali test2 ali"; string[] parts = s.Replace("ali", "/").Split('/');

    C# csharp tutorial question

  • export gridview data to CSV file
    A Abdulnazark

    try the following <%@ Page Language="C#" .......... EnableEventValidation="false"%> in code don't forget to add

    Public Overrides Sub VerifyRenderingInServerForm(control As Control)
    ' Confirms that an HtmlForm control is rendered for the specified ASP.NET '
    ' server control at run time. '
    End Sub

    ASP.NET

  • Creating SQL statements in Access Databases
    A Abdulnazark

    try now I forgot to add table name

    SELECT ROOM.HotelNo, ROOM.RoomNo from ROOM
    LEFT JOIN RESERVATION ON (ROOM.HotelNo = RESERVATION.HotelNo) AND (ROOM.RoomNo = RESERVATION.RoomNo)
    WHERE (((RESERVATION.HotelNo) Is Null) AND ((RESERVATION.RoomNo) Is Null))
    ORDER BY ROOM.HotelNo

    Database database help

  • Difficult Select Query
    A Abdulnazark

    create table #tmp (ColA varchar(2),ColB varchar(100)) insert into #tmp select '1', '12.324.145' union all select '2', '425.152.643' union all select '3', '12' select a.ColA,t.c.value('.','varchar(100)') as col2 from (select cola,cast(''+replace(colB,'.','')+'' as xml) as c2 from #tmp) a cross apply c2.nodes('/t') t(c)

    Database question database

  • Multiple Queries in one Stored procedure
    A Abdulnazark

    add one column of to identify the table name like Select 'T1' as tbl, T1CL1 as col1,T1CL2 as col2 from T1 where T1CL3 = 'Something' union all Select 'T2', T2CL1,T2CL3 from T2 where T1CL2 = 'prm1' union all Select 'T3', T3CL3,T3CL4 from T3 where T3CL2 = 'prm2' union all Select 'T4',T4CL1,T4CL3 from T4 where T4CL2 = 'prm3' union all Select 'T5',T5CL1,T5CL3 from T5 where T1CL2 = 'prm4'

    Database database sharepoint help question

  • Creating SQL statements in Access Databases
    A Abdulnazark

    SELECT HotelNo, RoomNo from ROOM
    LEFT JOIN RESERVATION ON (ROOM.HotelNo = RESERVATION.HotelNo) AND (ROOM.RoomNo = RESERVATION.RoomNo)
    WHERE (((RESERVATION.HotelNo) Is Null) AND ((RESERVATION.RoomNo) Is Null))
    ORDER BY ROOM.HotelNo

    Database database help
  • Login

  • Don't have an account? Register

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