|
Hi,
In one of my project i also get the same error.
.net framework did not have support of crystalreport dlls.
So i use crystalreport msi setup in my visual studio setup file(you can have it where you install visual studio in you computer).
And then i use that msi setup and install in my server. it's works.
So i thing same problem you may have.
|
|
|
|
|
i am doing an application in which i want to clear all textboxes in the page
anyone please help me...
SAJAN A PILLAI
C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE
|
|
|
|
|
Hi There.
I usually create a function that loops through my page and do a check to see if the control is a textbox, if it is it sets the Text property to "". You can then call this function from anywhere.
Hope this helps.
Regards,
Elizma
|
|
|
|
|
|
you can also have some javascrip funtion for this.
var controls = document.all;
if(controls[i].tagName == 'INPUT')
{
var tmpID = controls[i].id;
tmpID.value = "";
}
|
|
|
|
|
Hi guys,
I have one query, i have one funtion, in that fuction i did so many calculation.i finished that calculation the result will be display one lable, i want to display the result when i hover the mouse in corresponding image button. is it possible? please help me. i want to do in these things in ASP.NET with vb.
Thanks in advance
praveen......
Praveen Kumar.R
|
|
|
|
|
If you want to calculate in server side then go for AJAX
otherwise do it in Javascript code.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Hi How can i do in javascript please give some idea or sample code.
Praveen Kumar.R
|
|
|
|
|
Hi Friends,
This is regarding what happening between IIS server and Localbrowser..
We all familiar that IIS server in our System process our application or our page..
I will Give an Ex:
Lets consider I am having an login page if I entered the loginname and password and click enter what happens & how request will reach IIS. I know that the url is the only bridge between IIS and Explorer plse explain me what happening beneath..............
came out of hardwork
|
|
|
|
|
Its like this, When browser requesr any URL first time , server generate a Unique variable called SessionID and with response return this session ID , this session ID will remain on the browser cookie for the next request,
When u out userId and passwork and click on the login button the request for the page goes with the values you have entered, this can be thru GET/POST what ever you have selected in yout FORM tag. server then execute the page and return Status=200 (OK) and the HTML which browser can display,
with asp.net control, server generate the corresponding HTML controls based on the BROWSER type, eg for asp:lable it generate for IE and <layer> tag for netScape
If u want to know any specif thing, do ask that as well since its a very wast thing includinh HEADERS /CACHE etc
Nobody is perfect i'm Nobody
|
|
|
|
|
Thnaks for ur reply
came out of hardwork
|
|
|
|
|
Hi all,
I got a solution myself for my previous questions.
Now I have other two question on Chart FX that is
Question1: When I have three series in my chart, I want to have three different types of labels on the same xaxis for each series correspondingly.
Question2: When I display the point labels on the series the point labels are different from what data I pass to that series.
For example: when I pass this array to the series
array = {30.2, 40.2}
the point labels were displaying 3020.0, 4020.0
But I want the point labels to be like the data I pass to the series that is 30.2, 40.2
Please help me out on this.
Thanks in advance
|
|
|
|
|
HI, Can i get data type of fields from MS Access
Socheat
|
|
|
|
|
Microsoft Access database fields are created by entering a field name and a field data type in each row of the field entry area of the database table window. The field description is an option to identify the fields purpose; it appears in the status bar during data entry. After you enter each field's name and data type, you can specify how each field is used by entering properties in the property area. Before you enter any properties, however, you should enter all of you fields names and data types.
Clickety[^]
Regards,
Satips.
|
|
|
|
|
Hi, am sorry that i didn't say clearly, i mean that i want to get field data type by using ASP
Socheat
|
|
|
|
|
Socheat.Net wrote: i want to get field data type by using ASP
Try with IIS Metabase.
Regards,
Satips.
|
|
|
|
|
What is IIS Metabase?
Socheat
|
|
|
|
|
|
Hi, the following code is supposed to validate a username using a MySQL database before it and other info of a new user is stored in a database. When I check to see the info that is sent to MySQL, I noticed that it was the default values that I had created for each of the fields in the database that show up. The code below ran just fine but it doesn't do what it was designed to do. Would you please take a look to see what is wrong with the code. At the moment I have yet to use any kind of validations on any of the fields? Thank you in advance for your help.
Private Sub lblRegister_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lblRegister.Click
Dim myConnection As OdbcConnection
Dim myCommand As OdbcCommand
Dim strInsert As String
Dim strGoodPassword As String
Dim strSQL As String
strSQL = String.Empty
myConnection = New OdbcConnection("Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=myMembersdb;User=myUser; Password=myPassword;Option=3;")
myCommand = New OdbcCommand(strInsert, myConnection)
strSQL = String.Format("SELECT UserName FROM myTable WHERE (email='{0}');", txtUserName.Text)
myCommand.CommandText = strSQL
myCommand.CommandType = CommandType.Text
myConnection.Open()
strGoodPassword = CType(myCommand.ExecuteScalar, String)
If Not strGoodPassword Is Nothing Then
lblMessage.Text = "That user name is already taken!"
lblMessage.Text &= " Please choose another user name."
Else
strInsert = "INSERT into myTable (FirstName,LastName,Password,UserName)values(?,?,?,?)"
myCommand.Parameters.Add("@FirstName", txtFirst.Text)
myCommand.Parameters.Add("@LastName", txtLast.Text)
myCommand.Parameters.Add("@Password", txtPassword.Text)
myCommand.Parameters.Add("@UserName", txtUserName.Text)
myCommand.ExecuteNonQuery()
myConnection.Close()
End If
End Sub
de", txtUserName.Text)
myCommand.ExecuteNonQuery()
myConnection.Close()
End If
End Sub
-- modified at 18:05 Sunday 17th June, 2007
|
|
|
|
|
Not sure of your core problem, but you should read up on SQL injection attacks, and safe ways to check username/password combinations.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
But the data never shows up in the database at all. The insert query that you put in strInsert is never used. You never put the insert query in the command object, you just execute the select query twice.
The insert query is not even possible to execute as it stands. You have to change value to values .
Christians point about sql injections is valid too. You are using parameters for the insert query, why are you not using it on the select query?
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi there Guffa, I have shortened the code by taking out some of the unessential part of the code to make it easier to spot the problems. I have also changed the typo that you've pointed out, however I don't really know what you said when you said I did not use parameters in the select statement. Can you please show me? I am a novice at asp.net and vb.net and I would like to learn this thing as fast as I can, thank you again for your help.
|
|
|
|
|
Hi,
My page contains several radiobutton controls and i want it to write checked radio button's id on the page.but how can we find checked radio button control by looping not using if or switch conditions or something. i gotta handle it with looping.
Thanks and Regards...
|
|
|
|
|
I hope some body help me as possible as
|
|
|
|
|
atarikg wrote: i gotta handle it with looping.
You can't do that. There is no collection of selected radio buttons that you can loop through. There isn't even a collection of radio buttons.
There is a collection of form elements, you have to loop through that to find the radio buttons, then check each one of them to see if it is selected.
---
single minded; short sighted; long gone;
|
|
|
|