|
J walia wrote: i want to display the site logo on address bar.
It is called Favicon[^].
The simplest way is to create an icon (16*16 or 32*32), name it as favicon.ico and put it in the root directory of your website.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
<I have written code to test the SqlDataAdaptor's LoadOpton functionality for LoadOption.OverwriteChanges.
But the code that i written is not working.. Values are not getting overwritten
Here are the values which i am getting when i run the code
***Default***
Original Value: Chai, Current Value: Chai
***Values Before Reload***
Original Value: Chai, Current Value: Coffee
***LoadOption.OverwriteChanges;***
Original Value: Chai, Current Value: Coffee
Expected results are
***Default***
Original Value: Chai, Current Value: Chai
***Values Before Reload***
Original Value: Chai, Current Value: Coffee
***LoadOption.OverwriteChanges;***
Original Value: Chai, Current Value: Chai
Here is the code which i have written. i scratched my head almost 2hrs couln't get any answer.
Please let me know where i have done wrong..
protected void Page_Load(object sender, EventArgs e)
{
DataSet poductsDS = new DataSet();
string query = "Select ProductName, UnitPrice from Products";
string _conStr = System.Configuration.ConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString;
SqlDataAdapter da = new SqlDataAdapter(query,_conStr);
da.Fill(productsDS);
Display(productsDS, "Default");
//updating table filed values
DataRow row = productsDS.Tables[0].Rows[0];
row["ProductName"] = "Coffee";
Display(productsDS, "Values Before Reload");
//Reloading
SqlDataAdapter da2 = new SqlDataAdapter(query,_conStr);
da2.FillLoadOption = LoadOption.OverwriteChanges;
da2.Fill(productsDS);
Display(productsDS, "LoadOption.OverwriteChanges;");
}
private void Display(DataSet ds, string Heading)
{
Response.Write("***" + Heading + "***");
Response.Write("<br/>");
DataTable table = ds.Tables[0];
DataRow row = table.Rows[0];
Response.Write(string.Format("Original Value: {0}, Current Value: {1}", row[0, DataRowVersion.Original].ToString(), row[0, DataRowVersion.Current].ToString()));
Response.Write("<br/>");
Response.Write("<br/>");
}
Satish
modified on Sunday, October 4, 2009 5:09 AM
|
|
|
|
|
I have a div with a backgroung image, I set its width to 300px and its height to 200px.
When I do that the div is aligned to the left altough I set :
<body style="text-align:center">
When I dont set the div's height and width it looks ok..
|
|
|
|
|
You can do it using two ways :
1. Change Div layout. give padding for position.
2. Create Table. Put Div inside TD. set alignment for TD.
|
|
|
|
|
set its left coordinates also
|
|
|
|
|
Hi all,
I have webpage and 2 buttons(say Butn1, Butn2),
when i click on a Butn1,it will load usercontrol below the 2 buttons on the same page,
that usercontrol having a pdf file opens on the same webpage(i mean, it won't show open modaldaialog and asking 'Open' 'save' 'cancel'.)
after that
when i click Butn2, it will open AjaxModalpopup and asking some details to register.
problem:
when i click on button2 Modalpopup appear but it is not blocking behind the page. that pdf file is still readable in this case.
i want to open modalpopup and it should block entire page even Pdf file behind that modalpopup
how to achive this?
fttyhtrhyfytrytrysetyetytesystryrty
|
|
|
|
|
yadlaprasad wrote: when i click on button2 Modalpopup appear but it is not blocking behind the page
do you mean that you can click items on the page?
if so, it seems you do not use the correct extender
try this link
foreach(Minute m in MyLife)
myExperience++;
|
|
|
|
|
Hi friend,
i am using same extender, but the problem is with the pdf, which is opening below the buttons, that pdf Appears above the modalpopup,so it hides my pop up panel.
can any one tell me how to open this modal popup above this PDF..
fttyhtrhyfytrytrysetyetytesystryrty
|
|
|
|
|
Hi,
I am using Localized datagrid in my thin client web application. I want to sort the localized datagrid. I am able to sort when i go for gridview control. But i am in the need to use Localized datagrid. The properties for gridview are available in Localized datagrid also, i have set the properties like 'AllowSorting = 'True' and provided the Datafield value to SortExpression properties. But still i am not able to sort using Localized Datagrid.
Looking forward for some help.
Thanks,
prasad.
|
|
|
|
|
|
dews turner wrote: where i just pass the data schema and get the Business logic and data logic layer
What will the developers do if the Code Generator can give you the logic?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Manas Bhardwaj wrote: What will the developers do if the Code Generator can give you the logic?
Learn to drive rickshaws
|
|
|
|
|
|
Well I got the tool and it might solve the concern. If you understand the business layer and data layers working properly and u are suppose to do the same lines of code around 200 times, then it would be better to make them auto generating so that on can generate the base data transmission in an easy and simple and yet faster. But at the same time you should have the bottom line clear in your mind.
The required tool can itself be written in very simple manner. So if somebody don't want to answer then please maintain the credibility of the forum and do not post any grotesque scrap.
Thanks..
|
|
|
|
|
dews turner wrote: Well I got the tool and it might solve the concern
Hi, Can you please share the name of the tool ?
Thanks in Advance !!
|
|
|
|
|
Abhijit Jana wrote: Hi, Can you please share the name of the tool ?
Did They Shared..!
|
|
|
|
|
So if somebody don't want to answer then please maintain the credibility of the forum and do not post any grotesque scrap.
Dews, agree with your above statement. Forum member should read first post of forum by Chris Maunder.
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
Yes, People should read Chris Maunder's message before porting any such messages. For last few days i'm seeing such inappropriate messages. It is very disturbing for any one if he/she will see such post in our very own website and won't think to come back.
Having 5yrs of experience in various technologies, I can write such tool in 1 day. But guys we are here to help not to make fun over the people.
|
|
|
|
|
Yes, I can understand. I have also seen many times here few member thinking they are so intelligent.
But anyways forget that and we should concentrate our work because site owner also aware of that situation so that's why they posted on the top of forum.
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
dews turner wrote: Having 5yrs of experience in various technologies, I can write such tool in 1 day.
So you will be posting it here tomorrow, I'll check back then!
|
|
|
|
|
dews turner wrote: So if somebody don't want to answer then please maintain the credibility of the forum and do not post any grotesque scrap.
why you have deleted your own message ?
|
|
|
|
|
dews turner wrote: Well I got the tool
So why did you need to pose the question?
dews turner wrote: So if somebody don't want to answer then please maintain the credibility of the forum and do not post any grotesque scrap.
The responses to your question were perfectly reasonable; perhaps you should explain your problems in better detail in future.
|
|
|
|
|
I don't think that the my question was hard to understand. It was quite simple and if you find it difficult to understand then you should not reply at all or you could have ask for explanation. This is not any fun chat room where people log on for their amusement. This is a public forum where developers come to get the issues solved. If you can't make such effort then stop replying such abuse.
Over them all you are saying that the the responses were perfectly reasonable.
First you could not understand the question, second you are saying to pull the rickshaw and third you are saying it was reasonable. Your all replies are contradictory to your own. Strange case !!
|
|
|
|
|
dews turner wrote: I don't think that the my question was hard to understand.
So why have you deleted it, so that nobody else can check?
|
|
|
|
|
Can you answer my previous post first, that what was there which you could not understand ??
I've deleted as my concern is solved and i don't want to continue over such nonsence reply. Richard, I saw that you are here for more than 5 yrs but you could not understand a very very simple question and stated showing wits.
Being so senior you should show some manner rather than asking some body to pull rickshaw. Instead of opplogy you are continue asking silly questions.
Its not at all appreciating !!
|
|
|
|