|
I went to that site the other day and it looks like it isnt as good as it used to be like it is focused on selling something now instead of just providing information.
Cleako
|
|
|
|
|
I am creating a word document in paragragh form..The field is named as datasource+column name.But in some fields value is replacing along with the fields.Result appears as 'Mergefield Fieldname +value'..Please suggest a solution for this..
Regards,
Lea
|
|
|
|
|
i want to trigger button click event of other site through coding.
for example
in gmail v ill give the username & password and click submit button it ill get login and display the second page.
i want i.e the process enter userid & password and click the submit button in some other site through coding.
if u want to know anyother details plse let me know.
|
|
|
|
|
you can use several methods to achieve this.
1. you can use ajax for login if the parameters are welknown like(txtUserName,txtPassWord)
2. you can use a iframe with the username textbox, userpassword textbox
and a button for login submit.pass the parameters to the main login page of the destination page.
3. you can use the destination page in the current page.
Sathesh Pandian
|
|
|
|
|
Hai all,
we all know the concept "overriding" is the example of runtime polymorphism.
now in .net 2.0, Look at this..
<br />
DataSet ds = new DataSet();<br />
DataTableReader DSdr = ds.CreateDataReader();<br />
DSdr.NextResult();<br />
DataTableReader DTdr = ds.Tables[0].CreateDataReader();<br />
DTdr.NextResult();<br />
here DSdr and DTdr has the method Next Result();
the reference given by dataset will work for NextResult and the reference given by datatable will return nothing. both the methods returns the datatablereader object reference and the the reference returned by dataset will only work for Next Result.
I think this can be a example of Runtime Polymorphism
Cheers
asithangae
|
|
|
|
|
Hi there,
i want to create a shopping cart in asp.net 2.0,the problem is that i want to create aspx or html pages dynamically agaisnt each product or item or category.
Like if have three products in Cat1, i wnat three html pages pointing to the same link(to the same shopping cart), please let me know any helpful link or practical expample of that.
many thanks,
adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
Do you really have to generate separate pages? You can have one page that displays different information depending on any parameters that you send to the page.
---
single minded; short sighted; long gone;
|
|
|
|
|
Actually for better seo results i have to create seperate pages for each product.
Many thanks, adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
Hello,
You can use the httpHandlers, you can do it by two one with support of web config file and another is only using coding for that you must know httpHandlers class. Also you need to knowlage how to utilize it.
For that you have skill of XML, Asp.net and Sql server.
Regards
Nimit Patel
|
|
|
|
|
Well, can your give on practical example, code sample or usefull links, i have basic knowledge of XML, good with ASP.Net, and good with SQL Server as well.
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
hai all,
Can anyone guide me how to perform calculations in a datagrid by row wise as well as column wise.... Its urgent....plz
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
|
ya i already tried that.. but the calculation has done only for columns... there is no calc for rows....Do u have anyidea about this....
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
Try this
<br />
int[] it3= null;<br />
int it1 = 0;<br />
int it2 = 0;<br />
if(ds.Tables[0].Rows.Count>0)<br />
{<br />
it3 = new int[ds.Tables[0].Rows.Count];<br />
for(int i=0;i<ds.Tables[0].Rows.Count;i++)<br />
{<br />
it1 = Convert.ToInt32(ds.Tables[0].Rows[i]["field1"].ToString()); it2 = Convert.ToInt32(ds.Tables[0].Rows[i]["field2"].ToString());<br />
it3[i] = it1+it2;<br />
}<br />
<br />
for(int i=0;i<dg1.Items.Count;i++)<br />
{<br />
dg1.Items[i].Cells[5].Text = it3[i].ToString();<br />
}<br />
}
This is by adding the 2 fields and display it in the grid.
I only developed this..i couldnt directly add 2 columns in a row.
Try and let me know !
|
|
|
|
|
ya Sure i ll let u know about this by tomo....
i want to implement some formulas also in datagrid is it possible...
have u ever worked like this before....
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
What I would suggest is on the Datagrid_OnItemDataBound event you look at the Cells in each "Item" or row as it is bound to the grid. You pick out the cell values that you need and then perform the calculations while storing the values in session or whatever you need to do to maintain that variable. As each row is added you can put the value in an extra column or at the end in the footer or in some label somewhere.
I've done this before where I add all the values in the currency column to come up with a total so it is possible to do either way.
Cleako
|
|
|
|
|
ok thanks a lot... I ll try this method...
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
Hi all,
I want a help from you. I have an XML file in which i have my database. I want to retrive one record from it based on condition. Like we query the database like "select * from TableName where Name='soandso'". But here my database itself is an XML file. Is it possible in anyway. I have tried navigation but i am stuck. Cant seem to go forward in this. Please help me as soon as possible.
Regards,
Lavanya
|
|
|
|
|
hai,
Use this code.
DataSet ds = new DataSet();<br />
ds.ReadXml(Server.MapPath("filename with path"));<br />
DataRow[] drs = ds.Tables[0].Select("column name = '" + "needed filter value" + "'");<br />
DataRow[] drs = ds.Tables[0].Select("column name = " + "filter value");
read the xml to the dataset and use needed filter in the select method of datatable object.now the drs is collection of rows satisfying your condition.
iterate that and use it.
i think this solves your problem.
Cheers
asithangae
|
|
|
|
|
Hi Lavanya,
you can use xQuery in asp.net. This article may help you.
http://aspnet.4guysfromrolla.com/articles/071603-1.aspx
Enjoy programming.
|
|
|
|
|
hi
try to read your xml file into a DataSet, then user the select method
for the table inside the DataSet i.e
DataSet ds = new DataSet();
ds.ReadXml("Users.xml");
DataRow []arrDR = ds.Tables[0].Select("id=5");
// where id=5 is your condeition and id is a colunm name.
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
Hello
I need to write one function in ASP.NET that will colorize all the keywords and syntax in the page ? Any help ?
Eg : if (a=1) then
so i need to make color for this if and then. like this for all keywords ?
any idea ?
|
|
|
|
|
What exactly do you want?
the class for colors is System.drawing.color
Nana
|
|
|
|
|
any one plz tell me how to add credit card payment module in a project like shoping cart in asp.net with c# plzzzzzzzzz its very urgent...
Pradeep Reddy
|
|
|
|
|
you can use the paypal online payment. they are giving the step by step procedure for that.
www.paypal.com
try it.
Sathesh Pandian
|
|
|
|