|
hello frnd,
have the give the content size in %
oR in pixcel or pt ???
use the width and height in % not in px or pt
use the structure to to place all your control,
don't use the drag drop facility ir will disturb your control when screen size changed
after u have finised with your work do lock all forms
reagards,
koolprasad2003
If the message is useful for U then please Rate This message...
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
Hi this may be a daft question but here goes anyway...
Ive got a page set up to manually edit a record in our database, here is the update string:
SelectCommand="SELECT * FROM [products]" UpdateCommand="UPDATE products SET ManufCode = @ManufCode, ShortDesc = @ShortDesc, ManufName = @ManufName, LongDesc = @LongDesc, CategoryShort = @CategoryShort, CategoryName = @CategoryName, Price = @Price, PhysicalQty = @PhysicalQty, [Image] = @Image WHERE ([ProductCode] = @ProductCode)">
Now this seems to work find apart from say for example i type the following
Manuf Name = mike
Short Desc = abc 1
Short desc and manuf name swap places, abc1 added to the manufname column and 'mike' gets added to the short desc column
i dont understand why? any ideas?
sorry if this sounds confusing but its difficult to explain.
thanks
|
|
|
|
|
i have a textbox and it has html code in it
i need plane text from that html code to be displayed with out any ascii or symbols just plane text on clik of a button
how can i do it.
Be ready to watch a horror episode
|
|
|
|
|
Have you even tried to search through some articles [^] around here??
|
|
|
|
|
in my application i am storing values in a cache variable.i want to retain the value till the application closes. it is coming correctly. the problem is when another user takes the same application cache variable is havingthe previous users cache value.can i create new instance of that cache variable? or any other method?..........
|
|
|
|
|
Hi, Do you mean each user is seeing the same cache contents & that's not what you want?
If so place what user currently placing in the cache into the users session.
|
|
|
|
|
i want to store large amount of data means dataset .that's why i am using cache variable.
|
|
|
|
|
This may not be elegent but could you stick the dataset into the cache and use the datatable default view Rowfilter property to get the user specific stuff?
private DataView getUserDataFromCache(string user)
{
DataView dv = Cache["Dataset"].Tables[0].DefaultView;
dv.RowFilter="UserID='" + userid + "'";
return dv;
}
|
|
|
|
|
Hi,
I am developing an application using vb.net. it generates an exe for running the project we have to execute that exe properly.My problem is that now i want that a particular user can use my exe for one month only after that it will show an message that you have to install again that exe. so i want some help for implementing that in vb.net. how can i do that.
Thanks in Advance
|
|
|
|
|
To make things simple, a registry key is the way to go. It must be encrypted in a decryptable way. Invent your own cryptography algorythm, this way not everyone can figure out what the encryption means. Do NOT give the key a name that describes the program, or simply give a number as the key's name.
|
|
|
|
|
Hi guys and Gals Im new to this so here goes, I already have a site of my own www.ukcoldwar.org.uk This I built myself on frontpage, each page is indivdually built which when wanting to change logo's etc makes it very hard....
So my question is this. I want to build a new site where the hearder anf ooter are standard and the content changes.... I have been looking round the site and am totally lost.. Can any one point me in the right direction ??
Regards Duncan
|
|
|
|
|
Which tool do you want to use developing your website... Are you still using frontpage or do you have Visual Studio or something?
|
|
|
|
|
Hi,
If you are using Visul Studio 2005 then by using the Master Pages you can complete your task.
Regards,
Sandeep Kumar.V
|
|
|
|
|
Hi Friends,
How can i Convert a Number(Like 98) to a ASCII equivalent char("a")
Thank in advance..
Amit Metkar
3i-infotech, Mumbai.
|
|
|
|
|
Cast that to char
int a = 98;
char c = (Char)a;
Response.Write(c.ToString());
|
|
|
|
|
Thanx
but we can do it another way ,
using Encoding Class having GetString(byte[]) method.
acually i tryed this one after posting this Q
Anyway thanx..
Amit Metkar
3i-infotech,Mumbai.
|
|
|
|
|
sys.webfroms.pagereqestmanagerservererrorexception: an unknown error occurred while processing the reqest on server.the status returned from the server was 500
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
|
|
hi friend good morning
i am using ajax panel where i have a text box.when i input like this:- < and abcd <avcd html="" starting="" greatethan="" and="" abcd=""
then="" http="" error="" 500="" occurred....error:-
"sys.webfrom.pagereqestmanagerserver="" error:an="" unknown="" occurred="" while="" processing="" the="" request="" on="" server,the="" status="" code="" returned="" from="" server="" was:500"
help="" me=""
<div="" class="ForumSig">Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
Hi, All
I have Developed one Web application in Asp.net 1.1 . Now the requirement is, I want to make license for this application.
like, I can give license for 1 month, 6 month, lifetime or Demo version who want to buy or try this application.
or if u know other way to licensing to this web application.
please give replay for this.
Thank You
Sachin Patel.
Forte Interactive Pvt. Ltd.
Baroda.
|
|
|
|
|
I don't think Implementing licencing for webapplications is not an easy job. Make me clear with this
1. How you will give your application ? Fully compiled, or with source code
2. Where users host it ? on their server or your server space ?
One Idea to implement this is by WebServices . Your webapplication should be able to send request to a remote webservice resides on your server. This webservice should check whether the user is authorized to use the application.
|
|
|
|
|
Re 1. I will give if Fully Compiled (setup) not with source code.
Re 2. I think users host it on their own server or who had interested to host on our server space.
Yes, i know that it will implement with Webservices. but i not well familiar with webservices, i have never use webservices.
If u have some other idea's to provide this application to customer with licensing then please let me know....
thank yor
sachin
|
|
|
|
|
Optimum solution would be using webservices. It is very simple to create a WebService than creating entire ASP.NET website. You have to call the webservice method which validates the licence information on each page load. So let's frame it out like this
PageLoad() -> CheckValidLicence() -> [ WebService ] -> WebMethodLicenceValidate(UserId)
In WebMethodLicenceValidate() function you need to check the requested user having permission to continue using the product. Send a value back to the page and check this value on the page load. You can navigate user to Licence expired page if webservice returns no access message. For more information on Creating and Consuming webservices please read this[^] excellent article by Scott Mitchel.
|
|
|
|
|
Hi
I have produced a table which allows me to select the current user or delete the user from the table
But i am unsure how to handle both events, i have the delete working, but when i try to run the select method, it will run both the delete and select methods, how do I handle these correctly my asp code is as follows
<asp:TemplateColumn HeaderText="Delete User">
<ItemTemplate >
<asp:linkbutton id="cmdDel" runat="server">Delete</asp:linkbutton>
</ItemTemplate></asp:TemplateColumn>
<asp:TemplateColumn HeaderText ="View user Profile">
<ItemTemplate>
<asp:LinkButton ID="cmdSelect" runat="server" >Select</asp:LinkButton></ItemTemplate></asp:TemplateColumn>
</Columns>
<PagerStyle HorizontalAlign="Left" />
<AlternatingItemStyle BackColor="ActiveBorder" />
<HeaderStyle BackColor="Navy" Font-Bold="True" ForeColor="White" HorizontalAlign="Center" />
</asp:datagrid>
and my vb code is
Sub DataGrid1_ItemDataBound(ByVal sender As Object, ByVal e As DataGridItemEventArgs) Handles dgPriv.ItemDataBound
Dim l As LinkButton
If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
l = CType(e.Item.Cells(6).FindControl("cmdDel"), LinkButton)
l.Attributes.Add("onclick", "return confirm('Are you sure you want to delete this item?');")
End If
End Sub
Sub dgpriv_ItemCommand(ByVal sender As Object, ByVal e As DataGridCommandEventArgs) Handles dgPriv.ItemCommand
Dim iid As Integer = dgPriv.DataKeys(e.Item.ItemIndex)
Dim litErr As New Literal
Dim myConnection As New MySqlConnection("Server=localhost;;database=ftp1;")
Try
Dim param As New MySqlParameter
Dim myDeleteCommand As MySqlCommand = New MySqlCommand("sp_delete", myConnection)
myDeleteCommand.CommandType = CommandType.StoredProcedure
param = myDeleteCommand.Parameters.Add("?p_id", MySqlDbType.VarChar)
param.Direction = ParameterDirection.Input
param.Value = iid
myConnection.Open() 'Open the connection
myDeleteCommand.ExecuteNonQuery() 'Delete the record
myConnection.Close() 'Close the connection
Catch ex As Exception
litErr.Text = ex.Message
MsgBox(ex.Message)
End Try
refresh()
End Sub
Sub getUser(ByVal sender As Object, ByVal e As DataGridCommandEventArgs) Handles dgPriv.ItemCommand
MsgBox(dgPriv.DataKeys(e.Item.ItemIndex))
End Sub
|
|
|
|