|
You can use wizard control available in .net, and on movenext command of wizard you can save the answer in db and can expose the next question.
it looks like this:
<asp:Wizard ID="wzdCheckOut" runat="server" DisplaySideBar="False" OnActiveStepChanged="wzdCheckOut_ActiveStepChanged"
OnFinishButtonClick="wzdCheckOut_FinishButtonClick" ActiveStepIndex="0" >
<WizardSteps>
<asp:WizardStep ID="wzdStep1" runat="server" >
...............
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
You can use wizard control available in .net, and on movenext command of wizard you can save the answer in db and can expose the next question.
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
hi all,
what if we remove web.config or machine.config from the application, then, Is this application will works?
Thanks,
Rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
I dont think, web.config is a mandatory part but if your web site does not have a web.config, web servers default settings will work for ur site also. I read an article, may be that helps you.
http://msdn2.microsoft.com/en-us/asp.net/aa336619.aspx
"A smile passed to someone in the morning may travel to thousands of people."
|
|
|
|
|
Yes. It will.....It will inherit the settings defined in the Machine.config file. Whatever we include in the web.config over ride the settings in machine.config.
web.config is specific for application..or sometimes part of the application.
It is not mandatory.
But machine.config file is also absent, then it will not work.
I dont think you can remove Machine.config file without putting at risk all your work.
If you fail for the first time , call it version 1.0.
|
|
|
|
|
Hi,
In my program I have used a logic to open the documents from the user given path.Because of that when one user open a document,others cannot edit. But when I used IE's "open/save" downloading to the client it always come with the prompt "open/save"..I really required to open the document without a prompt but on that time other users also will be able to open the same document.
Please show me the right way...Thanks in advance.
Thank You,
RPM..
|
|
|
|
|
Simple answer --> You can not, unless you use ActiveX Control (which has a one-time prompted installation)
|
|
|
|
|
hi
every on plz any can hlep me in understanding how I can make my website send emails and recieve and what about setup pop3 in windows server help plz
and thanks for advance
let's work together
|
|
|
|
|
|
|
It's very easy to send and receve email in asp 2.0
first include following files in ur code filed
1)Imports System.Web.Mail
2)Imports System.Net
You can send mail in following way
' Creating the Mail Message
Dim objMailMessage As MailMessage
objMailMessage = New MailMessage
objMailMessage.From = "youremailaddress@yahoo.com"
objMailMessage.To = custemail.ToString
objMailMessage.Subject = "Subject Heading"
objMailMessage.Body = "Thank you (any Description in body)"
objMailMessage.BodyFormat = MailFormat.Html
' Sending Mail Message
SmtpMail.Send(objMailMessage)
'And also set ur Web.config file by defining your network host ipaddress, username and password
Regards,
Vidhin Shah
-- modified at 3:38 Thursday 1st March, 2007
|
|
|
|
|
|
Hello.
I have a web app that is a directory where users log in. From there they select applications they want to run and based on that thye are directed to the appropriate server. How can I retain the login information when the user is directed to another server?
Thanks,
JP
JP011
|
|
|
|
|
I want to add a search box on my Site that searches in the from specific column of a database..
Suppose the table consists of columns NAME OF BOOK,PUBLISHER,CATEGORY,FORMAT. it should be like this
searchbox
(User Input)
dropdownlist(to search in specific column)
1)Name of book
2)Publisher
3)category
resulting gridview control must contain the results with all the columns
iam a beginner...
|
|
|
|
|
if you are using DataSet to fill the GridView
thant call your DataSet in DataView class and your filter property to filter the data.
if you are using ObjectDatasource then you can define filterexpression of object data source.
I havn't used SqlDatasource you need to study ..
Naveed Kamboh
|
|
|
|
|
please explain a bit..iam a beginner
|
|
|
|
|
If you are beginner then please Read and make sample programs
go to ASP.Net and watch some videos.
Naveed Kamboh
|
|
|
|
|
Hi,
Follow the steps below: Create a following stored Procedure in SQL Server 2000/2005. Give the table name(In the Procedure) you want to query
<font color="blue"><br />
CREATE PROCEDURE [dbo].[TEST_PARAM] <br />
<br />
@Param varchar(100)<br />
AS<br />
BEGIN<br />
declare @dynamicQuery NVARCHAR(4000)<br />
set @dynamicQuery = 'Select ' + @Param + ' from TABLE_NAME '<br />
exec sp_executesql @dynamicQuery<br />
END<br />
</font>
2> This above store procedure will return all the values in the column you passed as a parameter.
3> On the server click of the Search button call this stored procedure by passing the columnName as in the table as a parameter and fill the values returned by the stored procedure in a DataSet ds.
4> Any have you know the columnName the user selected, use the same name in the select filter, like:
<br />
<font color="blue"> <br />
GridView1.DataSource = ds.Tables[0].DefaultView.RowFilter = "ColumName = '" + txtSearchBox.Text.Trim()+ "'";<br />
</font>
5> Then the the grid View will be binded with the needed values.
Thatz it.
M-o-h-a-n
|
|
|
|
|
Hi there,
I’m hoping someone can offer their expert opinion on a problem I am having at work with an ASP.net developer.
I come from a classic asp background, and a new project at work required us to have our existing site (currently in asp with access database) re-developed in .net.
We hired the contractor a few months ago to develop a website. Unfortunately due to the nature of our business, there isn’t a set-in-stone development plan.
Anyway, since hiring him, i have been trained in .net (I am now MCP in windows application development)
I have concerns that he doesn’t know fully what he’s doing.
For example, I asked to see his code a while ago, and when he showed me it, there was no project file… just a folder full of .aspx and .vb files.
I anticipated him creating a class library, within a solution and then a web project within that solution.
There will also be windows applications associated with this project, which at the moment, quite frankly, I am far too frightened develop them!!
Please can the experienced asp.net developers amongst you let me know what you think… im foreign to the concept of not having a project file, or solution or anything.
Theres also several issues with the sql 2000 databae, replicated data etc… however im less concerned with that, as I can fix those issues.
Any advice anybody can give is greatly received, stuck in a definite rut here.
|
|
|
|
|
Well it really depends which IDE your developoer is using.
If he is using Visual Studio or web Matrix then there would be a project file
if he is using note pad or Dreamweaver then there won't be any.
There is an option of keeeping .vb or .cs file in the same .aspx for example
News.aspx
you can have News.aspx and News.vb or News.cs file separate or you can have both in one file .aspx
by default there would two files. (these files are in same folder)
To add business layer or Data Access layer or you can use class file which mus be in App_Code folder.
To add databae there is App_data folder and there are some other folders too.
So i'll suggest do not judge him on the bases which you have descriibed.
Judege him on the basis of site performance.
Naveed Kamboh
|
|
|
|
|
thisnamesux wrote: For example, I asked to see his code a while ago, and when he showed me it, there was no project file… just a folder full of .aspx and .vb files.
With ASP.NET 2005, you can put all the code in the code folders, if you want to. No project file is required.
thisnamesux wrote: There will also be windows applications associated with this project,
Then any common classes should be in dlls.
thisnamesux wrote: Please can the experienced asp.net developers amongst you let me know what you think…
It's hard to say based on whatr you've said. The real questions are:
1 - why did you hire this guy, if you think that you're better than him now, after passing a Microsoft test ?
2 - Why are you talking to us insead of asking him why he's done it this way, or guiding him ( 'we need the core stuff in a dll for reuse, Bob' is better than 'I'm an MCP and you suck, Bob' ).
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hello all. please i have a project at hand and i need to get it started, need to create an online forum with c# .net. please i need an idea to or help to get started. please fix me up.
need this help please
|
|
|
|
|
try to find some online code search google.
also check www.asp.net.
Naveed Kamboh
|
|
|
|
|
|