|
I have a problem in finding how many number of input parameters available in a Store procedure
Please help me
Thank you
Kishore Kumar Manikonda
kishore kumar Manikonda
|
|
|
|
|
I have one string "Hello World" I want cut space to like that "Hello World", please help me
Thanks
................
|
|
|
|
|
Not able to get your problemm
Thanks and Regards,
Chetan Ranpariya
|
|
|
|
|
You it contain many space with it u can view it, it like that "Hello World"
................
|
|
|
|
|
hi,
i am using CreateUser Wizard to add user information in aspnet_profile table like firstName,lastName etc. but all data are stored in one propertyvaluesString. How can i add column like lastName and insert the lastName value to lastName column
Thanks
Bernie
|
|
|
|
|
I think my question is not clear to u
Assume that we have 10 Store procedures in a database and we only knows names of Store procedures only,
Each SP is having its own number of input parameters depends on it requirements
i wnat to write a code....
To find the number of input parameters in each SP
Thank you
kishore kumar Manikonda
Software Developer
|
|
|
|
|
I think that you are truly confused. You are replying to people who didn't reply to your question.
---
single minded; short sighted; long gone;
|
|
|
|
|
Clearly explain what is your problem.
There is no difference in your mentioned word of "Hello World".
Regards,
Satips.
|
|
|
|
|
The string like that "Hello World", please help me, I want it become like this "Hello World"
Thanks
Socheat
................
|
|
|
|
|
Use the Regex.Replace method to replace multiple spaces (pattern = " {2,}") with a single space.
---
single minded; short sighted; long gone;
|
|
|
|
|
But i currently using ASP, show how can i?
Regard
Socheat
................
|
|
|
|
|
As you asked in the ASP.NET forum, I assumed that you were using ASP.NET.
In ASP you can use the RegExp object. As you haven't said what language you are using, I assume that you are using VBScript.
Example:
With New RegExp
.Pattern = " {2,}"
.Global = True
text = .Replace(text, " ")
End With
---
single minded; short sighted; long gone;
|
|
|
|
|
I currently using ASP
................
|
|
|
|
|
What language are you using ? If C#, or VB.NET, you are using ASP.NET. Otherwise, you are in the wrong forum.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I think my question is not clear to u
Assume that we have 10 Store procedures in a database and we only knows names of Store procedures only,
Each SP is having its own number of input parameters depends on it requirements
i wnat to write a code....
To find the number of input parameters in each SP
Thank you
kishore kumar Manikonda
Software Developer
|
|
|
|
|
Socheat.Net wrote: I currently using ASP
I posted ASP code.
---
single minded; short sighted; long gone;
|
|
|
|
|
I think my question is not clear to u
Assume that we have 10 Store procedures in a database and we only knows names of Store procedures only,
Each SP is having its own number of input parameters depends on it requirements
i wnat to write a code....
To find the number of input parameters in each SP
Thank you
kishore kumar Manikonda
Software Developer
|
|
|
|
|
Try this
<br />
string str = "Hello World";<br />
char[] separator ={ ' ' };<br />
string[] result = str.Split(separator, StringSplitOptions.RemoveEmptyEntries);<br />
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
I am very sorry I don't understand, please give as ASP code
Regard
Socheat
................
|
|
|
|
|
OK - please ask in the web development forum. Why are you using ASP ? It's a nightmare....
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi
My grid has biunded columns and it sort on ascending but not on Desc
Please help me in this i think after desc it is not able to display data.
Thanks
Snippets of Code is given
In my page Load i write
ViewState["SortOrder"] = "";
public void doSortDataGridItem(object sender , System.Web.UI.WebControls.DataGridSortCommandEventArgs e)
{
showReportsDetails();
dvDetails =dsDataset.Tables[0].DefaultView;
if(ViewState["SortOrder"].ToString() == "" || ViewState["SortOrder"].ToString) == "DESC")
{
// DataView Name dvDetails
dvDetails .Sort = e.SortExpression;
//Change history no 9
ViewState["SortExpression"]= e.SortExpression;
//End Change history no 9
ViewState["SortOrder"] = "ASC";
}
else
{ // DataView Name dvDetails
dvDetails .Sort = e.SortExpression + " DESC";
//Change history no 9
ViewState["SortExpression"]= e.SortExpression + " DESC";
/End Change history no 9
ViewState["SortOrder"] = "DESC";
}
dgHistory.DataBind();
}//End of this event.
showReportsDetails() this is used to display data in datagrid
showReportsDetails()
{
dsDataset=SqlHelper.ExecuteDataset(com.sConnectionString(),CommandType.StoredProcedure,"SP_Reporting1",oSqlParameter);
dgHistory.DataSource=dsDataset.Tables[0].DefaultView;
dgHistory.DataBind();
}
|
|
|
|
|
have a look at This[^]
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|
|
Hi
Thanks for Reply
But;
What to write for ME keyword or if i write that property then
where to write it.
|
|
|
|
|
It's easy. Because you have write:
ViewState["SortOrder"] = ""; in Page load
So everytime it will make if(ViewState["SortOrder"].ToString() == "") true
I think you may write this in page load :
if(ViewState["SortOrder"]==null)
{
ViewState["SortOrder"] = "";
}
Hope it works.
Regards,
Mayank Parmar
Senior Software Engineer
Amba Tech
Gandhinagar, India
|
|
|
|
|
Hi I have 2 webforms in my project.say
webform 1-----------> txtno
webform 2----------->txtEno
I need to compare the values in the both textbixes in webform2 in the button click event.If both the values are different then only submit the form.
I need javascript function which require to compare both values but don't use form id .
This is very urgent Thanks to all.
|
|
|
|