What is the best way or recommended best practice in the flow of database driven asp.net web application? I mean the Database first or coding first or side by side?
hey folks
i am coding opera recovery tool in my delphi
i am using c++ which is already exist
http://pastebin.com/ViPf0yn6
but i didnt get whats DES_KEY_SZ in that code .
i think they are present in des.h ,but i couldnt found same des.pas :(
can any one help me please
regards
Lets say I have
class Person
{
public Person(int age, string name)
{
Age = age;
Name = name;
}
public int Age{get;set}
public string Name{get;set}
}
and I would like to create a method that accepts a string that contains either
"age" or "name" and returns an object with the value of that property.
Like the following pseudo code:
public object GetVal(string propName)
{
return <propName>.value;
}
How can I do this using reflection?
I am coding using asp.net 3.5, c# 3.5
As more presentational html properties get deprecated the natural response for me was to make single property CSS classes such as .text-align-left{text-align:left}. My question is, is this preferred versus inline styles?
Stackoverflow actually uses quite a bit of inline styles.
PS: I know this isn't really a coding question and it is likely to incite debate but stackoverflow is the largest stack exchange for code and this question does have some use for future individuals.
well this isnt my homework so you can help me out in this, im tryin to solve this for my firm
but im really lost in between do i sue sequence or not
for example
person
Input ? 277-5387
Output ? BRSKEUP
Hi all, I have some files that in windows enable me to prompt messages when a device is plugged. In case it is lost it pops up a message that says the user to please return it to he owner. Does anybody know how can I do this in Linux? I doesnt need to be a complex thing, it can be an option in a right clic menu, or a splashcreen, or anything, just to make sure that the owner of the device may be looking for it.
Some times while coding i'm sucking at some point. I couldn't come out of the problem easily and this ate plenty of time. Is it this is happening to all? If it is what is the solution and how to approach this problem.
hi all,
in the case of an IM client.
i have made 2 separate threads to handle sending packets (by std io) and receiving packets.
the question is how to make these 2 threads run simultaneously so that i can keep prompting for input while at the same time be ready to receive packets at any time?
i have already tried setting a timer but the data is always lost receiving.
Im a Newbie to PHP and FBML(Facebook Markup Language).....so now im coding a Facebook app so I need to get profile picture and friend name when I select a name from FB:Friend Selector
Select a Friend <fb:friend-selector uid="exclude_ids" name="pal" idname="friend_sel" />
I use exclude_ids to see all friends in my selector so how to get profile picture? I can get name from this but how to get the profile pic large?
So basically I would like somehow that given an audio file as input (most likely mp3 or I can use some audio engine that will handle other types too) from my computer to control some LED lights so they will be something like an oscilloscope, like the one in winamp.
What would I need to be able to do this? I'm interested in building thing up all by myself, coding, hardware, etc..
I'm going with C++ on Windows.
Hi
i want to show messageBox or notification when connection lost in Static DB class but i cant use getApplicationContext() becouse its a static class and i tried to call other class called notification but i have error so how i could pass activity object to my new class .
I have 3 tables "pics", "shows", "showpics"
I want to be able to edit the table "shows". In order to do this i need to retrive the pictures that the show contains (the pictures are stored in the table "pics")
the "showpics" table acts as a link
does anyone have any ideas as im completely lost and have no idea where to even start
Thanks
Possible Duplicate:
Hidden Features of Java
Just want to know any hidden/very rarely used features of java which are not so dominant in coding.
Like i found the ?? operator in c#
I have simple form for editting site content:
- a text input for title
- a textarea for content
When adding content, there is no problem, allthings add normally:
$chead = mysql_real_escape_string(stripslashes($_POST['chead']));
$ctext = mysql_real_escape_string(stripslashes($_POST['ctext']));
But when edittig the article that containig the
$chead = 'sdsfsf' "sdgsdgs"ggdsfsdg
The $chead = 'sdsfsf'
and the "sdgsdgs"ggdsfsdg will be lost!!!
What is the problem with mysql_real_escpae_string?
Thanks
In the code I am writing I need a foo(int, char*) and a foo(int, int) functions.
If I was coding this in C++ I would use templates. Is there any equivalent for C? Or should I use void pointers? How?
Thanks.
hii
i m trying to send mail through coding of asp
is there any external APIs to send mail like JAVA
give some hints
if possible sample code!!
I m using vs 2005 as well as vs 2008
Hi Guys,
I am new to web development, I am coding some ASP.NET,
I watched many videos about using LINQ to SQL, I am happy I learned something,
but is it the good way of using is: dragging and dropping and that's done???
what are the best practices to use LINQ to access Database ( my database is not only SQL server..MYSQL..)
Thanks
Hi all,
I am a new silverlight user and struggle a bit with the coding.
Could anyone please help me.
What I am trying to do is create a list of checkboxes in a stackpanel on my application at runtime.
The amount of checkboxes is determined by the amount of classnames in my sql database.
I am using vb
I've lost link to free file browser which can be integrated with ckeditor. I'm looking for it for about 5 hours and no luck, so could you help ? Problem is that I remeber nothing except page had red circle favicon with white text, name was with "net" and "4" . I'll be thankful for help
i am using c# with asp.net and sql 2005 as backend, i want to use dropdown list cntrl in a form and fetch a column in a textbox which is linked to that dropdown cntrl in the database, what coding should i use in c# for that?
Hi,
I've got google apps setup on my server with all the correct MX records etc, now i want to start testing it.
I want to use it for all automated
emails (registration, lost password
etc).
I'm testing on a localhost.
I am developing an App in which I need to authenticate password, store user personal information and setting details / preferences. All these are user-mobile specific or rather App specific and are unique for each user,the password and settings info should not be lost once phone is switched off or user exits the App, which data storage rocedure is recommended for such App?
I just usually do applications for myself as a hobby. It looks like DI frameworks have a big momentum in the community, so I thought maybe I should learn it to improve my coding skills. From what I understand, it seems to be geared more towards big projects. Is it still a good idea to use it for example in a 5k lines project?
Thanks
I am a software engineer and i work in VC++, C++ in WIndows OS.
Are there any major differences when it comes to coding in C++ in Linux environment.
Or is it just some adjustments that we have to make when we need to code in C++ in Linux.
I'm looking for some resources that demonstrate good graphic design for generated (PHP/HTML/CSS) reports.
The website I'm designing is essentially a long test. Everything is finished except the report generation, and this part needs to look good!
I'd appreciate any advice/resources you can point me to! I know this isn't directly programming related, but my purposes do encompass coding and output.