hi every body
I have a HTML structure, something like
<body><divid="upperWrapper"><%--some elements here!--%></div><divid="main Container"><%--some other elements--%></div></body>
Now I want the "upperWapper" height be the same size as my device ViewPort height. I know the JQuery can do this for me ;) but I wonder if there is a pure CSS solution or some better one! any help would be appreciated
private void CreateControls(ControlCollection cc)
if (RadScriptManager.GetCurrent(_contextPage) == null)
RadScriptManager rsm = new RadScriptManager();
rsm.ID = "scriptManager";
Good morning every body! Please help me out in this since I can't really figure out what is wrong.
I have a datalist control that displays posted status. Inside this datalist is a textbox control and a button 'Add idea'. I want visitors to add their own idea so I used this code
Public Sub AddIdea(ByVal sender As Object, e As DataListEventsCommand...)
Dim txt As TextBox = e.Item.FindControl("txtidea")
If txt.Text <> "" Then
MsgBox ("No idea entered")
But if the Add idea button is heat, the msgbox returns an empty string. Help please.
Connecting to the database as "sa":
This will give an attacker complete control over your SQL instance, and potentially the server as well.
You should only ever connect using a specific account which has the least permissions required to run your application.
Disposable objects not in "using" blocks:
In the event of an exception, the SqlConnection and SqlCommand objects might not be cleaned up properly.
All objects which implement IDisposable (and don't escape the current method) should be wrapped in a using block.
On the plus side, the code is using properly parametized queries, so it isn't vulnerable to SQL Injection.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Last Visit: 31-Dec-99 19:00 Last Update: 28-Nov-23 17:27