|
Set a reference to the assembly and use it.
only two letters away from being an asset
|
|
|
|
|
Hi All!
i have an excel file. i want to read data into data set. i have successfully read it into data set. but it doesn't images data. for image data it it returns database null. i want want to read data as well as image data into data set. can any one help me in this regards?
|
|
|
|
|
1. we need your code
2. we need your error message
3. this can be solved with Google
|
|
|
|
|
Thanks for such a valuable suggestions.
Thanks & Regards,
SAMir Nigam,
Software Engineer,
STPL, Lucknow, India.
|
|
|
|
|
iam assiging a value from a text box to a datatable row how i can convert the entered text of the textbox first letter should convert to an upper case and entered to the datarow of the datatable
|
|
|
|
|
private string MakeUpper(string text)
{
string firstLetter = input.Substring(0,1);
return firstLetter.ToUpper() + text.Remove(0,1);
}
|
|
|
|
|
hi sir how ru this is jagadeesh
sir my actual requiremant is if the text box enter is text it should take
first letter as captial and if the text box enter is sentence if should take as sentence type case and and in the textbox there may be first text as number also
|
|
|
|
|
"sentence type case" What do you mean by this?
The provided method should work for numbers also, just check if the first is numeric
only two letters away from being an asset
|
|
|
|
|
hi Mark Nischalke
sentence type case means if the user gives the name as mark nischalke then it should get as Mark Nischalke
|
|
|
|
|
This will capitalize the the first letter in every work in the text. Of course it won't differentiate between proper names and other words.
private string ToSentenceCase(Match match)<br />
{<br />
return match.Value[0].ToString().ToUpper() + <br />
match.Value.Substring(1);<br />
}<br />
<br />
string text = Regex.Replace(TextBox.Text, @"\w+", ToSentenceCase);
only two letters away from being an asset
|
|
|
|
|
Hi
Is there any community portal development 3rd party tools in ASP.net to develop sites like Facebook, orkut etc.......
kamalnath
|
|
|
|
|
I don't think that any controls are available. For implementing Blogs and Forums, you may check Community server[^]
|
|
|
|
|
yes there are many , but u have to buy them
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
can you list the best community portal development tools sites.
kamalnath
|
|
|
|
|
Hi
I am jagsir singh.
I need to functionality of url rewriting in my web application.
I need to add the url name(from db) into original url
what i want to implement is as
suppose my original path is
http://www.path.com/default.aspx
and my url from db is abc
so url path would be
http://www.path.com/abc
and for xyz
http://www.path.com/xyz
this path should be same for whole application
Is there any body can help me please.
Jagsir Singh (Sanam)
|
|
|
|
|
Hi,
Member 4596027 wrote: http://www.path.com/xyz
this path should be same for whole application
as per yr comments http://www.path.com/ is same for yr application.
So you can do Response.Redirecthttp://www.path.com/" + "Get from database");
Hope it will help you.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Thanks for reply
but here is another situation
actually here xyz is the account name
and whole path will be same
for example if one person creates an account and his account name is xyz
and another person creates another account and his account name is abc
then
for first case url will be http://www.path.com/xyz and it will same for his application instance
and for second case url will be http://www.path.com/abc and it will be same for his application instance
No page should be displayed
thanks
Jagsir Singh (Sanam)
|
|
|
|
|
hi
i have a login page and inthat page i create a cookie name "admin" my problem is that when the admin login then in every page of admin section this cookie check if exist or not if not exist return the admin to login page
thank u in advance
|
|
|
|
|
I think it will help u
this is in vb.net
If(Request.Cookies("admin") IsNotNothing)Then
do
else
Response.Redirect("Login.aspx")
end if
Jagsir Singh (Sanam)
|
|
|
|
|
Hi,
Can we use two validation controls for the same field?
i.e)For a textbox containing username the field should not be empty and
also the field should accept atleast 6 characters.I tried by using required
field validator and range validator.Both of them are working but it is
not directing to the next page.Only with required field validator
it works smoothly.Plz reply me.
|
|
|
|
|
hi dear, u can use any number of validator in asp.net.. for ur problem u must have to use requirefield validator and regularexpression validator.
range validator would not be used in the condition of strings.
also alternative to regular expression u can use custom validator and call javascript function to validate the lenght for ur input box..
regards
sulabh
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
Hi All,
I want to pass a textbox value from .aspx page to .ascx page(User Control).Can any body tell hoe to do it.I am using .NET 1.1
Regards
|
|
|
|
|
Hi,
you can create public property in ascx file and can access it from aspx file.
Hope it will help you.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Do I need to create an instance of .ascx page into .aspx page and then call it from .aspx page.I did what you said,but not working.I will copy the code below:
at the ascx page:
public int Quantity
{
get
{
return quantity;
}
set
{
quantity = value;
}
}
How to assign value from aspx page?
Can you please expalin via some code.
Hello There
|
|
|
|
|
You can use the user control id to access the property.
|
|
|
|