|
|
Have ASPNet webapp with ListSetter and button. I need to display various content based on what user selects from list.
CODE IT!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
cloudenv wrote: CODE IT!!!!!!!!!!!!!!!!!!!!!!!! You are the one who needs it, not me.
Look up the example on MSDN on the "switch" statement. It does what you want.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Ummm.... no. YOU go write the code.
You're not going to do my job, so I'm not going to do yours.
|
|
|
|
|
Hi everyone.
How can I add and event to a treenode in C#?
|
|
|
|
|
|
Hi Friends,
I am trying to create a add-in for version number auto update, i don't know how to get assemblyinfo (physical file) which are all associate with my current solution file.
Kindly help me to solve this.
thanks
Yasin
|
|
|
|
|
From your solution, you can get a list of all of the Projects associated with it. Then, you would iterate through the ProjectItems looking for AssemblyInfo.cs. This is all done through the VS SDK.
This space for rent
|
|
|
|
|
Hi Pete O'Hanion,
I Thank you for your reply and can i have any example ?
Thanks
Yasin
|
|
|
|
|
All the keywords you need to find examples are in my answer. It's up to you to do the work - we aren't going to write your code for you.
This space for rent
|
|
|
|
|
Version number "auto update" is handled with an attribute:
[assembly: AssemblyVersion( "1.0.*" )]
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
Thank you Gerry Schmitz,
i can able to update the version in assemblyinfo.cs but my issue is i don't know how to get all assemblyinfo file path(ex: in my solution i have 5 projects i need to update all assemblyinfo respectively) from solution file.
Regards
Mohamed Yasin
|
|
|
|
|
Hi,
I need help in "how to do it"
I have an existing .NET application which use Sql Entity Framework with SQLite databse.
This application is deployed and used by client and there is a production database .
Now the client need to migrate this database to SQLServer.
So what I need is to migrate the SQLite database to SqlServer and make the necessary in code using Entity Framework always.
My question please is what is the best practice to accomplish this and steps to follow.
Thanks for help
|
|
|
|
|
I think defining the "best practice" is a little arbitrary, there are very few different ways to do the migration. Google[^] seems to show a simple method.
As for EF, surely you simply give it a new connection string (I despise EF so never use it).
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Thanks for reply,
But what I asked for is using code will be more better than using standard tools ? and if yes how achieve this ?
Thank you
|
|
|
|
|
If you have to ask, then it is better to use standard tools.
Recreate the database-tables in SQL Server and see if you can export the data as CSV or similar.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I would use the standard tool UNLESS it is something that needed repeating regularly. For a one off migration do it manually.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
can anyone point me to best open source xamarin apps for learning?
cheers
=====================================================
The grass is always greener on the other side of the fence
|
|
|
|
|
For learning what? Xamarin Forms? Xamarin Android? Xamarin iOS?
This space for rent
|
|
|
|
|
The Xamarin website.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
For learning xamarin forms and xamarin android
=====================================================
The grass is always greener on the other side of the fence
|
|
|
|
|
Why not start with the Xamarin documentation? The examples and documentation are very good.
This space for rent
|
|
|
|
|
I know why I am having the problem but I need a solution/workaround.
I have a c# program that generates excel output and saves it as an html file in the user's document folder. This automatically generates the [excel_file_name]_files subfolderwhich is used to store specific info used by the html file. The program ALSO auto-generates jpg images every time it is run based on historic data that is taken from the spreadsheet each time it is run and saves those images in this sub-folder. The program needs to be able to delete the files it creates within this folder but of course the user's folder makes sure to keep programs from simply deleting arbitrary files within the user's folder so that prevents me from deleting them as I do not have permission to delete a users files.
Is it possible for me to programmatically grant the application OS permissions to delete/change files it creates within a user's subfolder? Or will the user need to run the program with admin rights each time (if they can even get such rights).?
|
|
|
|
|
|
Did you read my post? I already specified that. Specifically the program saves an Excel file "as an html file in the user's document folder. This automatically generates the [excel_file_name]_files subfolder... The program ALSO auto-generates jpg images every time... and saves those images in this sub-folder."
If that is too confusing, it is a subfolder of %USERPROFILE%\Documents created by Excel. This is BEFORE the application exports any excel files to html so the folder is not in use... and my application checks to make sure the folder exists before attempting any file operations; just in case the user has not ever used the program before.
|
|
|
|