|
I'm using ASP.Net2.0.I've a problem.I am creating a table and inserting data from database.The problem is whenever the data reaches the next page(means when I am trying to print the value of the table) the grid lines are not showing.Could any one help me out of this?U can contact me at avijit.gs@hotmail.com
Avijit Roy
Software Engineer
|
|
|
|
|
To be honest, your post seems to be quite confusing to me.
Avi80 wrote: I am creating a table and inserting data from database
I suppose you have a DataTable and you fill it with data from database... right?
Avi80 wrote: data reaches the next page(means when I am trying to print the value of the table)
This part I don't understand at all. What data reach next page? How do they reach it? What does it mean 'print the value of the table'? Do you mean that user cause a PostBack and then you want to display data? But how?
Avi80 wrote: the grid lines are not showing
Hmm, first time you mentioned grid, I suppose you bind your DataTable to a grid, but how and where. Usually when you bind data, they display in a grid. I can not say why it is not working for you, if you don't show me your code or at least explain me your way you did it.
Avi80 wrote: Could any one help me out of this?
Of course I can, but you have to explain clearly what is your problem.
Best advise I can give you is that if you expect an answer, then people must understand a question.
Maybe it is only me, who doesn't understand, but you can see that there is no answer for your question at all, so problem will be probably somewhere else.
Pilo
|
|
|
|
|
I'm sory that U've probs to understad my problem.The reason for not many answers I think is that people may not have faced such problems.The problem is with the Table Control not Grid Control.I am genarating a report for a company and I'm showing report in a table.The problem is when I'm taking the printout the borders r not showing for the table except in the first page.I think now u can better understand my problem
Avijit Roy
Software Engineer
|
|
|
|
|
Hi Everybody,
I am stuck with a requirement where I have to flag/mark cities' location on a map of the country. The question is how can I store information of position of the cities for the map. should I use x/y coordinaets? Finally, how I then display them accordingly on web page with the country map.
Thanx in advance!
-Puran
puranonnet
|
|
|
|
|
The simplest method wouyuld probably be to hold the extents of the map, then a the lat / long of the places to be marked (or eastings / northings).
If you know the extents, then you should be able to work out the proportional position of the city, and thereby the screen X / Y you need
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi Rich,
Thanks for timely suggestion. It worked.
Thanks again
-Puran
puranonnet
|
|
|
|
|
Hi All,
I need a code for extracting the word file and Excel file in ASP.Net (Web Application) using C#. Plz do me that favour.
Regards,
Sandeep...
Hi, its Sandeep here working in a S/W company as a Quality member, I have also intrest in ASP.Net.
So consider me as a member of this group.
Thanks,
Sandeep...
|
|
|
|
|
sandeepraw wrote: I need a code f
Golden Advices of the Lord Chris[^]
There are a couple of ways you can use to work with the word/excel documents:
+ Use the automation[^]
+ Use the ADO.NET with the excel.
+ Use a third party component.
|
|
|
|
|
First of all the execl and work automation is bad because you have to manage the exe server and its ROT table
But, excel documents can be saved as xml files.
Carlos aguilar has a free c# excel assembly
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
I have searched everywhere for a solution for this.
I have a gridview that is bound to a datatable. The gridview has a footertemplate so i can add new records. The problem I have is when the pageloads the footer is not being displayed when there are no records.
Any help with this would be most appreciated.
|
|
|
|
|
If the datasource is empty, you may use the EmptyDataTemplate to add a new record.
|
|
|
|
|
hi,
I have an asp.net C# application .It contain on text box and one Browser... button.om click of this browser button it open another window and it should explore all the folder in a system.like "FolderBrowser" in windows application.
kamalnath
|
|
|
|
|
for this you have already been answered yesterday. Check this link:
http://www.4guysfromrolla.com/webtech/091201-1.shtml
and don't be impatient(posting the same question multiple time) because whenever somebody will get the free time they will answer your question.
Best Regards,
Apurva Kaushal
|
|
|
|
|
You'll also find that posting many times when you already have an answer does not make people want to help you...
|
|
|
|
|
hi,
Sorry for inconvenience. Still I didn’t get exact solution to my problem.
kamalnath
|
|
|
|
|
Then you might want to consider taking some of the feedback people have given you and re-wording the question...? Continually asking the same thing and hoping for some kind of dawning inspiration amongst the people here is not going to get you too far...
|
|
|
|
|
some times its not possible to give answer exactly wot you looking for but give you the idea and hint to solve your problem and then you have to use you own programming skills to come up with a solution....
sorry if you not getting wot you looking for...
Nav.
|
|
|
|
|
hi all
i have a problem in my asp.net page i want to add .exe file in my aspx page,this .exe file can convert the english date into Arabic date and this conversion application is a desktop application,now we i want to embed this application in my asp.net.how can i get the solution of my problem.
best regards
|
|
|
|
|
First of all, you cannot include an exe, but ofcourse you can execute.
You can pass your asp.net page variables as arguments to exe, also you can get return data from exe by writing it to some text file.
Here is simple code snippet in C#:
try
{
string yourArgs = "bla bla bla";
p.StartInfo.FileName = System.Web.HttpContext.Current.Server.MapPath("yourapplication.exe");
p.StartInfo.UseShellExecute = false;
p.StartInfo.WorkingDirectory = Path;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.StartInfo.Arguments = yourArgs;
p.EnableRaisingEvents = true;
p.Start();
p.WaitForExit();
p.Close();
p.Dispose();
}
catch (Exception exp)
{
}
Regards,
Ketan.
|
|
|
|
|
thnks
but kindly if u give me some vb.net code snippet to execute the .exe form my asp.net applicion,it would be very healthy for me ...
one more thing is that Can i give the path of my Install desktop application.
would you like u tell me that running .exe from this way will not harmfull from the application.
thnks
bestRegards
|
|
|
|
|
Hey, its not a big deal to convert this simple c# code to vb.net. Although, you can google for c# to vb.net converters and get the code converted.
You can mention your dekstop application path whatever it is.
nabeelkhan wrote: would you like u tell me that running .exe from this way will not harmfull from the application.
thnks
I think you are a new player thats why asking such questions.
Regards,
Ketan.
|
|
|
|
|
thnks ketan,
i will try and let u know
BestRegards
nab
|
|
|
|
|
I'm not going to answer your question, but maybe you will find my post usefull anyway
I realy wonder, why you want to execute desktop application from web application (that is quite weird) to convert dates from one calender to another, if .NET can do it for you as well.
Check good example here on codeproject:
http://www.codeproject.com/cs/samples/hijrigregorianclass.asp
I hope it helps, it is much better solution for your problem, I think.
Pilo
|
|
|
|
|
|
Hi,
Is it possible to auto-deploy webpages to multiple sites/servers at a time using visual studio .Net 2003?
Or is there any another tool using which we can create a setup which allows to deploy web pages to multiple sites?
Anyone having any idea on it. Please update.
HV
|
|
|
|