|
I don't think that gridview supports this. You can subclass gridview and make your own control with necessary properties.
|
|
|
|
|
Hi,
How to raise Session_End event at Global.asax if I use SQLServer for session state. I want to clean up some data when user click X at their browser or if their session is expired.
Any help will be appreciate.
Thanks
|
|
|
|
|
Hi,
I want to know how to display textbox value in a table.........
please help me out as I don know much of asp.net
hope to hear from you soon
Thank u
|
|
|
|
|
Suhasini Ramanan wrote: I want to know how to display textbox value in a table..
This doesn't make sense. You can use Text property for the textbox to get/set the text. What table are you using? If it is ASP table, take the column you want to assign the text and assign it.
Suhasini Ramanan wrote: please help me out as I don know much of asp.net
What is stopping you from buying a book and working with it?
|
|
|
|
|
Imagine this...
I have a custom control and I drag it onto a .net web page. The custom control is given the id 'objMyControl'.
In the Page_Load event of the custom control I want to know what the page has called my control.
Any ideas?
|
|
|
|
|
me.id inside your custom control??
Alexei Rodriguez
|
|
|
|
|
i have to create database(create database dbname) from asp.net into sqlserver 2005, i m accepting server ip/name, uid, pwd to connect. How to do that ? need help
Thanks in advance.
|
|
|
|
|
You need to have permission for creating database
Then, all you need to do is to execute the correct instructions to create the database and structure
CREATE DATABASE ...
Just script out any of your exiisting databases to see the syntax
Alexei Rodriguez
|
|
|
|
|
dream_liner_7e7 wrote: i have to create database(create database dbname) from asp.net into sqlserver 2005,
you can create using CREATE DATABASE command.
dream_liner_7e7 wrote: i m accepting server ip/name, uid, pwd to connect. How to do that ? need help
Why you are trying to do so? means each client will able to create database in server ? or what ?
cheers,
Abhijit
|
|
|
|
|
Basically i m creating a web based installer where users will create database and execute sqlscript on there hosting server, that y i need hosting server ip, uid, pwd.
The create database dbname will run for the first time to create the database then executing sqlscript will create structure in that database.
thats y i was confused how to create DB on the fly.
|
|
|
|
|
I have a DataView control and would like to display the first and last name of the employee using the Northwind db. I have the following which works fine...but I'd like to use the first and last name.
<ItemTemplate>
<%#Eval("Customer.CompanyName")%>;
</ItemTemplate>;
|
|
|
|
|
The easiest way is to concatenate the fields in sql 'firstname + lastName as Name'
A gridview has onitemdatabound event where you can set the values in code. But I am not familiar with a dataview.
I didn't get any requirements for the signature
|
|
|
|
|
Multiple cross posting.
Blog link to be reinstated at a later date.
|
|
|
|
|
As already mentioned, please do not cross post. It is annoying seeing your same question in multiple forums. Pick the appropriate forum for your question and let it be
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
<%#Eval("Customer.CompanyName") & " " & Eval("Other field") %>;
Alexei Rodriguez
|
|
|
|
|
|
After a user successfully inserts a new record in the "DetailView" control, I want to redirect them to a new page. Is the best method of doing this as follows:
protected void DetailsView1_ItemInserted(object sender, DetailsViewInsertedEventArgs e)
{
Response.Redirect("Part2.aspx");
}
|
|
|
|
|
Yes. If you want to stop processing code then do Response.Redirect("Part2.aspx", true); otherwise leave it.
I didn't get any requirements for the signature
|
|
|
|
|
...
Blog link to be reinstated at a later date.
|
|
|
|
|
Yes, Response.Redirect will work, and do not cross post. This question is in the correct forum, the same question being asked in the other forums is annoying.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
As on this page when you try to leave without submitting you are given a warning. I no this is done on pageunload with javascript but I'm pretty sure there is a tutorial on this somewhere but I'm having trouble finding it.
Anyone know off hand where a tutorial is to warn the user when they are trying to leave a page.
I didn't get any requirements for the signature
|
|
|
|
|
Nevermind, I figured it out by viewing the source on this page.
Thanks Code Project!
I didn't get any requirements for the signature
|
|
|
|
|
Hi;
I have a grid with AllowPaging = "True" I try to export my grid to excel the problem is that I have to export each page of my grid to excel.
I need a solution that exporte data from the entire grid ?
thank you .
|
|
|
|
|
Hi friends,
How should i add rich text box control in web applications?
Thanks in advance
Regards,
Venkat
|
|
|
|
|
if by rich text box you mean an editor, then check out FCKeditor - http://www.fckeditor.net/[^]
it has a component for ASP.NET so it's quite simple to use it and plus it is very powerful.
Andrei
|
|
|
|