|
Abhijit Jana,thank you very much for your answer!
but now exception is here:
oDE = new DirectoryEntry("IIS://" + ConfigurationManager.AppSettings["ServerName"].ToString() + "/W3SVC/1/Root");
//Get Default Web Site
oDC = oDE.Children;
//Add row
oVirDir = oDC.Add(WebsiteInformation.SiteName, oDE.SchemaClassName.ToString());
..exception is the same..
|
|
|
|
|
how to pass a link through gridview using linkbutton or onclick event..pls help me out.
alok2171
|
|
|
|
|
How to Identify the Modified values in Dataset?
---
Regards
ilango gandhi
' Knowledge can only be got in one way, the way of experience; there is no other way to know.'
|
|
|
|
|
Check the RowState property of each rows...
if(row.RowState == DataRowState.Modified)
{
}else{
}
...or get a DataView for the modified rows:
DataView view = new DataView(dataTable, filter, fieldName, DataViewRowState.ModifiedCurrent);
____________________________________
There is no proof for this sentence.
|
|
|
|
|
Is there any completed documentation to check if I wanna know all new features of C# 3.0? I read C# specification a lit bit but it seems it covered all features of C# (not just only C# 3.0 )....
Any idea would be appreciated. Thanks in advance.
|
|
|
|
|
|
Thanks. I will take a look... I wonder how come MS doesn't have the full documentation for new changes..
|
|
|
|
|
on loading xml string in xmldocument it gives error illegal characters in path even if i give sinfle mode in it like
Can any body tell me the reason
Its urgent !!!
Thanks in advance....
Gaurav
|
|
|
|
|
check encoding of your XML Doc
|
|
|
|
|
I can get the handle of the window, it's another application. I want to send a "Ctrl+C" to the window.
I think I should use the windows message system. But I don't know how to do.
Thanks in advance.
|
|
|
|
|
pinvoke SendMessage
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
try to download and install API-Guide
this software will help u lot.
|
|
|
|
|
Hello, please can anyone here show me how to design a program which will capture infrared signals from a remote control so that they can either be analysed or retransmitted. can this be done with c#?
Emotu
|
|
|
|
|
Try this [^] link.
There are 10 kinds of people: those who understand binary and those who don't
|
|
|
|
|
thanks a lot, I'll take a look at it. looks like it may help me out.
|
|
|
|
|
Check out the Lirc and/or WinLirc projects; they should give you some inspiration.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
I want to design a program which can change wallpaper dynamic,but I do not know how to place the wallpaper on the center of desktop.
Thanks for your help!
|
|
|
|
|
Why don't you use Google. It's that difficult? A simple search and I already found 2 articles:
1. blogs.msdn.com
2. CodeProject
3. Google
First search on the Internet and then come here when you have problems.
There are 10 kinds of people: those who understand binary and those who don't
|
|
|
|
|
|
Does anyone know any code that will bring up the start menu, for say, if a button is pressed? Thanks.
The most knowledge doesn't mean the most wise...
|
|
|
|
|
On button click Generate the "Win" key event of Keyboard.
|
|
|
|
|
I want to update webconfig file in a system or in winform using c#.
I have a web application and system application but i want the system application updates the databasename, username and password.
I tried this one:
Configuration config = WebConfigurationManager.OpenWebConfiguration("~\\DataMaintenance\\Web.Config");
but its not work
******************************
I just want to
know everything
|
|
|
|
|
In windows application config file named as App.Config.
You can try following procedure to update data in App.config.
Create a Place Holder for your DataBaseName.
read App.config from Application.StartupPath as a text File
Replace the Place Holder and save the file
|
|
|
|
|
no. no. no.
what i mean is is it possible to write web.config from a windows form.
******************************
I just want to
know everything
|
|
|
|
|
again i am confused. I got two impression from your statements
1.You want to make an application which produces WebConfig Files
2.You Want to Update an webConfig from a windows Application
Ans:
1. Yes you can. Just follow the formatting and tags given in webconfig file and write is as normal text File and save it as desired name.
2. Yes you can. Create a web service that does the desired changes i.e. upadting your webconfig and call it from your windows application
|
|
|
|