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
K

KrIstOfK

@KrIstOfK
About
Posts
125
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • HTML in in Lotus notes
    K KrIstOfK

    How do you mean with "that doesn't work"? You get an error? The layout isn't what you want in lotus notes? Lotus notes translates the html to text? ...

    Web Development csharp html com help

  • Html Table
    K KrIstOfK

    It's not that hard as you think you first add a first row (you already did that right) you add a cell to it (that's a first column) you add another cell to it (that's a second column) and so on till you have the column count you wished then you just add a second row just like you did the first row (initalize it, add it to the rows collection of the table, fill it with cells) btw i'm not going to give you code cause VB is not my friend ;-) (i use C#)

    ASP.NET html css database sysadmin tutorial

  • i need print function
    K KrIstOfK

    I don't think "rptTermOpration" is a standard class in ASP.net ... maybe something you wrote yourself? Maybe some third party kind of stuff... But in fact I don't think you can "print to printer" from asp.net at all. You can trigger the print dialog by using javascript.

    ASP.NET csharp asp-net help question

  • mortgage101 calculator
    K KrIstOfK

    Maybe we can make the whole site for you to? Come on guy, first try something out for yourself if you're stuck with a programming question then you can ask us. You're just asking for "everything you see on that page" ... You could ask the webmaster of mortgage101 if he wishes to share its code with you

    ASP.NET com tutorial question

  • access to local site
    K KrIstOfK

    okay add to that address the page they have to access for example when they have to go to "login.aspx" define that: htp://192.168.2.25:1281/mysite/login.aspx

    ASP.NET csharp asp-net question

  • access to local site
    K KrIstOfK

    NOOO in stead of 192.168.2.25 you have to use YOUR IP ADDRESS (which i don't know so I can't tell you, you have to look it up!) Go to START, press "RUN", type in "CMD" press "OK" typ in "IPCONFIG" press "ENTER" you get some letters on your screen one will say IP Address. . . . . . . . . . . : 192.168.2.25 (but it will be your ip address, not likely this one) you take THAT IP ADDRESS (which is YOURS) and make with THAT number the combination http://YOUR IP ADDRESS/mysite/ and give that to those people.

    ASP.NET csharp asp-net question

  • access to local site
    K KrIstOfK

    Then you type in the browser of those other persons http://:1281/mysite/ with your pc name, the name of your pc as it is known on the local network, what you also can use is your ip-address (start->run->cmd->ipconfig) and read the number like 192.168.2.25 for example the you can use http://192.168.2.25:1281/mysite/

    ASP.NET csharp asp-net question

  • access to local site
    K KrIstOfK

    Okay, but then it opens in web browser i hope (otherwise it can't be an asp.net website) so in a web browser you have an address bar somewhere ... in that addressbar should be the url, the url is that that you need in my previous post.

    ASP.NET csharp asp-net question

  • access to local site
    K KrIstOfK

    What is the address you test with?? Should be something as http://localhost/mywebsite/ or http://127.0.0.1/mywebsite/ then take that "mywebsite" part and paste it into http://yourpcname/mywebsite/

    ASP.NET csharp asp-net question

  • java script urgently.....
    K KrIstOfK

    Hi there, a whole lot of code (for once i made an example out of it). You'll see it does work!

    function go() {
    var optionCounter;
    var smalllist = document.getElementById('smalllist');
    var biglist = document.getElementById('biglist');

    var selectedValue = smalllist.options\[smalllist.selectedIndex\].value;
    
    for(optionCounter = 0; optionCounter < biglist.length; optionCounter++) {
    	if(biglist.options\[optionCounter\].value == selectedValue){
    		alert(biglist.options\[optionCounter\].text + " will be removed");
    		biglist.options\[optionCounter\] = null;
    	}
    }
    

    }

    one
    two
    tree
    four
    five
    six
    seven
    eight
    nine
    ten
    
    one
    two
    tree
    four
    five
    six
    seven
    eight
    nine
    ten
    
    Web Development java tools

  • can't add item to listbox
    K KrIstOfK

    Form1.cs

    private void InitializeComponent() {
    printMsg += new myEventHandler(AddItem);
    //some code here
    }

    public delegate void myEventHandler(string msg);
    public event myEventHandler printMsg;

    public void AddItem(string msg) {
    listBox1.Items.Add(msg);
    }

    Form2.cs

    [STAThread]
    Form1 frm;
    static void Main() {
    frm = new Form1();
    Application.Run(frm);
    }

    private void button1_Click(object sender, System.EventArgs e) {
    //Form1 f = new Form1();
    frm.AddItem("just testing");
    }

    C# testing beta-testing help question

  • access to local site
    K KrIstOfK

    C:\Inetpub\wwwroot is the folder where your IIS runs, if you do not have this folder IIS will be configured to use another folder. To know which folder you can go to Start -> Control Panel -> Administrative Tools -> Internet Information Services (IIS) Click the + open till you have a list of websites running on your computer Search that one that you wish to access from other computers and the name that's mentionned over there is the name you should use then.

    ASP.NET csharp asp-net question

  • access to local site
    K KrIstOfK

    You will see that you normally have a folder with the name of your website on you C:\inetpub\wwwroot\ take that name and paste it in the next url on the place of . Try to remember you computer name (or search it in your control panel) and place it in the next url on the place of Choose some page the user has to visit http:\\\.aspx Now pass this url to those guys and normally it should work just the same way as you were surfing.

    ASP.NET csharp asp-net question

  • Passing Multiple objects from page to page
    K KrIstOfK

    Zami_2 wrote:

    1. if i want to send multiple objects like one string and one int, how can i do it?

    strString = "myValue";
    iInt = 10;
    Response.Redirect("myurl.aspx?stringIWishToPass=" + strString + "&intIWishToPass=" + iInt.ToString());

    on myurl.aspx you can get this data like:

    string strString = Request.QueryString["stringIWishToPass"];
    int iInt = Convert.ToInt32(Request.QueryString["intIWishToPass"]);

    Zami_2 wrote:

    2. Let there is a class: class MyClass{ String id, name, address; MyClass(){...} } If i want to send a MyClass type object from one page to another what should i do now?

    MyClass myVar = new MyClass();
    myVar.Name = "name";
    ...
    Session.Add["something", myVar];
    Response.Redirect("myurl.aspx");

    on myurl.aspx you can get the data as following:

    MyClass myVar = (MyClass)Session["something"];

    Greetings, KrIstOfK

    ASP.NET question

  • France Rude and Boring
    K KrIstOfK

    don't forget the baked beans and hash browns

    The Back Room com announcement

  • problem in openning window [modified]
    K KrIstOfK

    I followed the link Server Error in '/' Application. Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [SqlException: Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query.] System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) +742 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +195 Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) PriceEngine.Logic.Referer.Add(String url) PriceEngine.GymCompare.PageBase.TrackReferer() PriceEngine.GymCompare.PageBase.OnInit(EventArgs e) PriceEngine.GymCompare.ProductInfo.OnInit(EventArgs e) System.Web.UI.Control.InitRecursive(Control namingContainer) +241 System.Web.UI.Page.ProcessRequestMain() +195 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300

    ASP.NET help html sysadmin docker

  • First Virus in 25 Years [modified]
    K KrIstOfK

    I have a mother, that's the same when you're referring to attracting virusses to your pc.

    The Lounge sysadmin performance help

  • France Rude and Boring
    K KrIstOfK

    you got a point there, but i'm talking about normal food, cause the fast food in britain will be the same as the fast food in the us and in any other country, so they are all as bad tasting. But i'm talking about the somewhat "traditional" food. What some people eat for breakfast in Britain is a nightmare for me. Okay there are a lot of people that eat fast food for breakfast but i'm not counting that as food here, that's garbage X| )

    The Back Room com announcement

  • France Rude and Boring
    K KrIstOfK

    Rage wrote:

    it is the kind of stuff that leads a bunch of people to concentration camps

    You see, that is why french people are rude ;P

    The Back Room com announcement

  • How to add event handlers for controls added at runtime.
    K KrIstOfK

    Your thrid party component has to trigger events, once you know it does, you can catch them by for example with a button: btnButton.Click += (and then you press tab and it will create the method for you) When the third party component doens not trigger any events i'm affraid you can't. You can recognize events when you press . and then you get a list of all posible options, when it's a yellow lightening sign it's an event. (this if you use Visual Studio)

    C# csharp tutorial
  • Login

  • Don't have an account? Register

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