Jump to content

aic007

Members
  • Content Count

    84
  • Joined

  • Last visited

Everything posted by aic007

  1. aic007

    HTML table

    When I use cellpading=0, the left picture overwrites all the pictures :-(
  2. aic007

    HTML table

    Hey aspnetguy :-)This is the code i use in my .css.bla1{ background-image:url('../../../Images/TopLeftWP.png'); height:33px; }.bla2{ background-image:url('../../../Images/TopMidleWP.png'); height:33px;}.bla3{ background-image:url('../../../Images/TopRightWP.png'); height:33px;}this is on my html page<table> <tr> <td class="bla1" style="width:12px"></td> <td class="bla2"></td> <td class="bla3" style="width:12px"></td> </tr></table>
  3. aic007

    HTML table

    Hi.I am using a table with 3 td's to put together a picture. Putting one picture in each td. It works fine, but I get 1 pixel spacing in between all the td's.Any ideas how I could fix that problem ?: - )
  4. Hi.I have a database with tables named Orders, Orders Details, Products and Customers , and I want to make an invoice by taking information out from the tables ( that I can do by using SQL), but what I don't know is how to actually make an invoice. Any people out there who could help me out with samples og give me any good tips ? I found this sample on the net, but it was to hard to understand and I couldn't build it without errors.http://www.cnblogs.com/hardrock/archive/20.../09/327886.html
  5. Hi.Thanx alot for helping, everybody. Nice code, Yahweh, I'm using it now.
  6. Hi again. I was wondering one thing. I still want to have the ten most expensive computers, but I do not want to sort them - group buy DESC price. I want them to be random. How can I do that ?
  7. Thanx a lot mate. My pris (price) field was set to nvarchar. I used int, as you said, and the problem was solved
  8. Hi I am using a SQL statement to get the ten most expensive computers, but I don't get the 10 most expensive computers. Instead I get a mix of cheap and expensive computers. This is my SQL statementSET ROWCOUNT 10SELECT navn, prisFrom ComputersORDER BY pris DESCDoes anybody have any idea of what I am doing wrong ?
  9. aic007

    Need a litte help

    You da man, aspnetguy, thanx a lot.
  10. aic007

    Need a litte help

    I still can not get it to work, but thanx a lot of tryring to help.I will try a new code. Could somebody help me tranelate this to c # <%@ Page Language="VB" %><%@ Register tagPrefix="web" Assembly="WebChart" Namespace="WebChart" %><%@ Import Namespace="System.Data" %><%@ Import Namespace="System.Data.OleDb" %><script runat=server>Sub Page_Load(o as object, e as EventArgs) Dim reader As IDataReader = GetReader() Dim chart As New SmoothLineChart() chart.DataXValueField = "Product" chart.DataYValueField = "Price" chart.DataSource = reader chart.DataBind()
  11. aic007

    Need a litte help

    Very nice, thanx alot. One problem fixed and another one arises :)Now I get errormessages on this code;SqlConnection myConnection = new SqlConnection("connectionString");The error message is; "Format of the initialization string does not conform to specification starting at index 0."I think this also has something to do with "new", but how can I avoid using "new SqlConnection" here ?
  12. aic007

    Need a litte help

    Hi again. I need help with code again. I can not configure what to do in order to get rid of this error message in my .aspx file. This is the error message I get.Error 1 The type 'System.Data.SqlClient.SqlDataReader' has no constructors defined This is my code <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Statistics.aspx.cs" Inherits="Statistikk" %><%@ Register TagPrefix="Web" Namespace="WebChart" Assembly="WebChart" %><%@ Import Namespace="System.Drawing" %><%@ Import Namespace="System.Data" %><%@ Import Namespace="System.Data.SqlClient" %><%@ re
  13. aic007

    Need a litte help

    Hi.I think your code is perfect, but I get some errors, and that's because I am missing some statements at "the top".Can you please help me with this;<%@ Import Namespace="System.Data" %><%@ Import Namespace="System.Data.SqlClient" %><%@ register tagprefix="web" namespace="WebChart" assembly="WebChart"%><script runat="server" language="VB">Thanks a lot, once again.
  14. aic007

    Need a litte help

    Yeay, thanx a lot man.
  15. aic007

    Need a litte help

    Hi, could someone please help me to tranelate this code in to c#. ... I am very new to ASP.net and have only programmed in c#, don't understand VB...<%@ Import Namespace="System.Data" %><%@ Import Namespace="System.Data.SqlClient" %><%@ register tagprefix="web" namespace="WebChart" assembly="WebChart"%><script runat="server" language="VB"> Sub Page_Load(sender as Object, e as EventArgs) If Not Page.IsPostBack then 'STEP 1: Get the data from the database Dim myConnection as New SqlConnection(Connection String) Const strSQL as String = "SELECT TOP 6
  16. Thanx for the warning, saved a lot of time here. I think I'll go with WebChart, that's free alsohttp://www.carlosag.net/Tools/WebChart/Default.aspxIf anybody had experience with WebChart do tell me about traps or things that I should look out for.
  17. Thanx mate. I am a student, can't afford pricey stuff I'll study crystal reports. Hope it's not hard.Just wondering one thing though, what's the difference between report view from the tool box and crystal reports ?
  18. Hi.What do you guys use in order to create graphs and show statistics ? ( using c # and asp.net )If you have some good examples, please do give me the link
  19. Im back again with stupid questions I use this code; protected void Button1_Click(object sender, EventArgs e) { Console.WriteLine("Chapter 1 example 1: Hello World"); // step 1: creation of a document-object Document document = new Document(); try { // step 2: // we create a writer that listens to the document // and directs a PDF-stream to a file PdfWriter.GetInstance(document, new FileStream("Chap0101.pdf", FileMode.Create)); // step 3: we open the document document.Open();
  20. It's not that I'am lazy or something like that, but I have googled alot and studied alot without being able to understand what to do in order to generate a pdf file that contains information that user has typed in a .aspx form. If someone could help me a bit with a good and detailed example I would be very thankful.
  21. Thaanx alot for helping
  22. Hi.I have downloaded the itextsharp.dll file, but don't how to use it in visual studio. somebody plzz help me here ?
  23. Hi.I did a bit of googling, but could not find what I was looking for. I was wondering if somebody could help me with some examples of customized printing ? Is it possible at all ? Can I take input from textboxes and then put it in my own pdf document for instance and then print it out ?
×
×
  • Create New...