User Profile

Collapse

Profile Sidebar

Collapse
Smurfas
Smurfas
Last Activity: Oct 7 '08, 09:05 PM
Joined: Jul 16 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Smurfas
    started a topic C# and OpenGL
    in .NET

    C# and OpenGL

    Hi, I programin whit C# and OpenGL, but I have one problam. I don't find wha't is wrong. Windows is white, don't do enything.

    What's wrong?

    And maybe some no good OpenGL+C# book for beginner?
    Code:
    using System;
    using System.Collections.Generic;
    using System.Text;
    using Tao.OpenGl;
    
    namespace image
    {
        class Begin
        {
            static void Main(string[]
    ...
    See more | Go to post

  • Smurfas
    replied to get method
    in .NET
    But how put many information in web site?
    If I all information put in one page, very long load.

    How make this site:
    https://support.dell.co m/

    Top and footer allways same, but middle always different. Some includin page...
    Maybe some have Idias?...
    See more | Go to post

    Leave a comment:


  • Smurfas
    replied to get method
    in .NET
    Thanks, you help me ;]

    But I have another problam.
    How in C# use include? I have php example
    Code:
    if(isset($_GET['index'])) {
    include("news.php");
    } elseif(isset($_GET[2])) { 
    include("2.php");
    } else { 
    include("3.php");
    How this looks in C#? How use include?
    I wont in page center insert another page.
    See more | Go to post

    Leave a comment:


  • Smurfas
    started a topic get method
    in .NET

    get method

    How this looks in ASP C#?
    Or how use get method in ASP C#?

    Code:
    <html>
    <head>
    </head>
    <body>
    <p align="center">This text befor script. Don't change</p>
    <?php
    $id = $_GET['id'];
    
    
    if ($id == "") {
    ?>
    <p align="center">This index.<a href="index.php?id=news">Go
    ...
    See more | Go to post

  • Smurfas
    replied to Write news script
    in .NET
    Yes, I need simple Blog sample or guest book without xml.

    I some have, what i need, but i need full example
    Code:
    <asp:HyperLink ID="FullNewsHyperLink" runat="server" NavigateUrl='<%# Eval("NewsId", Server.HtmlDecode("~/Default.aspx?NewsId={0}")) %>' Text="Full News" />
    ...
    See more | Go to post

    Leave a comment:


  • Smurfas
    replied to Write news script
    in .NET
    Still don't understand my problam?
    See more | Go to post

    Leave a comment:


  • Smurfas
    replied to Write news script
    in .NET
    Sorry, I bad speak English...
    I need sample News scriptas(Write news in my page)

    I have pictures, I hope now youn understand:



    http://smurfas.puslapiai.lt/newsScript.JPG...
    See more | Go to post

    Leave a comment:


  • Smurfas
    started a topic Write news script
    in .NET

    Write news script

    Hi, I write News Script:
    Write news skript, but how maket that - Whent I push "Read Full News" show full news? Some like that: http://blogs.msdn.com/


    Sorry, for bad English


    My script
    Code:
     protected void Button1_Click(object sender, EventArgs e)
        {
            
            if (NewsName.Text == "") { LaukasTuscias.Text = "Irasykit naujienos varda";
    ...
    See more | Go to post

  • Smurfas
    started a topic Found All IP from x.x.x.1 to x.x.x.256
    in .NET

    Found All IP from x.x.x.1 to x.x.x.256

    For example i need:
    123.123.123.1
    123.123.123.2
    ....
    123.123.123.256
    -------------------------------------------
    I write code:
    Code:
            
            for (int i = 0; i < IPadresas.Length; i++)
            {
                IPad_cut[i] = IPadresas[i];
                if (IPad_cut[i] == '.') { dotCOUNT++; }
                if (dotCOUNT == limit) { break; }
    ...
    See more | Go to post

  • Nobody have Idias? :[
    See more | Go to post

    Leave a comment:


  • Smurfas
    started a topic Insert in two tables

    Insert in two tables

    Hi, i Write in two table (HelpDesk nad HelpDesk2) + use Stored Procedure(Inser tHelpDesk and InsertHelpDesk2 )

    In first table (HelpDesk) don't insert record. Why?

    in second (HelpDesk2) all ok. All record insert.

    //--------Write to firs table, HelpDesk

    SqlConnection conn;
    SqlCommand comm;

    string connectionStrin g = ConfigurationMa nager.Connectio nStrings[...
    See more | Go to post

  • I have parallel question.

    I use this, when i found Computer name:

    String IP = "127.0.0.1" ;
    String Vardas = System.Net.Dns. GetHostEntry(IP ).HostName;

    How in this function put My made-up IP Address?(I don't wont found IP automation) :

    string name = Page.User.Ident ity.Name;
    name = name.Substring( name.IndexOf(@" \") + 1);

    I hop understant my...
    See more | Go to post

    Leave a comment:


  • Smurfas
    replied to C#, Stored procedure
    in .NET
    I just need simpla example...

    I can put information in DB, get information for DB, update, delete. (without SP)
    But about Stored Procedures I don't know near nothing....
    See more | Go to post

    Leave a comment:


  • Smurfas
    replied to C#, Stored procedure
    in .NET
    "Are you asking how to write that query as a SP? " - Yes...
    See more | Go to post

    Leave a comment:


  • Smurfas
    replied to C#, Stored procedure
    in .NET
    Thanks ;]

    Maybe you now, how like this, whit Stored Procedure

    Code:
                     SqlConnection conn;
                    SqlCommand comm;
                 
                    String connectionString =
                    ConfigurationManager.ConnectionStrings[
                    "Smurfas"].ConnectionString;
                    conn = new SqlConnection(connectionString);
    ...
    See more | Go to post

    Leave a comment:


  • Smurfas
    started a topic C#, Stored procedure
    in .NET

    C#, Stored procedure

    Hi,
    what's is Stored Procedure? Why use?

    Maybe have simple example, who send information to SQL DB.


    O long use google, bet found many information, and don't now which information is correct. Found examples but all hard. I don't understand.
    See more | Go to post

  • Smurfas
    replied to found computer username C#, asp
    in .NET
    Thanks,
    but don't know function which show only username(login) ?


    Now whit Split function webpage had loaded, crammed.
    See more | Go to post

    Leave a comment:


  • Smurfas
    started a topic found computer username C#, asp
    in .NET

    found computer username C#, asp

    Hi, when I use:
    string name = Page.User.Ident ity.Name;
    or
    string name = Request.LogonUs erIdentity.Name ;

    I found computer name\username (who login)
    for example: Computer2\Jhon

    But, how find only username(login)
    for example: Jhon
    See more | Go to post

  • Smurfas
    started a topic Free Host with aspx and

    Free Host with aspx and

    Hi, I need Free host with:
    MS SQL Server 2005 and aspx(.net 3.0 or 3.5)

    Maybe who now?
    See more | Go to post

  • Yes, hi in local network...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...