|
Thanks for ur quick reply...
|
|
|
|
|
did u check this
Please let me know the details when done
Thanks
Happy Programming
-----
Abhijit
|
|
|
|
|
how to edit gridview i want to update the rowdata
kirankumar
|
|
|
|
|
just add the edit button on grid view , write code on OnEditing Event on Gridview .
There are lots of article are available , just googling
Happy Programming
-----
Abhijit
|
|
|
|
|
Please send any link address
kirankumar
|
|
|
|
|
|
Hi,
Thanx....iam using sqlDatabase table i saw so many examples but they used SqlDataSoure control so i want to sqldatabase not that sqldatasource control but in this how to cature the child contorl text to update
kirankumar
|
|
|
|
|
Hi,
Thanx....iam using sqlDatabase table i saw so many examples but they used SqlDataSoure control so i want to sqldatabase not that sqldatasource control but in this how to cature the child contorl text to update i know for datagrid but it is not working
kirankumar
|
|
|
|
|
Set AutoGenerateEditButton as True...Or u can edit and update ur record using javascript.
|
|
|
|
|
I have a file field and a auto postback dropdownlist,when first i select the file in file field and a select a value from dropdownlist, the page load and the selected value of the file field is disappear. I need to set the same value if the page load as many time. The javascript validation show the file field as blank when submit.
thks
|
|
|
|
|
Perhaps you are binding dropdownlist in Page events method. please put constraints such as !IsPostBack etc., If problem still not solved please post you r code-behind or databinding for dropdown.
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
Wht is diff between literal control and label control?
Ritesh Mogha
|
|
|
|
|
for literal control there will be no style/skin and Label you can apply style/skin and label emits a span tag in output where as literal outputs only text.
<asp:literal text="Literal Text" ....="">
<asp:label text="Label Text" ....="">
will emit output as
Literal Text
Label Text
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
Can anybody tell me how to get a google search engine in a web application...
|
|
|
|
|
At the following url you can find some stuff.
http://www.askdavetaylor.com/how_can_i_add_a_google_search_box_to_my_web_site.html
I hope it will be useful to you.
Intelligence is measured by common sense not by how many scholarly books you read.
|
|
|
|
|
Use this 1
<br />
<html xmlns="http://www.w3.org/1999/xhtml" ><br />
<head runat="server"><br />
</head><br />
<body><br />
<form method="get" action="http://www.google.com/search"><br />
<input type="text" name="q" size="31"<br />
maxlength="255" value="" /><br />
<input type="submit" value="Google Search" /><br />
</form><br />
</body><br />
</html><br />
Happy Programming
-----
Abhijit
|
|
|
|
|
Wht is the diff between server.transfer and response.redirect?
also say the use of it.
Mogha Ritesh
|
|
|
|
|
Why you dont try in google first?
get it Difference
bESt reGarD
pAthAn
|
|
|
|
|
Hi,
(Workin in ASP.NET C#)
As per the requirement of my project I want to use Object oriented approach so I want to use classes.
I want to keep all the classes in a a separate file and use whichever is required.
How to go ahead with it? Please let me know.
Thanks !
|
|
|
|
|
Add a .cs file to the project...declare an object for this class in your code behind ..and now you can access the methods inside the class..
Koushik
|
|
|
|
|
Just add a class file to ur soolution/project.this will act as a separate class on its own.u can access the class using this class name in its derived class.
www.codepal.co.nr
Regards
Sean
http://www.codepal.co.nr
|
|
|
|
|
i think the better solution is you need to read some books on asp.net in C#
that will help you in future a more
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
If we develop a site and in that only the authenticated user can access the site by loggig in .the username and passwords will be stored in the sql database.how encryption will be done for this site that means if a user logs in the users name and password will be seen in the addressbar in encrypted form.how is it possible.please send the source code for this encryption in c#
|
|
|
|
|
Encryptiing can be donw in lots of ways.There are simple and too many complicated encryption algorithm available throughiut the net.But probably in ur case u can use the basic and simplest algorithm like converting the character to ASCII or something like that.U can check the forum in my site for a sample encryption done in classic ASP.
www.codepal.co.nr
Regards
Bino Bose
http://www.codepal.co.nr
|
|
|
|
|
hi everyone,
I am getting user information from active Directory(AD).
it works very good from my system(PC).but if i try from any other system(PC) of our network.it doesnt display anything.
I have a complete application in my localhost under inetpub/wwwroot.
now i am trying to run this application from different computer. as like http://bhuraa/intraApp/ where bhuraa is my computer name and IntraApp is application name.It starts application but doesnt display my information.which i get from my PC(System).
code is given below.
please help me.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
lblmail.Text = GetUserInfo(Request.ServerVariables("REMOTE_USER"), "mail")
end sub
Public Function GetUserInfo(ByVal inSAM As String, ByVal inType As String) As String
Try
Dim sPath As String = "LDAP://RCJY01DC01"
Dim SamAccount As String = Right(inSAM, Len(inSAM) - InStr(inSAM, "\"))
Dim myDirectory As New DirectoryEntry(sPath)
Dim mySearcher As New DirectorySearcher(myDirectory)
Dim mySearchResultColl As SearchResultCollection
Dim mySearchResult As SearchResult
Dim myResultPropColl As ResultPropertyCollection
Dim myResultPropValueColl As ResultPropertyValueCollection
'Build LDAP query
mySearcher.Filter = ("(&(objectClass=user)(samaccountname=" & SamAccount & "))")
mySearchResultColl = mySearcher.FindAll()
Select Case mySearchResultColl.Count
Case 0
Return "Null"
Exit Function
Case Is > 1
Return "Null"
Exit Function
End Select
mySearchResult = mySearchResultColl.Item(0)
myResultPropColl = mySearchResult.Properties
myResultPropValueColl = myResultPropColl.Item(inType)
Return CStr(myResultPropValueColl.Item(0))
Catch ex As System.Exception
End Try
End Function
waiting for poisitve reply.
ASIF
-- modified at 1:46 Monday 22nd October, 2007
|
|
|
|