|
Super Lloyd wrote: But the thing is IIS doesn't seem to run!
Which version of IIS are you using ? Did you check Application Pool is running or Stopped ?
You may check Eventviewer to get the details of logging from IIS.
If, everything is fine, then the next thing you need to check is how you are hosting the files.
Let me know, Hope I may help you in this case.
|
|
|
|
|
sometimes, restarting IIS solves the problem.
|
|
|
|
|
Hello,
I have VS 2005. I do not see the option to select C# or VB.Net projects? It just comes back with very basic asp/html coding windows.
I have VS2005 Premier Edition, Service Pack 1 installed.
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727 SP2
Which version has the option to create C# projects?Microsoft Visual Studio 2005
Thanks.
|
|
|
|
|
You may need to reinstall VS. It doesn't seem like the C# option was installed properly
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Also, the ASP Forum is not the best place to post this.
Here is a more appropriate forum.[^]
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
hi
how to make any text file on the client computer ?
can i get any C# asp.net sample code ?
thanks in advance
|
|
|
|
|
Short answer, No.
Internal browser security will not allow this.
You can put a FileUpload control (HtmlInputFile) on the page and allow the user to upload it.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
|
|
I made dynamic control which is checkbox.
i selected other item in DropDownList which auto postback is true.
after post back, check box's value is same not change.
So i give id which is unique( stepCheck.ID = DateTime.Now.ToString();)
And is Good working.
I think that cache problem. How can i clear cache?
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
You need to set the initial value of the check box inside:
if (!IsPostback)
{
}
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
This should help.[^]
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
I don't think that's really what he means - see my answer.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
So not actually a cache problem, more a reset.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
No, not really. First time into a page you want to set the defaults but not do it again when you Postback (unless you have a reason to do so). So, wrap in the code I gave inside, for instance, the OnLoad of a page and, when you select a new value in the checkbox and PostBack, the default is ignored and the new value will appear.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
This Link[^] might help you
|
|
|
|
|
There is source code which insert person infomation to List<string>.
After below code, middleCategory_list have 200 subitems.
and have 20 people infomation.
I want to convert this to DataSet.
List<string> middleCategory_list.Add= List<string>();
middleCategory_list.Add(cate_big_La);
middleCategory_list.Add(cate_middlecode);
middleCategory_list.Add(cate_middlename);
middleCategory_list.Add(cate_order);
middleCategory_list.Add(cate_yes);
DataSet ds = new DataSet();
string tableName = "Table2";
ds.Tables.Add(tableName);
ds.Tables[tableName].Columns.Add("big");
ds.Tables[tableName].Columns.Add("middlecode");
ds.Tables[tableName].Columns.Add("middlename");
ds.Tables[tableName].Columns.Add("order");
ds.Tables[tableName].Columns.Add("yesno");
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
If you are guaranteed to always have all five columns of information in order then it would be something like this
for(int x = 0; x < middleCategory.Count; x += 5)
{
DataRow row = ds.Table[0].NewRow;
row[0] = middleCategory[x];
row[1] = middleCategory[x+1];
row[2] = middleCategory[x+2];
row[3] = middleCategory[x+3];
row[4] = middleCategory[x+4];
ds.Table[0].Add(row);
}
Notice the use of code block to format the code snippet
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Thank you for answer.
Have a nice day^^!
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
hi
how to UnSelect all rows in GridView - asp.net ?
if i select one row in GridView and make any refresh, how to unselect this row ?
thanks
|
|
|
|
|
|
Try to this in Page_Load, it works
GridView1.SelectedIndex = -1;
|
|
|
|
|
Hi All,
I have a ASP.Net Web Application which sends status messages to another JSP or some other web application throgh a WCF service hosted in my IIS 7.0. Normally it is sending the messages. But some times it may fail, so I want to re-send the failed status messages. So can anybody help me which approach is the best fit for this requirement?
I am confused about the approach, like whether should I use a database table to keep the failed records and activate it through the Windows service?
Or should I put the failed records in XML or Log files and read it from there resend it? Is there any other effient way than implementing Windows service?
Which is the best one please help me in finding the good option, for performance of the application and implementation?
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
It looks like you are trying to implement a guaranteed delivery mechanism for messages. If you want to build your own, you could implement it as a database message queue and have a separate process handle the delivery of the messages. You have all kinds of flexibility (and complexity) by implemeting it as a database table, but it is really up to you to decide how to implement it.
|
|
|
|
|
Hi,
Can you please tell me the pros and cons of these options. Atleast if any link is provided that would be great please.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|