Exactly, the web developer company will make the website, they got PHP and ASP.NET programmers, so i can totally decide. I'm an application programmer... so i can't take a risk by doing such a project by my own. I need a professional hand to do it. Thanks for replying! :) Marian.
msqar
Posts
-
Need some help, what would I do ? -
Need some help, what would I do ?Hey guys, as some of you have seen, i've been making some ASP.NET questions here, because i'm about to start my own company based on a business model i have. The thing is, I don't have the enough knowledge in ASP.NET in order to do such a huge project (And neither in PHP), my brother is an ASP.NET C# Senior, but he's pretty busy with his job and carrier, so the help he can provide is closely to be NULL. What i meant to say, is that I need to cover all i can with this, and there's no chance to have holes in the system, i know that every system isn't impossible to hack (not even NASA), but at least, don't leave it that easy to do so. The project requires a very good knowledge of Internet Security and Payment System, since it will be an Online game site never seen on market. A web developing company where a friend of mine works, offered me to develope my project under confidentiallity contracts and stuff in PHP and Apache/Oracle. (The money at this point is not a problem since my lawyer will be also my investor) Didn't know where to post this, since if I post it in PHP section, all the people will say "Nooo! PHP is better" or here "Nooo! ASP.NET is better", i need a professional answer if possible, i've been making a Google Search about this, and all the forums says the same, there's a lot of people who says that PHP is better and why, and the same applies for ASP.NET, I really don't know what to do!! Is PHP secure enough to handle such a big project? I need: - Flexibility - Security - Performant system Hope this is the right place to post this, Thanks in advance, My best regards, Marian, from Argentina.
-
Update Panel IssueCool, god bless Google, gonna get that in mind, just a question... an update panel is used for what? to retrieve data from table and refresh it, in order to keep it updated ? like doing it with AJAX? Thanks!
-
[SOLVED] navigation takes too long:) that's so cool! ok, don't want to convert this into a chat hahaha, thanks again!!! and see you around! ;)
-
[SOLVED] navigation takes too longThanks for your support gavidon! :) You are being such a nice person, the whole community.
-
[SOLVED] navigation takes too longWoo, but the localhost server is taking a lot in my netbook, every single time, not just the first one. Don't know why. And that didn't happen in my work computer, which has a Core 2 Duo and 2GB of RAM, it took like a second the first time. btw, wtf nice notebook :| alienware specs.
-
[SOLVED] navigation takes too longYea! you were right! Tried my website in a C2D 2GB RAM and it worked PERFECT, took not even 1 sec to load a page. Everything runnning so smoothly (locally ofc). Thank you very much! Marian.
-
[SOLVED] navigation takes too longYea, it might be, tomorrow i will test my project on a better computer and not my netbook, anyway my netbook is pretty powerful (dual atom 1.8ghz, 4gb ram, and a 512mb video card (ION2 Platform)) dunno, it runns everything really fast. But im still thinking about the Localhost. When its loading it says at the bottom of the browser in the status bar: "Waiting for localhost..." And remains like 2 or 3 seconds per page.... and it loads as i said, as if it would be running in the internet. Thanks again! Marian.
-
[SOLVED] How can i do this?yea, correct me if i'm wrong, the masterpage is the "DEFAULT" page and then i create other pages that "inherits" (i know is not inheritance, but just an example in order to explain what i know) from the masterpage. For example if i have a masterpage with header and footer as master.master with a contentplaceholder in the body. Then i create a login.aspx with master.master as the masterpage and include my independent code inside of the container of login.aspx. When i run the webpage, the masterpage creates the proper HTML. I realised about the forms, when you create a new .aspx file, with the default code. It shows something like this:
// Here I should add all the ContentPlaceHolder's right?
And manage all the events from each page without needing a lot of forms. Thanks again :D Marian.
-
[SOLVED] How can i do this?Hello again, Mark :) My doubt is about the asp:container's i got on each aspx. as i mentioned in the previous reply, i got a header container and a body container. My questions is: Am I able to open a form in the header container and close it in the body container, and afterwards, manage all the events with onclick property -as you said-? Because i got the log out bar in the header, and contact us form in the body. Need a solution in order to place all the events in one single form :D Thanks again!!! Marian.
-
How to make the content FixedYou are very welcome, pal! :D
-
[SOLVED] How can i do this?Yea, but brother told me that, but i got different containers, i.e: like this: header container form LOGGED IN BAR /form /header container body container CONTACT FORM /body container can i do something like this ? header container form LOGGED IN BAR /header container body container CONTACT FORM /form /body container Thanks for replying btw!.
-
[SOLVED] How can i do this?Heya, i got a new question, I got my website, where i placed in header the logged in bar, which includes the "Hello, " and bellow PROFILE | LOG OUT. The thing is, that the LOG OUT in order to work, has to be a
-
How to make the content FixedIts easy to add CSS in ASP.NET, as you do in HTML. The code will be basically look like this:
Or you can even place it in the same masterpage like this, inside of the head tag, you add:
<i>CSS ATTRIBUTES </i>
For instance, if you are using master pages, you have to add the css links inside of it (the masterpage). I'm not a MASTER of web development, but i can help you with something... CSS its easy as well, gonna make some examples for you. Lets say we have the filename.css with: body { background-color: #1e1e1e; margin: 0px; text-align: center; font-family: Trebuchet MS; } The entire webpage if I let it this way, the font will be Trebuchet MS and it will be centered. You have 3 ways for applying CSS. By ID, by Class or by Object. By ID: (ASP.NET)
(CSS)
#foo
{
color: #282828;
font-size: 12px;
font-family: Arial;
border: 1px solid #fff;
}Here, this ASP input text will have a 1px solid white border, the color of the text inside of it will be grey, Arial and 12px size. By Class (ASP.NET)
(CSS)
.input
{
color: #282828;
font-size: 12px;
font-family: Arial;
border: 1px solid #fff;
}This will contain the same attributes, but the only difference is that we changed them by class instead of ID. If you have a lot of inputs its better for you to use classes rather than ID, ID is more unique related style, -when you have to change a single object style-. Then you can also change all the inputs, all the selects, and so on of your site, like this:
input
{
color: #282828;
font-size: 12px;
font-family: Arial;
border: 1px solid #fff;}
Where ALL the inputs will be under these style rules. Next for you to know, is the positions, margins, paddings and floats. Try to avoid using position: absolute or tables as one person said above, they aren't good, conceptually neither. So the best way for you to create forms for example, is with DIVs and CSS, is even way better for reading and understanding. After doing both ways, you realise of the quantity of lines used for nothing with tables and the worthless space they use. Also, by using tables, each browser (firefox, chrome, opera, IE) has their own attributes for placing elements inside of rows/columns,
-
[SOLVED] navigation takes too longHi community :D thanks for helping me so far, i'm really glad that i found this site. Here's the doubt i got since i started with ASP: 1) I'm not using IIS yet, im using the localhost provided by ASP.NET to test and debug my website before i upload it to the host. Anyway, when i change from aspx to aspx it takes like if i would be really connecting to the internet and its loading all the things, its not like when you are making the website with flat HTML, PHP, javascript, etc using XAMPP. Actually my website its not fully loaded with images and things that might get you lag. After thinking why this is happening, i was really upset, so i tried to create my very same website (without asp components, masterpage and stuff ofc) and the same js files, image files, css files, all was alike, and it worked awesome, very fast... so i said, there's two things here... is it the ASP.NET inner localhost or ASP.NET itself. For instance, i got some pictures with onmouseover event and change to another img, and on mouseout it returns to the "off" state. And the very first time i mouseover the image, it takes about 3 seconds to load the mouseover image, after the first one, everything looks normal. But why it has to load the image if i'm locally requesting it? 2) Remembered that i have another thing to clear up. I'm trying to reset the fields of my asp inputs and selects components, is there anyway to do it as the HTML does with the
? is there a similar property for ASP? I did it now by code behind with the onclick event, that restarts all the fields to "" or SelectedIndex = 0, works good, but it makes a postback because its server side, i would like to do it, without the postback. Any possibility??? Thanks! Hope i'm not bothering you with my noob questions. Marian :D
-
[SOLVED] HyperLink inside of CheckBoxLOL :| it worked, i tried but i didn't work for me, looks like i made a sintax mistake... thanks!!!! really appreciate that!
-
[SOLVED] HyperLink inside of CheckBoxOk, as the title says... i would like to add a HyperLink inside of the CheckBox Text attribute, in order to create something like this. I'm 18 years old, i read and accept the Terms and Conditions, and also the Security Policies. Where Terms and Conditions and Security Policies are links, am i able to do this? Thanks Marian.
-
get HTML elements with C# in ASP.NETHi community, i'm needing some help with C# and ASP.NET, mostly C# that's why i posted here. I got this form in my login.aspx.
Email: Password: Login [¿Forgot password?](#)
And also i added a database with the SQL EXPRESS. I got the login.aspx.cs with this code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.Sql;
using System.Data.SqlClient;public partial class login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{} private void login\_button(object sender, EventArgs e) { SqlConnection connection = new SqlConnection(); connection.ConnectionString = "Server=(local)\\\\SQLEXPRESS;" + "user ID=myuser; Password=mypassword;" + "Database=mydatabase"; try { connection.Open(); } catch (Exception) { //Not connecting } }
}
Now the question is, how can i get HTML elements with the C#, so then i make the "SELECT Email, Password FROM tblUsers WHERE Email='input_user" AND Password='input_password'" being input_user and input_password C# strings. login_button is the ID of the submit button in ASP.NET. How do i join all this? Getting the number of rows after making the query, like in PHP when you make the $row = sql_query("WHERE...") and returns the number of rows, if $rows == "1", it means that the pair "email and password" exists, so login access is granted. Thanks for everything! Hope you can help me! Marian.
-
ContentPlaceHolder alignmentThank you very much for answering to my doubt!
-
ContentPlaceHolder alignmentHi guys again, thanks for replying and helping me so far, here's my other question since im a complete noob with asp.net. Whenever i add a ContentPlaceHolder, is there anyway to perform its alignment ? it adds a complete bar, i would like to be a rectangle with right-alignment for example, am i allowed to do that ? Because, eventhough my webpage looks nice in the browser, if i go to design view in VS, it looks like a pretty mess of containers :( Is that normal or im just being very sloppy? Thanks in advance, Mariano, from Argentina.