|
hi
i am using a GridView to show some data.
I want to generate a auto column which shows the RowNumber
I want the RowNumber not to be stored in the database
for example:
RowNum---Name---Education
1--------dfa----PHD
2--------asf----sdaf
3--------asfd---erwr
.
.
.
I dont want to add an autoincrement column. because i should have the ability to insert a new person at, say RowNum 2 and the others should be shifted down.
I want to know is it possible to add a coloumn to show the RowNums automatically independent of database?
-- modified at 15:59 Monday 25th December, 2006
|
|
|
|
|
if someone can help please
i want the java script which enable me to make preloader if someone can help please urgent
thanks in advance
|
|
|
|
|
kitokatakito wrote: urgent
Don't say "urgent". It's just plain rude.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
Dear All,
How to store a group of records from asp.net2.0 to sqlserver2000 at a same time?
|
|
|
|
|
Hi alav,
Did you mean huge number of rows to be inserted in database at same time.If this is the case then you can use SqlBulkCopy class of .NET 2.0.
Vicky
|
|
|
|
|
Hi Vicky,
Thanks for your reply, its not a huge number of records , its the records with master detail relationship.
Please i should also know how to use middle layer(XML) between Asp.Net2.0 and Sqlserver2000.
Thanks you once again.
|
|
|
|
|
Hi,
I am Ritesh from India. I installed VS 2005 on 10 machines in my network but on some System I create new web site in C# so the default.aspx is their and html code of default.aspx is open but as I click on design it stast consume processor 100% and it will no shows design of aspx page. but some time on the same system I tries from another user it will display bute after doing some work it gives same problem to another user.
Is some bug in VS 2005 ? because i fill when i am working on it.
Thanks
|
|
|
|
|
Hi Dear friends
I want to have a list of my company emails from outlook in a asp.net2 page
Is there any solution.If so,please kindly send me the links where I can find
more information about the matter.
thank you so much
zahra yousefi
yousefi105@yahoo.com
|
|
|
|
|
Hi everyone
i have the problem to debug my web applications.
i m loggin through administartor account.
it is the member of debugger users,Vs developers group.
i have also added aspnet account to debugger users group.
It is some previleges problem.
error is
"error while trying to run the project.you do not have previleges to debug web server process."
from this forum itself i got solution that i should attach aspnet_wp to my application.But
it did'nt allow me to attach aspnet_wp.exe
i m using windows XP.
error comes while i m going to attach aspnet_wp.exe
Or is there any other solution for it so that i can debug my web applications.
one thing which i noticed here is that i m able to debug my windows applications. but not any web applications.
plz help me out.
i m struggling with it from 15 days.
plz plz plz guide me
"unable to attach to process.Access is denied."
-- modified at 3:47 Monday 25th December, 2006
|
|
|
|
|
put <compilation debug=true /> in your web.config
-- modified at 5:55 Monday 25th December, 2006
|
|
|
|
|
thanks for ur valuble suggetion but debug is true in compilation section of my web.config file.
in fact i have checked all these possibilities
1.Integrated windows authentication checkbox is true in IIS
2.HTTP keep alives is checked
3.annonymous access is true
username is IUSR_ServerHO3 where ServerHO3 is my machine name
And allow IIS to configure the password is checked
4.In IDE Debug is selected
5.In project's properties ASP.Net debugging checkbox is enabled
6.All required services are running
7.i m using windows xp and login through "domain\administrator" user account.
As usual "domain\Administrator" is the member of debugger users group,Vs developers group and administrators group on my PC.
8.ASPNET account is also the member of all the above groups.
after checking all the above possibilities i have posted it here and some guru has suggested me that i should attach asp.net worker process(aspnet_wp.exe) to my application.
and now when i m going to attach form debug->processes
it prompts "unable to attach to process.access is denied."
i think if i will be able to attach aspnet_wp.exe to my application then it may solve my problem.
any idea besides the above solution will be highly appriciated.
i hope u ppl have understood my problem.
plz suggest some remedy....
Ajay Kumar
-- modified at 0:36 Tuesday 26th December, 2006
|
|
|
|
|
Can any one tell me the use of such statment
"HttpWorkerRequest.GetUserToken()"
and in any case why not just use "windowsIdentity.current"
or any thing else to get the current user token in ASP.net Page
My Regards
|
|
|
|
|
In fact, they are all different as the GetUserToken method of a specific worker, that inherits from the HttpWorkerRequest , is normally used to get the security token passed to the ASP.NET from the web server IIS, meanwhile the WindowsIdentity.GetCurrent returns the security token of the current thread of the ASP.NET, for example the ASPNET (or NETWORK SERVICE) account. If you enable the impersonation with the identity entry in the web.config file, the WindowsIdentity.GetCurrent gives you the same account passed from the web server.
|
|
|
|
|
hello everyone.i wish to know how to use the concept of object oriented to add data from a form to database sql2005 .if possible plz do try to send a sample code. thnks
girdar
|
|
|
|
|
girdar wrote: i wish to know how to use the concept of object oriented to add data from a form to database sql2005 .if possible plz do try to send a sample code. thnks
There are so many ways to use object oriented techniques for data access. What you should do is read a book on the subject.
|
|
|
|
|
Get a book on ADO.Net, prefereably OReilly publications
|
|
|
|
|
I think you wanted to tell the original poster that; not me.
|
|
|
|
|
|
Please help;
For a couple days I've been battling with writing a report that has to tables linked by a Inner join.
I think I found a work around. I'm using an SQL SERVER database.
Crystal was creating the following query:
SELECT t_EMPINFO.c_EmpFName,
t_EMPINFO.c_EmpCode,
t_Employee_Salary.c_TotalIncome, t_Employee_Salary.c_TotalDeduction,
t_Employee_Salary.c_TotalSalary
FROM t_EMPINFO INNER JOIN
t_Employee_Salary ON t_EMPINFO.c_EmpID = t_Employee_Salary.c_EmpId
WHERE (t_EMPINFO.c_Softdelete = '1') AND (t_Employee_Salary.c_SoftDelete = '1') AND (t_Employee_Salary.c_Year = 'PARAMETER1') AND (t_Employee_Salary.c_Month ='PARAMETER2')
IN Above Query In place of PARAMETER1 and PARAMETER2 I want to pass Differnt value at the run time (e.g 2007 , 01 ) how it's set dynamically
I have questions though:
1) Is it possible to change the sql that crystal generates without writing my own sql command?
Thanks again for all of your help on this!
|
|
|
|
|
|
Hi,
If you are using VS2005. I think the following will helps to you.
1) Make the EnableParameterPrompt to false.
2) For your example create two text box and a button.
3) In the button click event add the following code.
CrystalReportSource1.ReportDocument.SetParameterValue(0,TextBox1.Text)
CrystalReportSource1.ReportDocument.SetParameterValue(1,TextBox2.Text)
Thats it.
|
|
|
|
|
Hi,
I've a dropdownlist which I'm populating through Javascript.
Initially, it doesn't have any value , but based on selection in other dropdownlist, some values are added in dropdownlist.
My problem is that when page is posted back on server, it doesn't contain any value there.
Please help.
Thanks and Regards
Irshad
|
|
|
|
|
Hi to All,
How can I use FrameSet with ASP.NET2 AND C#?
|
|
|
|
|
Hi,
you can use following code in html code:
when you use above code,you may not be able to switch to design view of aspx page,because frame is not compatible with asp.net2 but dont worry it will work properly in run time.
zahra yousefi
yousefi105@yahoo.com
|
|
|
|
|
Hi everyone
i have the problem to debug my web applications.
It is some previleges problem.
error is
"error while trying to run the project.you do not have previleges to debug web server process."
from this forum itself i got solution that i should attach aspnet_wp to my application.But
it did'nt allow me to attach aspnet_wp.exe
i m using windows XP.
error comes while i m going to attach aspnet_wp.exe
"unable to attach to process.Access is denied."
|
|
|
|