suppose in combo box i have given 3 feilds .....
and i can validate them accordin to codition...
but i want to also validate when i have selected nthin..
lets take an example...
if in box i selected "A"
then its assigning temp = 10
and nw again if m selectin nthin i.e is blank, then it shud store temp = 0;
can v do combobox1.selected= " "
then temp = 0.
m gettin error...
please tell the exact manner of coding...
I have two records in my database.From the form , I am chosing the id and want that record to get displayed in the crystal report.There are two tables in the database and there is a primary and foreign key relationship between them.Now the problem is , both the records are comming.I have created links between both tables in the reports.Is there any way to create the crystal report dynalically or can i pass the parameter to show the report.
Parameter means that id which has primary and foreign key relationship.
But I don't know the code how to pass the parameters.
and parameters should be passed at both ends (I mean in the crystal reports as well as on the coding side)??
I don't want to generate the window that ask me which id u want to select .
Thanks and regards
I have been given a project which was developed by someone who has just left our company and is not contactable.
He developed the project and put it live but didn't save a development copy. The live version doesn't contain the .vb files
and just everything is saved and compiled as .dll.
Does anyone know how I could open the .dll filesd to see the .VB code??
I suggest u change ur select * statement in ur stored procedure to select column-name. Then u will retreive only the specific column(s) u specified.
I.E. create ur adapter based on a select column-name & not select * then genertae the dataset and put it as data source for the grid.
Hope that works cause i cant think of any other way right now.
How to set an application Path in Connection string in VB.Net?
Example: Iam having a database of name xyz in D drive and the application is also present in the same path
Generally in VB6 We Can use App.Path but in VB.Net how to set this?