|
Apurva Kaushal wrote: Use LinkButton.
can you elaborate a bit more ... plz .... ![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|
|
LinkButton is control which looks like a hyperlink and works like a button control. That is why I told that it will look like hyperlink as you want and you can have a click event associated with it wher you can write the code.
Apurva Kaushal
|
|
|
|
|
thanx,
i will look at it ...
|
|
|
|
|
how to count that a particular user has login to a website how many times a day in dotnet
|
|
|
|
|
Store the login information (login time and date) in he database. Once you have these in database you can get any type of reports day wise or week wise whatever you want.
Apurva Kaushal
|
|
|
|
|
Hi any body has got the idea of Wiki. How to implement Wiki in Dotnet.
What are the requirement we need to usew wiki in .net.
Please provide me any suitable information. i have not much idea abut wiki.
Thanks
Avesh Agarwal
|
|
|
|
|
You mean to say that you want to create a application where pages can be modified by the visitors?
Apurva Kaushal
|
|
|
|
|
yes....any solution for this
Amit Agarwal
|
|
|
|
|
i m using Oledb connection to retrive data.from excel sheet. i got all datas from excel sheet in a dataset,but i want to check the cell data, whether it is of date format ,plz help me out.thanks in advance...
|
|
|
|
|
Hi
i have populated dropdownlist with data from database on form load.the problem is when ever i select a something from dropdownlist is removing the default value.for the example if my default value was jakes and select jacob it removes jakes from dropdownlist
Mamphekgo
|
|
|
|
|
Ok lets try and clarify here:
mamphekgojakes wrote: for the example if my default value was jakes and select jacob it removes jakes from dropdownlist
what permantly or just whilst the page is in that state? i.e. if you refresh the page does it show again?
Have you got an onclick event for your dropdown?
|
|
|
|
|
it remove it permanently.
Mamphekgo
|
|
|
|
|
where is the text created, is it binded from a database? or is it in your aspx page
|
|
|
|
|
is binded from database
Mamphekgo
|
|
|
|
|
check if you are refreshing the list. If so make sure to not do on a postback
ie
if(!IsPostback)
{
}
|
|
|
|
|
My web page is running well by using my source. On the page load, I am using two msgboxes. After deploying, If I browse from the IIS manager, I am getting error such
Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
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.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
Source Error:
Line 48: End Try
Line 49: Else
Line 50: MsgBox("Sorry...Permission denied to view this page", MsgBoxStyle.Information, "Permission Denied")
Line 51: Response.End()
Line 52: End If
Source File: C:\inetpub\wwwroot\WebEmail\frmEmailCategory.aspx.vb Line: 50
What I have to do?
Balasubramanian K.
|
|
|
|
|
create a java alert script with the Message. MsgBox is used in woindows apps not in web apps.
|
|
|
|
|
i have a excel file. it is excel file oen or more errors. e.g data format is wrong. i want to create macro in excel file and run asp.net. please tell me how it is possible.
|
|
|
|
|
Hi Developer
I just need a utility to convert DateTime to descriptive Duration. Just like we can see in this forum.
Like if I post a message on "08/07/2008 04:59:05 PM" you will see it like "1 minute ago", "1 day ago", "1 month and 3 days ago" and so on.
Thanks in advance
|
|
|
|
|
Check this out
http://aspnet.4guysfromrolla.com/articles/120507-1.aspx
|
|
|
|
|
how to send MS Word file as a parameter from asp.net web client to asp.net web service? i need to pass word file from my web or windows client to web server In aspnet2005
|
|
|
|
|
I am trying to create a function which creates a certain amount of textboxes depending on how many are in the datatable.
I have the following code so far:
foreach (DataRow row in dataSetselectactivities.Tables[0].Rows)
{
TextBox tb = new TextBox();
tb.Visible = true;
}
but how would I add a new value to the textbox for each row, would it be something like tb.text += dttablevalue
any help would be great
thanks
|
|
|
|
|
You need to create Array of Controls instead, to get/set attributes of all textboxes.
|
|
|
|
|
ok, ive got this now
public void CreateTextBoxes(Object sender, EventArgs e)
{
foreach (DataRow row in dataSetselectactivities.Tables[0].Rows)
{
TextBoxesHere.Controls.Add(new TextBox());
}
}
I am not showing the datatable in the code above because it would take up too much room but it does exist. Anyway Ive managed to create as many textboxes as there are rows dynamically. However now I need to fill each one with data from the datatable. How do I go about that?
thanks!
|
|
|
|
|
public void createTextBoxes(DataTable dt)
{
TextBox txt;
int Count = 1;
foreach (DataRow dr in dt.Rows)
{
txt = new TextBox();
txt.ID = "txt_" + Count;
txt.Text = dr["FieldName"].ToString();
Count+=1;
}
}
regard
kHan
please don't forget to vote on the post that helped you.
modified on Tuesday, July 8, 2008 8:05 AM
|
|
|
|