|
Same question again .....
what is the problem???
let me tell you ...
if you want a Quation Mark (") inside a string use \", if you want \ use \\
and use + to concatenate two strings...
If you want "p1" "p2" assigned to c then
write
C="\"p1\" \"p2\""
Thats what u wanted I guess...
Abhishek Sur
|
|
|
|
|
|
|
why not ? i have already give you the code . Check "Your Answer" post on your last thread. or you want some thing diffrent that you are not able to descruibe ?
cheers,
Abhijit
|
|
|
|
|
|
i have two command
when two command in concatenate and run sigle command in asp.net
e.g
string a = "\"a\"" + ' ';
string b = "\"b\"";
string c = a + b;
TextBox1.Text = c
ProcessStartInfo startinfo = new ProcessStartInfo();
startinfo.FileName = TextBox1.Text;
Process.Start(startinfo);
that is same probleam
when single command is run on the run window the execute succefully run
|
|
|
|
|
Rinki Mukheraji wrote: when two command in concatenate and run sigle command in asp.net
you want to run two command a time ???? by adding them.
Try to execute one by one.
|
|
|
|
|
use StringBuilder it will ease your job
|
|
|
|
|
hi all,
i am developing the project using two grid view...here I am doing paging.in first gridview paging is working fine..but sencond grid paging is not working properly...
anybody know please reply me....Thanks
Raaj
|
|
|
|
|
Can you give more details
Cheers!!
Brij
|
|
|
|
|
you must be doing something wrong
|
|
|
|
|
hi
i took one grid view and it have checkbox.
i want when i click on chekbox or checked checkbox that time
that rows feilds are display on textbox.
regards
gayatri
Gayatri
|
|
|
|
|
Dear All,
i am using asp.net 2.0 , C# and ajax1.0
i am getting this error Type 'AjaxControlToolkit.MaskedEditExtender' does not have a public property named 'UserTimeFormat'. while i load the form on live server but this error i am not getting on test server
i have register ajaxtoolkit in the form only as
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
and using it as
<ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender1" runat="server" Enabled="True"
TargetControlID="Outtime" Mask="99:99" MaskType="Time" UserTimeFormat ="TwentyFourHour"
>
Please suggest .
Thank you
imran khan
|
|
|
|
|
|
class Program<br />
{<br />
static void Main(string[] args)<br />
{<br />
string s = "A1,G11,M7";<br />
string[] s1 = s.Split(',');<br />
StringBuilder s2 = new StringBuilder();<br />
foreach (string ss in s1)<br />
{<br />
s2.Append("'" + ss + "',"); <br />
}<br />
string s3 = s2.ToString();<br />
Console.WriteLine(s3.Substring(0,s2.Length-1));<br />
<br />
}<br />
}
Now Try to optimize as possible as you can !!!
|
|
|
|
|
This was your message that you have deleted !!!!
Hi i need some logic,
Actually my text is like this:
A2,G11,m7
I want to add single quotes on all the words...,
It mean i need the text like this:
'A2','G11','m7'
How to do this
Please Dont do like that !!!
|
|
|
|
|
Anyway I will give my opinion too:
string strVal = "A2,G11,m7";<br />
string [] newstrVal = strVal.Split(',');<br />
string strResult= "";<br />
<br />
for (int i = 0; i <= newstrVal.Length-1; i++)<br />
{<br />
strResult += "'"+newstrVal[i].ToString()+"',"; <br />
}<br />
strResult = strResult.Substring(0,strResult.Length-1);
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you then save my time by voting my post.
|
|
|
|
|
Need to change permision of excel file before inserting data into it. Everything is working fine but i need to check whether file is readonly. if so the change its permision to Read/Write. how to do so. plz help at an earliest
|
|
|
|
|
use
File.SetAttributes(filepath, File.GetAttributes(filepath) And Not FileAttributes.ReadOnly)
Replace filepath with your actual file path....
Abhishek Sur
|
|
|
|
|
"Operation must use an updateable query". This is the error that code gives for the first time and second time it runs smoothly. Ithink first time it makes file writeable but do not wrtie any into it and does that second time of its running.
Actually im inserting data into excel file using ADO
|
|
|
|
|
Sir,
I need urgent help in choosing an ASP.NET project. I want to do the project as part of my studies. I just want a list of few good ASP.NET project titles. Will u please type in a few ASP.NET projects(the name of the project).
In my college the examiners are well familiar about the usual projects like ONLINE EXAMINATION, ONLINE DIARY, ONLINE HOSPITAL MANAGEMENT like that.
I WANT AN ADVANCED ASP.NET PROJECT. Please provide me a list of good advanced projects in ASP.NET which are nice to present before my examiners.
Hope u reply soon
Sherin
|
|
|
|
|
Hi,
Here are some suggestions...
Logistics System sujected to Shipping Line.
You can implement the activities involved in a Shipping Line covering the basic work flow, might be able to get some idea by studding the logistics domain..
Online Shopping Site.
You can create a shopping store for selling goods. So here you will have the e-commerce features you would see in any online shoppping site.
Web Portal.
A web portal for a company. This could automate the HR managemnt plus, automating some divisional activities based on the company you select.
A Content Managment System.
Thx,
Gayani
|
|
|
|
|
adding with previous answer
1.Cargo Management System
2.web based library
etc..
Gjm wrote: I WANT AN ADVANCED ASP.NET PROJECT. Please provide me a list of good advanced projects in ASP.NET which are nice to present before my examiners.
Advance project not only mean the advance topic , it can be simple also, but the main thing is that how did you implement it.
Menas
1. Layer Architecture , that how did you layred your application with Bussiess Layer, Presentation Layer , Database layer
2. Different Advance Components like Ajax, Silverlights etc.
3. How much user friendly it is .
There are many more point like this.
Hope this will helps you !!!
|
|
|
|
|
Hi,
There are many more advance topic available on the internet you can get from like Credit Scoring Engine,Cargo management system etc...
But the main thing is ,How you represent them.Even yopu vcan make a very normal topic like ONLINE HOSPITAL MANAGEMENT and represent it in some unique way that will surely catch one's eye easily.
Some point you can take care
* Try to use some advance technology to provide better and advance GUI.
* It should be more user friendly
* Better color combination
etc...
Hope you got my point..
Best of luck for your endeavors.
Cheers!!
Brij
|
|
|
|
|
Look at http://www.pageflakes.com/[^]. It's an innovative concept. You can choose something similar to that.
Gjm wrote: I need urgent help
This[^] should help you.
|
|
|
|