|
AlexeiXX3 wrote: The problem is (i think) that when the user has a slow connection, the browser doesnt download the css file
Is your CSS so big? Check this[^] and this[^] articles. It is worth reading.
|
|
|
|
|
No, the css is only 2K
I included the css that defines the main structure inside the page, and the rest in the css external file
Alexei Rodriguez
|
|
|
|
|
hello
Please check the sample excel sheet I intend to use to get a clear understanding of my question
I need to use datareader to query using a sql statement to retrieve data from the woksheet. I know how to read from excel using ado.net if the column names are on Row 1. However, in the excel file i need to use it starts in Row 4. So, how do i write a query to read from the table and retrieve the values?
Sample excel sheet
http://img412.imageshack.us/img412/1950/sampleworsheetta6.jpg[^]
|
|
|
|
|
what does this have to do with ASP.NET ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
well, i read the excel file from asp.net application.
|
|
|
|
|
How to authenticate user from Active directory? any link.
|
|
|
|
|
|
Try these
http://www.c-sharpcorner.com/UploadFile/ankithakur/Login_Using_Active_Directory04052006061801AM/Login_Using_Active_Directory.aspx?ArticleID=e26fe77e-7bc4-48fc-bd06-8ab46d6f76bb[^]">
http://www.codeproject.com/KB/aspnet/activedirectoryuse.aspx[^]">
Cheers!!
Brij
|
|
|
|
|
hi everyone i have just joined code project..i wud like to know that does anyone has code on
"Virtual Stock Market" developed using ASP.Net in c#...any info related to that wud be of great help...
|
|
|
|
|
vishwaguna wrote: i wud like to know that does anyone has code on
"Virtual Stock Market" developed using ASP.Net in c#...
Your request is too vague. If someone asked me to develop a "virtual stock market" I'd be expecting pages upon pages of specifications defining what they want.
|
|
|
|
|
hi and welcome. We like to help people here. The word 'help' implies that you've tried to do it yourself and asked somethign specific. This looks like a request for full code ( in fact, that's exactly what it is ). We don't do that.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: This looks like a request for full code ( in fact, that's exactly what it is ). We don't do that.
Which is why I dutifully ignored the request
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Default
...Items
.....ItemDetail
...People
.....News
.....About
I have problem when i click the treeview navigation. Then it open the page. But all time it is collapsed. It will not expand the selected Node.
modified on Sunday, November 16, 2008 5:03 AM
|
|
|
|
|
Hi guys i am working with access data base but i am chasing a problem on access data base
in sql server i can change data type within query
just like "convert(decimal(10,2),Cant_Price) as Cant_Price"
but same thing i want in access data base
is this possible?
plz help me
thanks in advanced
krishna veer singh
|
|
|
|
|
This has nothing to do with ASP.NET. It's a SQL question.
Access generally uses SQL Server as a back end by default nowadays, so I'd expect T-SQL to work with it, unless you're using an MDB. Then you need to read up on what Access SQL supports.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
I created a new web application and added a Master page. But when I tried to add a content page, Right click project - Add New Item - there is no content page listed there in the Open box. But the same is visible in a ASP.NET web application.
How do I add a web content page on to a ASP.NET website?
Regards,
Blumen
“The thing for you is a burial permit. You have only to speak and I will see that you get it.”
|
|
|
|
|
Blumen wrote: Right click project - Add New Item - there is no content page listed there in the Open box.
No, You will not get Content page in Open Box. Just Select a Web Form and Checked The "Select Master Page" Checkbox on
Note : It should only be enabled if you have added a Master page on your web application.
or even you can add a web form, delete all aspx code and add those code
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
Note : Change code according to your requriment.
|
|
|
|
|
in visual studio 2005, i want to create more than one menu of a website.and i think must create more than one sitemap file.but i could't do it.So can you help me this trob?thanks
|
|
|
|
|
|
Hi:
I am using gridview in which text box is added in <template field="">
|
|
|
|
|
Why dont you add the validator to the edit template of the corresponding column??
Just convert the column to a template
>For the gridview > Edit Columns > Select the column > Click convert to template
Then in the template, just add your validator
Alexei Rodriguez
|
|
|
|
|
how to bind data from date base to tree view
or must export date to xml,sitemab
can i do it manualy (hope)
thanks.
ahmed eldeghedy
|
|
|
|
|
If you retrieve the data from the database using a DataReader you can populate a TreeView like this:
while (dataReader.Read())
{
TreeNode _newNode = new TreeNode();
_newNode.Text = "...";
_newNode.ImageUrl = "...";
_newNode.SelectAction = TreeNodeSelectAction.Expand;
_newNode.Target = "...";
_newNode.NavigateUrl = "...";
_newNode.Expanded = false;
myTreeMenu.Nodes.Add(_newNode);
}
|
|
|
|
|
me == asp.net newbie
i have this web site which gets connected to a sql database for users and i got it working on the localhost - i can add users , log in , sign up etc ..
but when i upload it to my web host and try do do these things , i get :
Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances.
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: Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances.
is it a problem that i can resolve by myself or is just that the host does not accept sql stuff ?
and if i can repiar it myself, how do i do it ? (please use asp-newbie language to me )
Thank you
modified on Saturday, November 15, 2008 9:29 AM
|
|
|
|
|
Hi all, I will try explain you my problem.
I have file pdf in a field of my database of SQ-Server.
I have a master page and content.
I want two options: or open new page for see pdf with focus in it or response.redirect into content.
I get open my pdf with:
Protected Sub gridView_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView.SelectedIndexChanged
Try
If GridView.SelectedIndex >= 0 Then
Response.Redirect("~/Formularios/VisorFicheros.aspx?Id=" + gridView.SelectedRow.Cells(1).Text)
End If
Catch ex As Exception
End Try
End Sub
but it open all pdf in my master page losing my main menu etc, open my pdf to full page.
i would like to open the pdf in a content of master page but doesn't work i put the code of "visorficheros.aspx" that open my pdf from database
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Try
Dim id As Integer = Request.QueryString("Id")
Dim imagedata() As Byte = Ficheros.ObtenerContenidoFichero(id)
Response.ClearContent()
Response.ContentType = "application/pdf"
Response.AddHeader("content-length", imagedata.Length.ToString())
Response.BinaryWrite(imagedata)
Response.Flush()
Response.Close()
Catch ex As Exception
End Try
End Sub
Some idea?
also I will try to open with javascript with window.open (I don't like it I prefer that my code be only vb.net without javascript)
I put the code:
Protected Sub gridView_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView.SelectedIndexChanged
Try
If GridView.SelectedIndex >= 0 Then
'Response.Write("<script language='JavaScript'>window.open('VisorFicheros.aspx?Id=" + gridView.SelectedRow.Cells(1).Text + "')</script>"
End If
Catch ex As Exception
End Try
End Sub
but I have 2 problem, the first more important is that I.E block it because is a pop-up and the second problem is that I lost the focus and it is put behind of master page.
Is possible to make it without javascript, vbscript etc only with vb.net?
some idea?
thanks for your help, I am becoming madwoman with it
|
|
|
|