|
I've Created a Web application that can access ACCESS DATABASE FILE and update records.
As usual i entered <identity impersonate="true"> in web.config.Now i Created a web setup to deploy the application.And problem is now i cannot access the database.but the project can.Installed project is still unable to run.
Help please
Kanchana
|
|
|
|
|
hmklakmal wrote: And problem is now i cannot access the database
So what is the error that you get?
Can you post the code that causes the error and the configuration of the connection string?
|
|
|
|
|
I try to Create Password Change Concept as used in Emails in Asp.Net with C#.But i cant do it.can any one solve my problem
|
|
|
|
|
What you did it?
What error you got it?
Regards,
Satips.
|
|
|
|
|
I am designing three web pages and want user id retain in third page.
i give user id in first page.
on yhe basis of that user id i change password of that user.
i use datareader concept for checking userid and password at first page.
now the problem is how can i take this userid to third page and how i change password on that page.
|
|
|
|
|
What´s the standard mechanism used for server-side validation when using a objectdatasource control?
Do you validate on your Page_Load event? If so, how do you signal the objectdatasource control to not propagate the Insert/Update/Delete event?
All of the examples i´ve found show how you can bind to the control and perform a CRUD operation with data that´s not validated and that is not expected to fail.
thanks
Gabriel
|
|
|
|
|
I want to write a web page which having a textbox and a button. When user click on the button, there will be a calendar window pop-up and let user to select the date. When user click on the date, the pop-up calendar's window will be closed and the date selected will be show on the textbox on the web page.
I don't know how to transfer to date back to the original web page. Please kindly help.
Thanks a lot.
|
|
|
|
|
u can use this method for example:
<input type=button value='calendar' onclick="document.getElementById('txt1').value = showModalDialog('calendar.htm','title','help:no;status:no;resizable:no');" >
and in calendar.htm page write:
<script>
window.returnValue='2007/04/08';
self.close();
</script>
We Can Do Anything, If We Want It
|
|
|
|
|
Success. Many Many thanks for your kindly help.
|
|
|
|
|
|
Hi,
I have created a SOAP web service in .NET. I have a client application which consumes some methods - it essentially passes a username and password to the web service and gets back a 'signature' (for what is not important), once the username and password is correct.
Obviously, this web service is exposed to the world - and could be a target for malicious users, etc. Is there any way in .NET to say "Only allow this application to use this web service"?
I cannot limit the IP range, as the client app should be usable from anywhere. I'm sure this is a common problem, but have found no concrete help.
Thanks,
Cormac
|
|
|
|
|
Hello
I'm a begginer in programming[asp.net(vb)]
Please tell me how do I access CommandField inside of a GridView........
I have a button inside my GridView1.I want it to display More Infomation on the other GridView2,about the member selected
oga m
|
|
|
|
|
just create RowCommand event handler....you can do your stuff then
<< >>
|
|
|
|
|
hello,
u have to find particular button in RowCommand in asp.net 2.0 or ItemCommand In asp.net 1.1.
with help of commandName Property of button u just find particular button
if(e.item.commandname="selected")
{
}
I hope this info will help u.If not pls wait for .net Guru suggestions
|
|
|
|
|
Hello
I'm a begginer in programming[asp.net(vb)]
Please tell me how do I access CommandField inside of a GridView........
I have a button inside my GridView1.I want it to display More Infomation on the other GridView2,about the member selected
oga m
|
|
|
|
|
Can you please help me with my error
************
This is the Error
************
Error 2 Argument not specified for parameter 'ConPassword' of 'Public Sub addNewAdmin(Email As String, IDNumber As String, Title As String, Surname As String, Name As String, Occupation As String, Cell As String, Telephone As String, Password As String, ConPassword As String)'. C:\FinalTimeSheet\UserAdmin.aspx.vb 9 C:\FinalTimeSheet\
*********
This is my code
***********
Public Sub addNewAdmin(ByVal Email As String, ByVal IDNumber As String, ByVal Title As String, ByVal Surname As String, ByVal Name As String, ByVal Occupation As String, ByVal Cell As String, ByVal Telephone As String, ByVal Password As String, ByVal ConPassword As String)
Dim Sql As String
Dim obj As Datalayer.Database = New Datalayer.Database
Sql = "insert into UserAdministration (E_mail,Id_Number,Title,Surname,Name,Occupation,Mobile_Number,Telephone,Password,Confirm_Password)" & _
" Values('" & Email & "','" & IDNumber & "','" & Title & "','" & Surname & "','" & Name & "', '" & Occupation & "', '" & Cell & "','" & Telephone & "','" & Password & "','" & ConPassword & "')"
obj.Execute(Sql)
End Sub
*************
Code for Button Click
************
Protected Sub btnSave_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSave.Click
Dim ds As New Data.DataSet
Dim Obj As Businesslayer.TimeSheet = New Businesslayer.TimeSheet
Obj.addNewAdmin(txtEmail.Text, txtIdNumber.Text, txtTitle.Text, txtSurname.Text, txtOccupation.Text, txtCell.Text, txtTelephone.Text, txtPassword.Text, txtConPassword.Text)
If txtPassword.Text <> txtConPassword.Text Then
MsgBox("Passwords do not match")
txtPassword.Focus()
Exit Sub
Else
SaveData()
End If
End Sub
*************
oga m
|
|
|
|
|
just a quick glance...is the txtConPassword.Text empty?
<< >>
|
|
|
|
|
Please don't repost.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi, I am a new beginner with ASP.net. I am using visual studio 2005, and I need to get data from database and show it in a textbox, just like google's autocomplete. I found an example
http://www.codeproject.com/useritems/Autocomplete.asp
and I was wondering about 2 clases is this project, sqlHelper.cs and sqlProivder.cs, am I free to use theese classes ? Are they provided by Microsoft ?
If someone could give some good & easy to understand examples of autocomplete with ASP.net & c#, then I would be very much thankful.
( sorry for my bad english, I'm norwegian, so my english is not that good )
|
|
|
|
|
One post is enough.
Regards,
Satips.
|
|
|
|
|
Hi, I am a new beginner with ASP.net. I am using visual studio 2005, and I need to get data from database and show it in a textbox, just like google's autocomplete. I found an example
http://www.codeproject.com/useritems/Autocomplete.asp
and I was wondering about 2 clases is this project, sqlHelper.cs and sqlProivder.cs, am I free to use theese classes ? Are they provided by Microsoft ?
If someone could give some good & easy to understand examples of autocomplete with ASP.net & c#, then I would be very much thankful.
( sorry for my bad english, I'm norwegian, so my english is not that good )
|
|
|
|
|
|
sdklfjlkdsfjdklsfjkdslfjdslkf wrote: and I was wondering about 2 clases is this project, sqlHelper.cs and sqlProivder.cs, am I free to use theese classes ?
you might ask the author...
sdklfjlkdsfjdklsfjkdslfjdslkf wrote: good & easy to understand examples of autocomplete with ASP.net & c#
how about this http://www.codeproject.com/useritems/Autocomplete.asp[^]
|
|
|
|
|
This is the Error
************
Error 2 Argument not specified for parameter 'ConPassword' of 'Public Sub addNewAdmin(Email As String, IDNumber As String, Title As String, Surname As String, Name As String, Occupation As String, Cell As String, Telephone As String, Password As String, ConPassword As String)'. C:\FinalTimeSheet\UserAdmin.aspx.vb 9 C:\FinalTimeSheet\
*********
This is my code
***********
Public Sub addNewAdmin(ByVal Email As String, ByVal IDNumber As String, ByVal Title As String, ByVal Surname As String, ByVal Name As String, ByVal Occupation As String, ByVal Cell As String, ByVal Telephone As String, ByVal Password As String, ByVal ConPassword As String)
Dim Sql As String
Dim obj As Datalayer.Database = New Datalayer.Database
Sql = "insert into UserAdministration (E_mail,Id_Number,Title,Surname,Name,Occupation,Mobile_Number,Telephone,Password,Confirm_Password)" & _
" Values('" & Email & "','" & IDNumber & "','" & Title & "','" & Surname & "','" & Name & "', '" & Occupation & "', '" & Cell & "','" & Telephone & "','" & Password & "','" & ConPassword & "')"
obj.Execute(Sql)
End Sub
*************
Protected Sub btnSave_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSave.Click
Dim ds As New Data.DataSet
Dim Obj As Businesslayer.TimeSheet = New Businesslayer.TimeSheet
Obj.addNewAdmin(txtEmail.Text, txtIdNumber.Text, txtTitle.Text, txtSurname.Text, txtOccupation.Text, txtCell.Text, txtTelephone.Text, txtPassword.Text, txtConPassword.Text)
If txtPassword.Text <> txtConPassword.Text Then
MsgBox("Passwords do not match")
txtPassword.Focus()
Exit Sub
Else
SaveData()
End If
End Sub
*************
oga m
|
|
|
|
|
please help me with this code,I really don't understand what might be the problem
oga m
|
|
|
|
|