|
Mr. Navaneeth thanx for you reply...
First of all i want to say that it was not answer of my question. And second , i come here only after search the solution on google.
Anyway thanx alot for your suggestion.
krishna veer singh
|
|
|
|
|
krishnaveer wrote: i come here only after search the solution on google.
Then you could explain what happened when you tried suggestions given by google ? When you form a question, consider putting all the details about the problem including what you tried. Then the person who is trying to help you will get a clear picture about what you did already.
|
|
|
|
|
I don't like SqlDataSouce because it is difficult to handle the inline sql.
I always using the ObjectDataSource which can use to call business layer functions directly. I am happy that I can bind a grid with a few mouse clicks
|
|
|
|
|
To be honestly, I don't like any datasource controls like (SQLDataSource,ObjectDataSource). I prefer to write my own code to handle databinding. It gives more flexibility to me.
|
|
|
|
|
I know most of the professionals like to follow the traditional way. It is more flexible but it is time consuming. Isn’t it?
|
|
|
|
|
janet2008 wrote: but it is time consuming. Isn’t it?
Yes, it is. But it's negligible as your application is getting a good architecture.
|
|
|
|
|
Ok ok
You talk about the good architecture. Let me ask one question here. Suppose you have a “price” field with the “decimal” data type in your database. Now you are writing a function to save data to this table. This function receives values for insert as parameters and calls a stored procedure. Is there problem that pass the “price” as string into this functions? I mean any performance problem or something like that?
|
|
|
|
|
janet2008 wrote: I mean any performance problem or something like that?
Nope, there won't be any performance problem. But since you know the price field can contain only “decimal” values, why to use string for parameter ?
|
|
|
|
|
It is because, usually user input price in a text box. So if I write a function with a decimal parameter, I have to cast the textbox output. Since both method gives same result I thought to avoid this casting.
|
|
|
|
|
But if you declare the parameter as string, you need to cast it before you update database. In both ways you are doing casting.
|
|
|
|
|
The stored procedure parameter is decimal type. But sqlparameter class will receive parameter value as “object”. So I didn’t do anything for casting. I don’t know what will happen in ADO.NET
|
|
|
|
|
I need to do windows live authentication.I tried the one in http://www.codeplex.com/CKS/Release/ProjectReleases.aspx?ReleaseId=7746 [^].but am getting the following error message "Error Access denied" followed by current user <32 digit no>How can i add liveId Membership provider and liveroles role manager?
thanks and regards
Ranjani
|
|
|
|
|
|
hi friend i am trying to access remote system then machines give exception
The RPC server is unavHRESULT: 0x800706BAailable. (Exception from )
but when i use this localy then its work ferfectly. help me.
Code:-
Dim myConnectionOptions As New System.Management.ConnectionOptions
With myConnectionOptions
.Username = uxtxtlogin.Text ' "test1"
.Password = uxtxtpassword.Text '"password_1234"
.EnablePrivileges = True
.Authority = ""
.Impersonation = System.Management.ImpersonationLevel.Impersonate
.Authentication = System.Management.AuthenticationLevel.Packet
End With
Dim myManagementScope As System.Management.ManagementScope
'* Replace the "." with an actual servername for remote connection
' Dim myServerName As String =' "uxtxtocsurl""192.168.8.40"
myManagementScope = New System.Management.ManagementScope("//" & uxtxtocsurl.Text & "/root/cimv2", myConnectionOptions)
'* connect to WMI namespace
Try
myManagementScope.Connect()
Catch ex As Exception
End Try
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Hi
i am using formview in my application for displaying header records( 6 rows are there) . i given paging .while running page is coming with first record . if i click next its going to next record but i want directly it should go to 4th record if i given 4 to textbox placed in same page
|
|
|
|
|
protected void Button1_Click(object sender, EventArgs e)
{
FormView1.PageIndex = int.Parse(TextBox1.Text);
}
Abhishek
Mumbai, India
|
|
|
|
|
I have a web application that i want my friends be able to access from the internet.
I can access this in my network, but dont know how to make it available on the net.
It might sound really amature to a lot of people but i dont know this.
I have heared that we need to put the contents on global ip. ok, what does that mean??
CanAnybodyHelpPlz??
TYIA!
M?
|
|
|
|
|
|
Good Jock...
Jintal Patel
|
|
|
|
|
Is there any way to turm off and on popup blocker of IE within coding?
Please let me know....
|
|
|
|
|
Dong Kim wrote: Is there any way to turm off and on popup blocker of IE within coding?
Please let me know....
No you can't because this would constitute a serious security breach if you could. Why would you want to anyway? If the user has chosen to block popups, then why do you think you have the right to try to turn it off.
|
|
|
|
|
Hi all
I need to send a clickable link by mail to a user
I am able to send the amil with the link, but i had to generate the url like:
"http://" & Request.Url.Host & ResolveUrl("MyPage.aspx")
Is there an easier and better way to get the whole url for any resource on my site?
Thanks
Alexei Rodriguez
|
|
|
|
|
Hi AlexeiXX3
Yes this can good way.
thanks
|
|
|
|
|
How to deploy a site collection ?
Can I create a Site Collection inside a Site collection ?
Thanks in advance !
|
|
|
|
|
I am working on a project in visual studio 2005 and am getting the following errors:
1) template.master cannot be processed because the code directory has not yet been built. I get this error when going to an .aspx file. I do have the template.master file in the root directory.
2) A skinID has been specified but the page is not configured to use a page theme or style sheet theme. Under app_theme I have a folder named basic which has 2 files(basic.skin and default.css)
Please Help!
|
|
|
|