|
if i place a print button on web form,what should i write the code in c#,for that button , to print .tellme the process.thanks.
gaurav awasthi
jainir s/w services
kota
|
|
|
|
|
You will write JavaScript and not C# (unless you want the page to be printed on the server).
And the code is: document.print();
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
i want to create crystel report ,after that i want that at the run time one field of order no will display,after that,if i click on the one number then all the records related to that field will display in report
gaurav awasthi
jainir s/w services
kota
|
|
|
|
|
Hi.Im creating a menu which will be a user control.It should be displayed in the left side of page and showld contain a TextBox Check Box and ComboBox.Any ideas how can it be done cause Im a beginner and want to understand the way how it works.
Best regards
|
|
|
|
|
Hi friend
actully what do u wnat do?
do u want to create user control which desplay on left side of the page and contain textbox,checkbox etc....?
Pathan
|
|
|
|
|
It should seem like a menu with these elements inside it.
Best regards
|
|
|
|
|
hi.
take it menu[^]
i think It will be usefull
pathan
|
|
|
|
|
Hi All
I have a DataGrid that is bound at run-time.
Upon the click of the Add, a new row is added to the top and it has textbox control
The DataGrid is bound.
Now, the user fills out the controls and clicks Save at which point I need
to validate.
So, how can this be done programmatically?
Thanks
monika
|
|
|
|
|
Hello!
I've tried to search the posts and answers to find a possible answer to my question, but... the search page doesn't seem to work. It just says loading...
Though, that is not the problem. I have a Windows based project inc C# in which i play a sound.
<br />
[DllImport("Winmm.DLL", EntryPoint = "PlaySound", SetLastError = true)]<br />
private extern static int WCE_PlaySound(string szSound, IntPtr hMod, int flags);<br />
i do this and i have a perfectly working sound function.
I would like to "transfer" my windows project to the web and i would really need a way to play a sound, if possible. First of all, i'm not sure what i am looking for and that's why i am asking you.
With thousands of thankies,
drc.
|
|
|
|
|
hi,
currently i am developing a project that requires a dropdown menu to be on mouseover.
Which means that there is a menu on the top and when the user points to that menu a submenu should appear on mouse over below that.
how can it be done.
if possible please explain with some example or give me any link on the internet site which explains this.
regards
Pranav
Pranav Dave
|
|
|
|
|
|
hi
u can also try for websiteMap in asp.net
if u want to try thn do tht
select a website map frm control
and bound it Web.sitemap file.which is selected frm template box.
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
Hi Friends
i have two textboxes.
I write some text in one textbox in html format and want to get encoding format in other textbox
Pathan
|
|
|
|
|
Pathan,
I think the secondTextbox, if it is a DIV, you can use the INNERHTML property to see the formatting.
Else, you need to use a RichTextArea controls. There are a plethora of free RichTextArea controls. Your favorite search engine can help you out with one.
|
|
|
|
|
Hi All
i hav a web page, tht hav several controls.and tht hav also a 2 dropdownlist, one for select text and another for upload image, whn i select text from dropdownlist1 which is called frm Database and thn i select dropdownlist2 for image upload which hav a button for image upload, tht button called a popup window using jscript.whn imae upload successfully thn i back to main page but my dropdownlist1 has omit the selected text and it will show {0} item which is entered thru properties.but item{1,2,3,.....} r called from database using select quey and foreach loop.
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
HI all
I have an web page in that iam using IFRAME
I want use + - zooming effect for that (IFRAME Page)
Can any one give me an idea
Thx
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
|
Hi,
I have one web page with button.When i click the button I want to Invoke EXE from my client(The EXE is already in Client),Is it possible or not .If it possible then How?Please help me.....
Regards,
Justindhas
|
|
|
|
|
|
Oh my! I broke my web.config by trying out WSE 3.0. For some reason WSE applied its information into the wrong sections of my web app.
At this point, I can either
1) Try to go back to a previous version of the web.config saved in SourceSafe.
2) Try to get a better understanding of what web.config does, and I mean the nitty gritty details here.
3) If such a thing exists, it would be nice to regenerate the web.config file!
I've googled a few pages about web.config yet nothing out there satisfies my deep thirst for understanding web.config. So any info regarding what *exactly* the role(s) of web.config is(are) would be greatly appreciated. From what I'm able to see, the file is a repository of anything and everything, a sort of Registry but without a logical classification system.
Your suggestions, insights and informations are more then welcome!
Geoffrey
|
|
|
|
|
On the safer side i would suggest to take latest from VSS and recover your web.config. However i would recommand you to grasp thorough understanding of Web.config. It is must if you are into web delopment with asp.net. Internet is the perfact repository for finding information. At the moment i would just say that Web.Config is an organized configuration file which manages your settings and configration on differenct area of web site development.
Following list tells you about different section of configuration file.
- AppSettings : Handles custom settings in the form of name and value pair.
- SessionState: Session related settings.
- ConnectionStrings: An organized place for putting connection strings.
- CustomErrors: Centralized error manangement settings.
- Trace: Centralized location for application tracing.
- Providers: Different provider related settings like MembershipProvider, RolesProvider etc....
- Configuration and ConfigurationSection : Allow creating custom application specific settings....
- Etc...
One more thing
==============
If you install .Net 2.0, IIS gives you a UI for editing web.config file.
Hope this much information if okay for you to get started with the Web.Config
|
|
|
|
|
i add controls in a table but i can not move these controls in the table
how can i move and arrang the controls?
thanks for help
MD_NADA
|
|
|
|
|
DIVs are better candidates so that the entire table is draggable. Check out the homepage of Inbox.com[^]
|
|
|
|
|
Using ASP.Net, C# and mssql, I have created a dataset which is displayed to the user in textboxes. How can I update the dataset and upload the dataset back into the database after the user has modified the textboxes and clicks a button to update the information?
|
|
|
|
|
Update the post back changes for each rows from the textboxes to your dataset
and then use the following code to update the changes to database
OleDbDataAdapter dataAdapter=New OleDbDataAdapter();
OleDbCommandBuilder builder;
dataAdapter = new OleDbDataAdapter("SELECT * FROM" + tableName;, conn);
builder = new OleDbCommandBuilder(dataAdapter);
dataAdapter.UpdateCommand = builder.GetUpdateCommand();
dataadapter.Update(updatedDataSet);
dataAdapter.Dispose();
|
|
|
|