|
datagrid placed in ascx file now i need to bind the datagrid in new webform
|
|
|
|
|
HI,
Make a dataset property and bind that dataset property to grid in the usercontrol.
In the webform, create instance of the usercontrol, set the property and its done
Thanks
Sushant Duggal.
|
|
|
|
|
two way for handling:
1-you can use datagrid as public property of your control and assign to it datasource or any attributes.
2-you can use a dataset or table as public property of your control and assign them to your datagrid into control
first way is very very better.because all of datagrid properties can be assigned from out of your control
|
|
|
|
|
can u plz send me the code
|
|
|
|
|
How to Create users in a particular FTP Server with ASP.NET (1.1) Web application?
How to start downloading to customer system from that FTP server?
Any Help...
Thanks in Advance
Poorna
|
|
|
|
|
Hello
i have problem i want to store date into mysql from asp.net application but its not storing the date..i don't know why?
i want to compare at the time of query....
but its not comparing the date
thanx
|
|
|
|
|
What's the error? compare with what?
|
|
|
|
|
its not giving any error but when i try to store the date in mysql it does not store the date.
i want to compare that store date with current date from query and it not working.
plz help me
|
|
|
|
|
Mysql has another format for storing date,named TIMESTAMP
if you want store date into mysql you must use this.
TIMESTAMP format store the seconds number from 1970/1/1 until your date
you can use this mysql methods for working with TIMESTAMP:
SELECT UNIX_TIMESTAMP( '2006/2/2' )
SELECT date_format( from_unixtime( '1138825800' ) , '%Y/%m/%d' )
|
|
|
|
|
what should be datatype for storing datatype in mysql..will these work in asp.net 1.1.
|
|
|
|
|
i worked this myself using mysql from aspnet1.1
you must work with functions above that i said.
one of them convert your date to TIMESTAMP format
another one convert form TIMESTAMP to normal date format
see sample in above that i said.
you must use these commands on your Queries.
-- modified at 7:41 Wednesday 28th June, 2006
|
|
|
|
|
hello thanx for it
i will check it.
could u tell me one thing more.
i have to show some data (which is in database ) in pdf format.
i have used datalist control,label & image control to show that data.
now how to convert in pdf format.
thanx
|
|
|
|
|
Hi
i don't work with PDF tools in .net .
but i found this for you : see this:
http://www.411asp.net/func/goto?id=6928010
http://www.411asp.net/home/assembly/document/pdf?rid=
http://www.devdirect.com/ALL/PDFCREATE_PCAT_1876.aspx
|
|
|
|
|
Format the date in ISO 8601 format, and it will work just fine.
string dateString = theDate.ToString("yyyy-MM-dd HH:mm:ss")
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
After i have installed .Net 2005,SQL Server 2005 & IIS, i have tried to access all application i have deployed in localhost(Eg. http://localhost/test/test.aspx, http://localhost). But its showing the error "You are not authorized to view this page.You do not have permission to view this directory or page using the credentials you supplied." I have checked the IIS->Properties->Directory Security->Allow Anonymous Access but its not working. I have logged into my machine using admin login.
Can any one help me what are the security settings i have check also if you could send me some links where i can get the relevent information it could be helpful for me.
Thanks in Advance,
Shans.......
|
|
|
|
|
Hi,
I am not sure , but just give it a try.
Check in the IIS properties which framework is running.
For the projects developed in .NET 1.1 , change it to .Framework 1.1
Thanks
Sushant Duggal.
|
|
|
|
|
Many thanks for your reply.
The paalication was developed using .Net Framework 2.0 and the IIS is currently using 2.0 but still its not working
|
|
|
|
|
try to give permission to folders for "aspnet" user mouse right click share and security, on share tab there is a permission button clik it ,add->advanced->find now after do this you will see a user list find aspnet user in the list and click ok
openup your heart and let the sun shine in
|
|
|
|
|
Many thanks for your reply.
I gave the ASP.Net permission for that directory still its not working.
|
|
|
|
|
Hiya all.
It seems the asp:panel "transforms" to a table when viewed in FireFox, does anybody have any idea as to why this occurs? I've never used asp:panel much, but was tasked with debugging some code somebody else had made, when I found out it was because the images were positioned in a table, which ... originated from asp:panel, and FireFox.
When rendered in IE it displays "right", however I can not find any indications as to why this difference exists?
Exampel:
<asp:Panel ID="something" Runat="server">
<div>hello</div>
<span>goodbye</span>
</asp:Panel>
(The div+span were just stuff I used to testing)
This renders to the following html source in FireFox:
<table id="something" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td>
<div>hello</div>
<span>goodbye</span>
</td></tr></table>
but to this in IE:
<div id="something">
<div>hello</div>
<span>goodbye</span>
</div>
Anybody got some idea as to why this happens? (edit:whops forgot to ignore html tags)
---------------------------
127.0.0.1 - Sweet 127.0.0.1
-- modified at 6:08 Wednesday 28th June, 2006
|
|
|
|
|
I guess that the ASP.NET is running on the 1.x version. In the version 1.x, the ASP.NET treats non-Microsoft browsers like FF as down-level browsers and IE as up-level browser. And depending on which client browser is being used, the ASP.NET control renders differently with the specified writer object (either HtmlTextWriter or Html32TextWriter). In the version 2.0, the ASP.NET treats non-Microsoft browsers as IE, so this thing won't happen. For more information, you can see Adaptive Rendering[^]
|
|
|
|
|
Thanks for the reply. I'll be sure to read the linky when I have a little spare time
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
If you are using .Net 1.1, you can read about BrowserCap[^] configuration that will let your ASP.Net render the same HTML in different browsers.
"Democracy is two wolves and a sheep voting on what to have for dinner" - Ross
Edbert
Sydney, Australia
|
|
|
|
|
I have used transactions in my application.so while i am operating or debugging a form and if i abort debugging or close browser before the transaction could commit or rollback,the application hangs up on other pcs i.e it hangs up if there is a database operation involved . there is a common server through which we access our application using VSS.the application is still in development phase.please suggest me a solution to get rid of this performance issue.
simply , i just want a solution which would allow simultaneous transactions with database and avoid the hang-up.the database is SQL SERVER 2000
Amit More(TATA CMC)
-- modified at 5:44 Wednesday 28th June, 2006
|
|
|
|
|
I have windows application in which i use Datagrid to populate values .datas in each cell inturn contains more information . so i like to display data in each cell as tree structure which on collapsing displays the related information.
Suggest a way to acheive this ......
Thanking you
Mani
Mani
|
|
|
|