|
This guy keeps posting the same question in multiple forums and has no clue how to use Google.
Blog link to be reinstated at a later date.
|
|
|
|
|
thnanx a lot friends..my problem was solved..
|
|
|
|
|
You are a complete tool.
Blog link to be reinstated at a later date.
|
|
|
|
|
My Paranoid Hubby wrote: a complete tool.
Yep. Should have seen the questions the OP was asking about not being able to see SQL Server, and the walk through how to work with Services.
"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
|
|
|
|
|
I have a gridview where each row's cells contain textboxes (for providing I/O into the gridview) The problem I need to solve, I think, is with textboxes that make up the cells of the grid. When I select one of the textboxes that make up the cells of the gridview, then I want the whole row, each of the row's textboxes, to be highlighted in yellow showing that row as being selected.
Thanks,
Steve
|
|
|
|
|
Steve, ever heard of theDataGrid Girl?[^] For everything you wanted to know about the asp.net datagrid.
led mike
|
|
|
|
|
A great resource. It has helped me with many problems. Shame about the name
Bob
Ashfield Consultants Ltd
|
|
|
|
|
The problem I was having was not being able to set a skin dynamically to a control after Page_OnInit. I posted a new question coving that so just disregard this.
Thanks,
Steve
|
|
|
|
|
Hey.
I have a search page containg 2 buttons and 2 textboxes.
I have a javascript that cathces the enter-key event and triggers the respecting button, as
in TextBox1 to Button1 and TextBox2 to Button2.
My problem is that when I enter the page, the Button2 is allways in focus, no mather if I have the TextBox1 in focus or
click on a CheckBox that is allsow have on the page.
So when I hit the enter-key, the Button2.click event is allways triggerd.
Does anyone know how to get around this.
Thanks
Thomas
|
|
|
|
|
I had to replace the Buttons with LinkButtons
|
|
|
|
|
set UseSubmitBehavior = true in Button property
|
|
|
|
|
set UseSubmitBehavior=True in Button property
|
|
|
|
|
i have one xml file and this file is displayed in gridview.and i want delete the row in gridview by using templete field.plz any one know help me.
|
|
|
|
|
Dear All,
I have created a custom attribute class in app_code as:
[System.AttributeUsage(System.AttributeTargets.Class,AllowMultiple=false)]
public class Arrtib : System.Attribute
{
public Arrtib()
{
if (HttpContext.Current.Session["UserId"] == null)
{
HttpContext.Current.Server.Transfer("~/Login.aspx");
}
}
}
And i have used this attribute as follows.
[Arrtib]
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
the basic idea behind that is "if user is not log in then request for this page (default.aspx) will redirect to login page."
this works fine in when we request default.aspx first time.
but after login and once accessing the default.aspx page and then log off. (in log of i have cleared the session.)
now if we request for the same page it should call the custom attribute constructor and redirected to login page.
BUT..... ya BUT attribute constructor is not executing.
Try to help for this problem.
Thanks in Advance.
|
|
|
|
|
hai all,
I am storing some values in an arry like following
Dim arr(10) as double
din i,j as integer
i=10
j=7
arr(1)=2
arr(2)=i*j
arr(3)=i/j
arr(4)=i+j.....
like this i am storing some expression value in arr(index).
But when i am debugging ,i couldn't see the value at runtime of perticular array data(arr(1),arr(2),arr(3),arr(4)).
I want to see the value what is going in the arr(index).How can i do this ?
I want to store in this pattern only.
Any solution please let me know.waiting for reply.
Thaks in advance.
kissy
|
|
|
|
|
hi Kissy16
but you declared your Array as an integer. You cannot declare an array and assign different datatype. rather use a string than integer.
hope this helps
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
Hi Guys,
I have a doubt on Master page content page merging.
1) Which life cycle of the http request does this happens ?
2) Logically the pageload of the master page has to execute before the content page.
How ever it looks vice versa. Which is the correct way?
Thank you for your support
Sree
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Content pages load after Masterpages
Formerly know as .netman
|
|
|
|
|
hy,
i need to write a code which would display the ip address of my computer.it should also work on the server ,means... even when i m running this code on the server,i should get the ip address of the terminal that the client is using and not the ip address of the server.
It must be a client side code(may be javascript or vb script)
regards
modified on Thursday, October 16, 2008 8:20 AM
|
|
|
|
|
try this:
Request.Servervariables("REMOTE_ADDR")
Formerly know as .netman
|
|
|
|
|
Hy,
Thanks for replying to my query...but i need a client side code......I tried dde following code....IN JAVASCRIPT
var ip = '<!--#echo var="REMOTE_ADDR"-->'
// This part is for an alert box
alert("Your IP address is "+ip);
but it doestnt work....can u plz help me wd dis.....Can u tell me what a .SHTML file is actually
|
|
|
|
|
will this help u?
IPHostEntry ipHost = Dns.GetHostEntry(Dns.GetHostName());
IPAddress[] IpAddList = ipHost.AddressList;
for (int i = 0; i < IpAddList.Length; i++)
{
Response.Write(string.Format("IP Address {0}: {1} ", i, IpAddList[i].ToString()));
}
Krishnaraj Barvathaya B
|
|
|
|
|
Thankz for replying to my query..
Actually I need a client side coding....so that it can detect the ip address of the client..
|
|
|
|
|
Try this.... if ur using ASP.net
In C#
<br />
String clientIP = Request.UserHostAddress() <br />
Response.Write(clientIP)<br />
Other wise, u must have .shtml extenstion for Javascript code below to work. And u must access the page thru a server... not using file system (which makes sense)
<br />
<script><br />
var IPAddress = '<!--#echo var="REMOTE_ADDR"-->';<br />
alert(IPAddress);<br />
</script><br />
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|
Hy ,
Thankyou for replying to my query...I tried ur code but it didnt work..whn i tried de code behind one...i got de default ip address and whn i tried de java script one i could get de ip address of de client side....I have serched around 20 web sites ...de all have de same code dat u recommended...but dis dosent satisfy my query..
I need to display de ip address of all de clients who are viewing my web page..and de code should work on de server so dat de ip address of de person who has logged on is recorded on de server.
regards
|
|
|
|