|
I have one Dropdownlist and one listbox. Dropdownlist contains all doctor names and listbox contains specializations.
I have 3 tables (Doctor,DSpecialization and DSpecializationDetails)
DSpecializationDetails-(DoctorId(PK) and DSpecializationId(PK))
Doctor - (DoctorId(PK),DoctorName)
DSpecialization-(DSpecializationId(PK), specializations)
One Doctor could have many Specializations
I want the user to be able to choose 1 or many specializations,
and insert the selections into a table called DSpecializationDetails.
I’m working with Asp.net and C#
Thanks for any help.
|
|
|
|
|
|
I didn't get idea how to do this. Ex, I select a doctor from dropdownlist and select two specialization from ListBox.. Now If I click insert button there are 2 records has to be inserted in DSpecializationDetails table. How can I approach to solve this? just give me briefe idea. Its great if you send sample code..
Thanks
|
|
|
|
|
How to disable / find popup blocker thru code?
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
sylvesterg wrote: How to disable / find popup blocker thru code?
I think you can't. That's the security feature
|
|
|
|
|
no man. Its possible to find and disable popup blocker, but its violence if we do that.
disable popup blocker - can be done thru registry program
find popup blocker - can be done thru some script
I am searching the correct code.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
sylvesterg wrote: disable popup blocker - can be done thru registry program
Is it possible to access registry from web app ?
|
|
|
|
|
There is an API to do that.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
What would be the point of a pop-up blocker if any web developer could disable them? Everyone would do it and therefore they wouldn't work!
The only possible chance you could do this, is in an Intranet situation. If you knew:
1) That all of your users were using IE
2) Which pop-up blocker they were using
3) That every user would accept an ActiveX control
Then, you could write an ActiveX control that targeted the pop-up blocker (via the registry or possibly the process) and killed it.
It's very unlikely that you will be in the above situation and if you think you can do this for a Internet site, you are sadly mistaken.
|
|
|
|
|
Don't be an asshat = you can't/shouldn't/wouldn't/don't
|
|
|
|
|
What is your answer seems to be?
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
He is saying quite simply that it can't be done and shouldn't be attempted.
The only caveat I can think of is what I posted in my last post to you but even then it's fairly pointless as you could just ask your users to turn off the blocker or add your site to the trusted site list.
Do yourself a favour and give up trying to do this. It is not possible.
|
|
|
|
|
anyway thanks to all
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Hello,
I have a problem..the problem is while uploading the aspx project files in to server..that server doesn't support source files...i think that support dll's only..how can i make my aspx files into source code and where will i put the dll's in to server for succesful running..please help me to solve this issue...
Regards
Alex.
|
|
|
|
|
Try publish website option which will generate dll's
|
|
|
|
|
Hi,
I have a datagrid that insert data. One column is for user name and it
was being done manually. I mean the user has been inserting the name
manually. I want to Cahnge it so that when a user loggs in the name
automatically rights his name is that possible if yes how can I do
this?
|
|
|
|
|
When the user logs into the application, you could store their user name in a Session variable. This means you can use that variable anywhere in your application (in your case, in your DataGrid).
|
|
|
|
|
Hi,
I want to translate Bool from VB into c#. What could it be?
Thanks
|
|
|
|
|
i am storing date to database. i am taking that date value and storing that value to a textbox.but in textbox date and time is displaying .i want date only.as a string i am passing that value to the textbox .how i can format datevalue?
|
|
|
|
|
dim dateSTR as string
dateSTR = [DateFromDatabase].Now.ToString("MM/dd/yyyy")
if database field is datetime.
Thanks,
Sun Rays
|
|
|
|
|
Or you can change the query like this
select convert(varchar(20),yourdatefield,106)
|
|
|
|
|
I am exporting my report to excel file. some of the fields have large text and the rows of the excel sheet over lap. is there any way to set the row width / heigh while exporting etc.
thanks.
|
|
|
|
|
hi
i want to declare width and height for webform.
or how to resize the webform
Gayatri
|
|
|
|
|
window.open("test.aspx","POPUP","height=500, width=700,status= no, resizable= yes, scrollbars=yes, toolbar=no,location=no,menubar=no,left=200,top=250,directories=no ");
Thanks,
Sun Rays
|
|
|
|
|
if you got the answer of ur problem then please tell me.
Mohinder Singh
|
|
|
|