|
Hello sir,
Thanks For Ur reply,
Actually I amgetting datas in this format in my datatable:
Id Name PNo PName Link
1 Admin 134 Admin Form1..aspx
2 Gen.M 106 Maste frmPr.aspx
3 Hum.R 165 HR123 frmwo.aspx
4 Salar 201 HRsal frmsa.aspx
7 Cashe 126 Cashe frmCa.aspx
8 Chequ 159 Cheqy frmch.aspx
9 Bills 161 Cash1 frmca.aspx
I can able to bind the Name field properly in that tabtext(its an arraylist)...,
Similarly i try to bind the PNames based on the Name field...,
Still that 4th id i can able to bind Names and its Pnames records properly..,
After that id 5th & 6th is not there so its binded 7th,8th,9th Names...,
But in that pnames are not binded based on that Name field 7th,8th,9th...,
Its binded 7th & 8th id's,but its not binded its PNames...,
Its binded that 7th Id PNames In that 9th Id...,
So the probs is binding the PNames...,
Plz tell me some solution for this,
Regards,
Mageshh
|
|
|
|
|
Hi ,
How can i build the menu using the MS Access database fields with javascript.
please help me out, if sample code available
thanks in advance
|
|
|
|
|
Hi folks!
I want to chk the type of machine that is requesting the page of my application so that later on I can redirect it to the appropriate page i.e if a mobile is requesting a page I should redirect it to the page I made for mobiles.
by the way I'm working for the first time in .NET Mobile.
Thanks in advance
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
I guess you can use <a href = "http://msdn2.microsoft.com/en-us/library/system.web.mobile.mobilecapabilities_members.aspx" rel="nofollow">MobileCapabilities</a>[<a href = "http://msdn2.microsoft.com/en-us/library/system.web.mobile.mobilecapabilities_members.aspx" target = "_blank" rel="nofollow">^</a>] class and use IsMobileDevice .
|
|
|
|
|
<br />
string res = Request.Browser["IsMobileDevice"];<br />
if (res == "true")<br />
{<br />
<br />
Response.Redirect("Mobile.aspx");<br />
}<br />
else<br />
{<br />
<br />
Response.Redirect("Desktop.aspx");<br />
}<br />
Thats the way I'm doin it at the moment. does it look alright to u?
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
Rocky# wrote: Thats the way I'm doin it at the moment. does it look alright to u?
Is this working perfectly ? I don't think that HTTPBropwserCapabilities having an indexer property.
|
|
|
|
|
well its working and I havent tested it against a mobile :-> I tried to but the simulation wasnt working properly
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
Hi all,
we are using the following class SymmetricAlgorithm,
The code is taken from the following url:http://www.codeproject.com/dotnet/encryption_decryption.asp?df=100&forumid=3466&exp=0&select=1007528
Just we have send the key to this algorithm, instead empty.
For the this username :Shannon81 we can't able to decrypt. The encrypt value is "jw= =" this only due to key. if key is given it is working fine. If we remove the key ,the existing username and password is not working. So please provide the solution .
Thanks in advance.
|
|
|
|
|
If i click the datagrid i want the corresponding data to be displayed in a text box?
|
|
|
|
|
ps.srinivasan wrote: If i click the datagrid
Which part of datagrid do you want to click? header or cell or footer or border or something??
It would be great if you can tell us more details and specific about what you really want. then, it is more easier for us to help you. srinivasan
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
thank u for reply
I want to retrive cell Value
|
|
|
|
|
DataGrid will be rendered as HTML table. On ItemDatbound event, get the cell text and make a call to a javascript function on the OnClick event of the cell.
e.Item.Cells[0].Text = "<a onclick="YourJsFunction('" + e.Item.Cells[0].Text
+ "')>" + e.Item.Cells[0].Text + "</a> above code will set the OnClick event for first cell. Cell value will be passed as parameter to the JS function which can be assigned to text box.
Hope it helps
|
|
|
|
|
:(Hi everybody anybody help me!!!
i am having a gridview,in which i placed a template field which contains a
checkbox control.My need is to find whether this checkbox is checked or not.
pls help me in coding(using c#)
SunithaNallana
|
|
|
|
|
Code from this article..
StringBuilder str = new StringBuilder();<br />
<br />
for (int i = 0; i < GridView1.Rows.Count; i++)<br />
{<br />
GridViewRow row = GridView1.Rows[i];<br />
bool isChecked = ((CheckBox) row.FindControl("chkSelect")).Checked;<br />
<br />
if (isChecked)<br />
{<br />
str.Append(GridView1.Rows[i].Cells[2].Text);<br />
}<br />
}<br />
hope it helps..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Thank u very much sir...
its working.
SunithaNallana
|
|
|
|
|
How can take the sql2005 backup
and how can run the sqlbackup
Jaya
|
|
|
|
|
SQL 2005 backup[^]
If you wanna do manually, you can deattach/attach the mdf in SQL 2005 management studio..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
What is the password logic in ASP with C#
How can i write the Code
Jayakrishna
|
|
|
|
|
JKChowdary wrote: What is the password logic in ASP with C#
Password logic ? What is this ? Do you want to know how to store passwords on DB ? Check this[^]
|
|
|
|
|
I want to place a Doc file in Client 'Temporary Internet Files' folder when Client open my webapplication.So How to Get The Path Temporary Internet Files Folder using Asp.net
|
|
|
|
|
Vanamaindia wrote: I want to place a Doc file in Client 'Temporary Internet Files' folder when Client open my webapplication
Not possible. Because ASP.NET works on the server, and it don't have permissions to write something on client machine.
|
|
|
|
|
Ok,Tell me How to Get The Path Temporary Internet Files Folder using Asp.net??
Ex:
by using Request.UserHostAddress() I can Get the Client IP
Like this How Can I Get the Temporary Internet Files Folder Path
|
|
|
|
|
I think you can't.
All you can access from client are client's IP Address, type of browser, OS and screen resolutions.. That's all.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
"Please vote to let me (and others) know if this answer helped you or not. A 5 vote tells people that your question has been answered successfully and that I've pitched it at just the right level. Thanks."
|
|
|
|
|
Vanamaindia wrote: Tell me How to Get The Path Temporary Internet Files Folder using Asp.net??
Not possible. This won't be send to the server by a browser. So you won't get it. Why you want to write something to temporary internet files ?
|
|
|
|
|
search once in google u may find the answer.;P
|
|
|
|