|
What are the XML APIs for .NET?
|
|
|
|
|
|
Hello All,
We are converting our application from 2002 to 2005. Most of projects converted without any errors, but in few projects for 1 or 2 files we are getting error like
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
If somebody can let us know what will be solution for this.
Thanks & Regards,
S Kumar
|
|
|
|
|
Do you have any Unsafecode written in that file or project Where you have done direct memory access ?
<l>Thanks and Regards
Sandeep
|
|
|
|
|
hai all,
i would like to generate autogenerate serial number in datagrid...
can anyone help me with this.. its too urgent .. plz
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
hi buddy,
You know the page size and page number where you are on the datagrid. then whats the problem to generate page numbers.
anyway you start from the first page so you can put serial number from 1 * 10 - 9 to 1 * 10. when you move to 3rd page it would be 3*10-9 to 3*10
I assume Page size as 10
you can add a label control as template and do this in itemdatabound
all the best
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
hai,
Thanks For ur reply.... But i am not using paging.. i am using scroll
bar with fixed header in my datagrid....So, Is there anyother way to do
for this???
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
Are you showing all the records in one page ?
if yes then its simple page number is from 1 to number of records
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
k....... but i am using a search page in my project
it should bind after checking the condition....
Is it possible sir????
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
yes. Try it out. Or Just paste some of your code snippet here. I will check it out
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
SqlConnection con=new SqlConnection(s);
SqlCommand cmd=new SqlCommand ("Sp_search",con);
cmd.CommandType =CommandType.StoredProcedure ;
cmd.Parameters.Add ("@cname",DblCname.SelectedItem.Text.ToString());
SqlDataAdapter ADA=new SqlDataAdapter();
ADA.SelectCommand =cmd;
DataSet Ds=new DataSet();
ADA.Fill(Ds);
if (Ds.Tables[0].Rows.Count!=0)
{
DataGrid1.DataSource=Ds;
DataGrid1.DataBind();
DataGrid2.DataSource=Ds;
DataGrid2.DataBind();
}
else
{
}
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
yes you can do it Item DataBound event
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
ok thank u So much.....
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
i have filesize. i divide it by 1000 . i want now to display filesize upto 2 decimal points .
its urgent
-- modified at 3:56 Monday 19th February, 2007
|
|
|
|
|
Only you have to show it ? or you have actually divided the one big file to small one
<l>Thanks and Regards
Sandeep
|
|
|
|
|
only show it . just displaying the file size .
|
|
|
|
|
Use System.Math.Round(san,2)
<l>Thanks and Regards
Sandeep
|
|
|
|
|
|
My Pleasure
<l>Thanks and Regards
Sandeep
|
|
|
|
|
Hi,
Just want to ask what is more appropriate to use:
dim varA as string
varA= "hello world" or varA.equals("hello world")
regards
Dom
|
|
|
|
|
dim varA as string = "what does this have to do with ASP.NET ????"
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Both are different in first sentence you are assigning string to varA and in second one you are checking VarA is equal to given string or not
<l>Thanks and Regards
Sandeep
|
|
|
|
|
Thank you for your generous reply
|
|
|
|
|
Sunil Tvl
|
|
|
|
|
You posted three times, and you didn't ask a question. I see the header, but what do you mean by caching ? Do you seriously expect someone to write you a full ASP.NET sample app ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|