|
Thank you so much ,
I was doing it the hard way , searching inside registry , system folder , windows folder
And it's was in front of me ( I am ashamed ) , Also I was confused with the other files in the debug folder
I know nothing , I know nothing ...
|
|
|
|
|
Just for your reference, I'm pretty sure a backup copy of those settings are embedded into the DLL (in case the config file gets deleted, I suppose). It doesn't change when you do the updates to the settings at runtime (only stores them when yo compile the DLL). At least I think that's how it works.
|
|
|
|
|
I am not sure if my subject line makes sense. But I want to create a simple user control that when consumed in aspx should have the following capability:
<uc1:addresscontrol id="AddressControl2" runat="server">
<addresslabel>Postal Address
<addresslabelcss>label
Where AddressLabel and AddressLabelCss are the properties of the control. This is just an example. But eventually I want a address control that will have labels and textboxes for address, city, state, zip. And want to give the user option to define the order himself. Something like gridview control. Example:
<uc1:addresscontrol runat="server">
..
<state>..
<city>..
Is this possible?
|
|
|
|
|
|
Hi Experts,
I want to make a website for selling my product. Please suggest should i go for website development in asp.net or php.
Since linux server does not support .net so i have to use windows server in case i select asp.net.
I do not have idea about which server is more secure (linux or windows)
Also which website provides better performance aspx or php
Please suggest.
|
|
|
|
|
Linux does support .NET via Mono.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
|
|
|
|
|
I would suggest you choose whichever technology you are more comfortable in.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
modified on Friday, October 15, 2010 11:11 AM
|
|
|
|
|
He should choose the technology you are most comfortable in?
|
|
|
|
|
yea! tongue-in-cheek....
|
|
|
|
|
Fixed. Thanks.
(remember its Friday evening here already )
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
I put this question not as a programmer.
I want someone to develop my website.
does .net is more advance than php.
search engine optimization is good for .net or php site
Which one you suggest
Also should i select static website or dynamic website by considering below points
performance,speed,page load time,search engine optimization etc
|
|
|
|
|
Noone here is going to write your site for you.
There is no one best web server/language combination that beats everything else. Performance is highly dependant on the person writing the site and they're knowledge, as well as the setup and administration of the web server(s), the database setup, design of the database, design of the app, ...
What gets used is far more dependant on your applications requirements, not the language that it's written in.
|
|
|
|
|
MKC002 wrote: Please suggest should i go for website development in asp.net or php.
Well, go with the one you are most comfortable with
MKC002 wrote: Since linux server does not support .net
have you heard of Mono
MKC002 wrote: I do not have idea about which server is more secure (linux or windows)
Both are as secure as you can properly secure them. Even the most secure platform can be compromised if not properly configured.
MKC002 wrote: Also which website provides better performance aspx or php
define Better. better in what? in performance, in maintainability, in coding, ....
|
|
|
|
|
performance. page load time in website etc
|
|
|
|
|
hi
how Communicated program with the lan to devices (for example plc)(a device that converts analog code to digital code)
|
|
|
|
|
|
hey friends..i display only one column in my datagrid and i want to make a search in it and i want to make that search by using stored procedure and i wrote a procedure for it..like below
ALTER procedure sp_SearchFirm
(
@aranan_firma nvarchar(50)
)
as
Begin
Select firma_adi From Firmalar Where firma_adi=@aranan_firma
End
and i have a DataAccessLayer class..in that class i wrote a method to work with that proc.like below
public DataSet SearchFirms(string aranan_firma)
{
try
{
cmd = new SqlCommand("sp_SearchFirm", con);
cmd.CommandType = System.Data.CommandType.StoredProcedure;
cmd.Parameters.Add("@aranan_firma", System.Data.SqlDbType.NVarChar).Value = aranan_firma;
con.Open();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
finally
{
con.Close();
}
}
i try to return a DataSet to make it as source of datagrid i have in my main form..as u see i cant complete the method but the problem is that i didnt work with multilayer programming before and i cant find the right logic to make that search event and i dont know if i am on the right way or should i change my method i dont know.i will be pleased with any of your suggestion and idea..
|
|
|
|
|
How are you triggering the search, a button click, or perhaps textchange event? There is plenty of information availble on n-teir development, what have you researched so far? In a typical senerio the search event will call a business logic class, which will do any preprocessing or validation then pass the request to the data layer class which returns to the business class for any additional post processing of validation then back to the object making the call.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
hi friend...as u guessed i trigger the search with textbox change event..and in another question i have a Helper class but i couldnt imagine how i interact that two classes with each other to make a search..as i understand u ask that
|
|
|
|
|
If you don't understand how to use two class together then you have a quite a bit more to learn than can be explained here.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
i meant i couldnt complete the logic only for that search and to interact that two classes
|
|
|
|
|
|
I replied to you in the Quick Answers forum. Why are you now asking the same question in a different forum?
This is called cross-posting and is considered rude.
If you did not understand my previous answer then respond to it saying so and saying why.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
This is my code.I was asked to draw a rectangle on the picture box.When i run the program,i can only draw the rectangle on the form but not the picture box.Kindly assist as i am a first timer to C#.
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
Boolean bHaveMouse;
Point ptOriginal = new Point();
Point ptLast = new Point();
public void MyMouseDown(Object sender, MouseEventArgs e)
{
bHaveMouse = true;
ptOriginal.X = e.X;
ptOriginal.Y = e.Y;
ptLast.X = -1;
ptLast.Y = -1;
}
private void MyDrawReversibleRectangle(Point p1, Point p2)
{
Rectangle rc = new Rectangle();
p1 = PointToScreen(p1);
p2 = PointToScreen(p2);
if (p1.X < p2.X)
{
rc.X = p1.X;
rc.Width = p2.X - p1.X;
}
else
{
rc.X = p2.X;
rc.Width = p1.X - p2.X;
}
if (p1.Y < p2.Y)
{
rc.Y = p1.Y;
rc.Height = p2.Y - p1.Y;
}
else
{
rc.Y = p2.Y;
rc.Height = p1.Y - p2.Y;
}
ControlPaint.DrawReversibleFrame(rc,
Color.Black, FrameStyle.Thick);
}
public void MyMouseUp(Object sender, MouseEventArgs e)
{
bHaveMouse = false;
ptLast.X = -1;
ptLast.Y = -1;
ptOriginal.X = -1;
ptOriginal.Y = -1;
}
public void MyMouseMove(Object sender, MouseEventArgs e)
{
Point ptCurrent = new Point(e.X, e.Y);
if (bHaveMouse)
{
if (ptLast.X != -1)
{
MyDrawReversibleRectangle(ptOriginal, ptLast);
}
ptLast = ptCurrent;
MyDrawReversibleRectangle(ptOriginal, ptCurrent);
}
}
protected override void OnLoad(System.EventArgs e)
{
MouseDown += new MouseEventHandler(MyMouseDown);
MouseUp += new MouseEventHandler(MyMouseUp);
MouseMove += new MouseEventHandler(MyMouseMove);
bHaveMouse = false;
}
}
}
|
|
|
|
|
Please clarify. When you say you cannot draw the rectangle on the picturebox what happens when you drag within the picturebox? Where is the rectangle drawn?
Also does it have to be a ReversibleFrame or will a normal rectangle do?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|