|
Hello friends,
i am developing a application and i have to implement Windows Authentication for it. This application is for Internet use. here a company will save their Attendance sheet on daily basis. we are connect on LAN through a Hub. here are 4 PC connected on star topology. They all are directly connected with network hub and we use a WORKGROUP to access our systems.
I searched it over the internet and i got that it would be done using Intranet. because it needs PC should be connected on a domain.
what should i do now?? can we create a Application using windows authentication without using Intranet/Domain ???
And we have to make it on windows authentication mode. The problem is that a lot of our customers use a workgroup configuration for their network not Domain configuration. and as i learned till now, for an application for Windows authentication works on Intranet only. so i want to ask is it possible to make application using workgroup config. where i have to use Windows Authentications??
Please reply soon, it is urgent....
Thanx
Any Movie, Software, Song, Game and many more.... Only at Developer's Solution
http://www.devsol.co.nr
Search Any Torrent You Want
A Software for Torrent search only....
Must check it
...VAIBHAV SARAN
vikysaran@gmail.com
|
|
|
|
|
|
I have an Rss dataSource control catching a feed in VS2005 and I have put the information in a datalist on my website. I have put a sqlDataSource in the item template and would like to execute the insert command "Which inserts the datalist item into SQL Server 2005". I am having problems identifing the current selection intem and index? Can anyone help?
|
|
|
|
|
Hi All,
I need to create a Webapplication for a Progress bar showing 0 to 100% completion without refreshing a page on a simple button click.
Please suggest me an idea.....
|
|
|
|
|
Put a div. Use AJAX to check the progress count from the server. Using JS, increase DIVs width.
|
|
|
|
|
Hi...I don't know about AJAX concepts.so can u suggest any other idea.
|
|
|
|
|
harithajagini wrote: .so can u suggest any other idea.
I don't think there is some other methods .
harithajagini wrote: I don't know about AJAX concepts
It's just javascript, not rocket science. Check this[^] to get started.
|
|
|
|
|
Hi,
Any suggestions for good profiling tools? I checked ANTS profiler, but isn't there anything that is good that is free?
Thanks
|
|
|
|
|
|
|
Hi,
Following are the few memory-profiling tools available free that you may use:
http://www.filedudes.com/EQATEC_Profiler-getfile-50112.html
http://www.download.com/YourKit-Profiler-for-NET/3000-10252_4-10558645.html
http://www.softpedia.com/get/Programming/Other-Programming-Files/ProfileSharp-Student-Edition.shtml
Hope this helps.
Vinay
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
hi every one
i am using this code to upload two images or you can upload no of images from this code .
string filepath = "C:\\Uploads";
HttpFileCollection uploadedFiles = Request.Files;
for (int i = 0; i < uploadedFiles.Count; i++)
{
HttpPostedFile userPostedFile = uploadedFiles[i];
userPostedFile.SaveAs(filepath + "\\" +
System.IO.Path.GetFileName(userPostedFile.FileName));
}
but whan i want to load only one image then it shows error:
Could not find a part of the path 'C:\Uploads\'.
when i try to search that what is going on.then i came to know that if i select 1 image only then the value of uploadedFiles 2 that why loop run two times and show error .
my prob is why it takes 2 when i select 1 image only.
plz let me know.
thanks ...gaurav
|
|
|
|
|
gaurav mangal wrote: came to know that if i select 1 image only then the value of uploadedFiles 2
Even if you are selecting one image, Request.Files will return the total upload control count. So you need to check the content length before you save the file.
for (int i = 0; i < uploadedFiles.Count; i++)
{
HttpPostedFile userPostedFile = uploadedFiles[i];
if(userPostedFile.ContentLength != 0){
userPostedFile.SaveAs(filepath + "\\" + System.IO.Path.GetFileName(userPostedFile.FileName));
}
}
gaurav mangal wrote: string filepath = "C:\\Uploads";
Use Server.MapPath always. ASP.NET won't have access to other directories in the system.
|
|
|
|
|
hi Navaneeth
thanks for the advice .its really works.
thanks a lot
gaurav
|
|
|
|
|
try this hope it works
for (int i = 0; i < uploadedFiles.Count-1; i++)
http://aspdotnetnstuff.blogspot.com
|
|
|
|
|
metallica_rock10 wrote: try this hope it works
for (int i = 0; i < uploadedFiles.Count-1; i++)
NO. It ignores the last file.
|
|
|
|
|
for (int i = 0; i < uploadedFiles.Count; i++)
{
HttpPostedFile userPostedFile = uploadedFiles[i];
if(userPostedFile.HasFile)
{
userPostedFile.SaveAs(filepath + "\\" + System.IO.Path.GetFileName(userPostedFile.FileName));
}
}
Pradeep Reddy
|
|
|
|
|
hello friends,
I want to add New row to gridview using server code. How to do this?
|
|
|
|
|
Add a new row to the datasource and rebind it. Assume you are using DataTable as data source, then add a new row to this data table instance and bind it again to the grid view.
|
|
|
|
|
|
Hi i ma getting datas in dataset like this format:
Name Date
N1 7-21-2008
N1 7-22-2008
N2 7-21-2008
N2 7-25-2008
N2 7-26-2008
N3 7-24-2008
But i want to bind it in my grid like this:
Name Dates
N1 7-21-2008, 7-22-2008
N2 7-21-2008, 7-25-2008, 7-26-2008
N3 7-24-2008
How to do that?,
Thanks & Regards,
Michel,
please don't forget to vote on the post
|
|
|
|
|
Do it in Item Data Bound Event of grid...this event is fired when u bind grid...
|
|
|
|
|
Plz if u dont mind give some what more explanation or code...,
It will be help full for me
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Try this:
private void dgGrid_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)
{
IDataReader dr;
if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
{
ID = Int32.Parse(e.Item.Cells[0].Text); //get ID
string Dispalydate= "";
dr = //Get those records
while(dr.Read())
{
if(Dispalydate.Length > 0)
{
Dispalydate += ", " + dr[1].ToString();
}
else
{
Dispalydate = dr[1].ToString();
}
}
dr.Close();
e.Item.Cells[1].Text = Dispalydate;
}
}
Hope this helps u...
|
|
|
|
|
Do it with a PIVOT TABLE
1[^]
2[^]
|
|
|
|