|
Hold all records temporarily in Table on first page and store into the session object. Then again populate it on second page from session.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Hi all,
quick question how do you center your components in asp.net on the html side of things. I've tried to work it out but am having no luck so go back to using normal HTML tables
Any advice welcome.
Thanks
PS I'm more on the development side of things then designer making things look good
|
|
|
|
|
Where are the add/delete button codes? I want to catch some errors there
|
|
|
|
|
|
What sort of answer is that?
|
|
|
|
|
eyeseetee wrote: What sort of answer is that?
A typical one from him.
"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
|
|
|
|
|
hopingToCode wrote: quick question how do you center your components in asp.net on the html side of things.
Surely HTML is just embedded in an aspx page. Are you struggling to aling a normal HMTL table in the middle of the page, is that query query?
|
|
|
|
|
a normal table in HTMLI can do, but if I wanted to center an asp label with out a table how would I do that? or a
label text box label combo box
on one line in the centre
|
|
|
|
|
generally its with a combination of width and margin or text-align styles.
This div will take up 300px and be centered horizontally.
<div style="width:300px;margin-left:auto;margin-right:auto">
Im in the centre
</div>
this div will be 100% wide but all the text will be centered
<div style="text-align:center">
Im in the centre
</div>
|
|
|
|
|
So I have to do it on a div I can't do it on the control
|
|
|
|
|
Div is the best way to do it.
|
|
|
|
|
|
A div is just an element, css styles can be applied to every type of element.
|
|
|
|
|
|
I want to develop a web application and I am not sure whether I should do it in DHTML or Silverlight.
I could use the rich UI capabilities of Silverlight, but on the other hand
Silverlight is heavy on the client and not many users installed it.
Are there any solutions or suggestions?
thanks alot!
|
|
|
|
|
If I were you I would just stick to using DHTML, as like you say not everyone has silverlight installed
Lloyd J. Atkinson
"Logic will get you from A to B, but imagination will take you everywhere" - ALbert Einstein
I look at Microsoft, and turn to my poster on the wall saying: "Bang head here in case of stress".
|
|
|
|
|
how to compare two untyped dataset in asp.net..
Prakash
|
|
|
|
|
Hi,
I am using .net 2.0. I want to search & highlight the text in datagrid like Edit->FindNext option present in NotePad, Word etc. I saw many examples to highlight the searched text within the datagrid at once. But I want to search the text one by one. If anyone know the idea please help me to implement this.
Thanks.
|
|
|
|
|
hope this could help
http://www.nsftools.com/misc/SearchAndHighlight.htm[^]
in the highlighting function, just break the code and return after the first highlight and hold the value in a local variable and see if you could give that value in the local variable as the starting index for the next search, hope this could work in the code u claimed u currently have, the one that does well for one time search. But defintly needs some tuning.
|
|
|
|
|
i m accepting users remote server ip, id, pwd, now i have to make a connection string and save it in web.config. how to save connection string in web.config programmatically?
Thanks in advance.
|
|
|
|
|
Go through this site. You can add and encrypt the connection strings:
Encrypting Connection Strings
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Thanks for the solution it worked fi9
|
|
|
|
|
The ConfigurationManager class has functionality that would allow you to load the configuration file, target the section that has the connection string (typically, ConnectionStrings or AppSettings), modify the connectionstring and then save back. You will need to import System.Configuration namespace.
|
|
|
|
|
I need to validate a URL. At present, I'm using a regular expression, (http(s)?://((w{3})+\.)+([\w-]+\.)+(\w{2,4})+(/[\w- ./?%&=]*)?)|((w{3})+\.)+([\w-]+\.)+(\w{2,4})+(/[\w- ./?%&=]*)?
This Validation expression will work fine only when the URL is in full, like for eg: http://www.abc.com.
There are cases where the url can't have www. In that case, this expression will throw error. For eg: http://forums.microsoft.com. So how to modify the above url? Can anybody please provide any help on this?
Thanks
meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|